GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSEC / V5-0-0

Constituent: lsec     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

LSEC_ctx.h File Reference

Context data for charge injection calibration events. More...

#include "LSEC/enums.h"
#include "PBI/Endianness.h"
#include "LSF/LSF_ids.h"
#include "EDS/EBF_ctb.h"

Include dependency graph for LSEC_ctx.h:

This graph shows which files directly or indirectly include this file:


Data Structures

struct  LSEC_channel
 Channel masking used to collect these events. More...
struct  LSEC_acd
 ACD specific context. More...
struct  LSEC_cal
 Calorimeter specific context. More...
struct  LSEC_tkr
 Tracker specific context. More...
union  LSEC_specific
 Union of the context specific to each calibration mode. More...
struct  LSEC_global
 Context of the calibration common to all modes. More...
struct  LSEC_ctx
 Structure defining the calibration context. More...
struct  LSEC_summary
 Collection of the event builder words and event summary words from the contributors to an event. More...

Defines

#define LSEC_ID(_id)   (LSF_ID_K_LSEC | (_id))
 Macro applying the LSEC offset to an ID.

Enumerations

enum  {
  LSEC_ID_ETX_FULL = LSEC_ID (1),
  LSEC_ID_ETX_ABBREVIATED = LSEC_ID (2),
  LSEC_ID_TIM_FULL = LSEC_ID (3),
  LSEC_ID_TIM_ABBREVIATED = LSEC_ID (4),
  LSEC_ID_CALIB_ACD = LSEC_ID (8),
  LSEC_ID_CALIB_ACD_CTX = LSEC_ID (9),
  LSEC_ID_CALIB_ACD_EVT = LSEC_ID (10),
  LSEC_ID_CALIB_CAL = LSEC_ID (11),
  LSEC_ID_CALIB_CAL_CTX = LSEC_ID (12),
  LSEC_ID_CALIB_CAL_EVT = LSEC_ID (13),
  LSEC_ID_CALIB_TKR = LSEC_ID (14),
  LSEC_ID_CALIB_TKR_CTX = LSEC_ID (15),
  LSEC_ID_CALIB_TKR_EVT = LSEC_ID (16)
}
enum  {
  LSEC_MODE_NONE = 0,
  LSEC_MODE_ACD = 1,
  LSEC_MODE_CAL = 2,
  LSEC_MODE_TKR = 3
}
 Possible calibration modes.
enum  {
  LSEC_CHANNEL_SINGLE = 0,
  LSEC_CHANNEL_ALL = 1,
  LSEC_CHANNEL_PER_FE = 2,
  LSEC_CHANNEL_LATC = 3
}
 Flags indicating the meaning of the associated channel number. More...

Functions

unsigned int LSEC_sizeofCtx32 (unsigned mode)
 Calculate the number of 32 bit words required to hold the configuration context for the current calibration mode.
unsigned int * LSEC_consignCtx (LSEC_ctx *ctx, unsigned int *buf)
 Copy the context information into the buffer.

Detailed Description

Context data for charge injection calibration events.

Author:
James Swain -- jswain@slac.stanford.edu

Enumeration Type Documentation

anonymous enum
 

Enumerator:
LSEC_ID_ETX_FULL  ID for LSEC full event context contribution, ie a LSE_etxFull
LSEC_ID_ETX_ABBREVIATED  ID for LSEC abbreviated event context contribution, ie a LSF_etxAbbreviated contribution
LSEC_ID_TIM_FULL  ID for LSEC full time contribution, ie a LSE_timFull
LSEC_ID_TIM_ABBREVIATED  ID for LSEP abbreviated time contribution, ie a LSE_timAbbreviated
LSEC_ID_CALIB_ACD  ID for ACD calibration datagrams
LSEC_ID_CALIB_ACD_CTX  ID for ACD calibration context contributions
LSEC_ID_CALIB_ACD_EVT  ID for ACD calibration event 0 records
LSEC_ID_CALIB_CAL  ID for CAL calibration datagrams
LSEC_ID_CALIB_CAL_CTX  ID for CAL calibration context contributions
LSEC_ID_CALIB_CAL_EVT  ID for CAL calibration event 0 records
LSEC_ID_CALIB_TKR  ID for TKR calibartion datagrams
LSEC_ID_CALIB_TKR_CTX  ID for TKR calibration context contributions
LSEC_ID_CALIB_TKR_EVT  ID for TKR calibration event 0 records

anonymous enum
 

Flags indicating the meaning of the associated channel number.

The exact meaning of these flags are subsystem dependant


Function Documentation

unsigned int* LSEC_consignCtx LSEC_ctx ctx,
unsigned int *  buf
 

Copy the context information into the buffer.

Parameters:
ctx Pointer to a context structure
buf Location to place the context
Returns:
Pointer to the next output location

unsigned int LSEC_sizeofCtx32 unsigned  mode  ) 
 

Calculate the number of 32 bit words required to hold the configuration context for the current calibration mode.

Parameters:
mode One of the LSEC_MODE IDs
Returns:
Number of 32 bit words required to hold the configuration context for the current calibration mode


Generated on Wed Mar 15 21:40:13 2006 by  doxygen 1.4.4