GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-5 > eds / rhel6-64
Functions | |
int | EDR_calUnpack (EDR_cal *clr, const EBF_dir *dir, const ECR_cal *constants) |
Unpacks the CAL data for the whole LAT. | |
int | EDR_calMapUnpack (EDR_cal *clr, const EBF_dir *dir) |
Unpacks the CAL data for the whole LAT. | |
int | EDR_calUnpackInit (EDR_cal *clr) |
One-time initialization an EDR_cal structure. | |
void | EDR_calUnpackReset (EDR_cal *clr) |
Resets the EDR_cal structure, preparing it for a new event. | |
int | EDR_calUnpackSizeof (void) |
Returns the size, in bytes, of a CAL LAT record. |
CVS $Id: EDR_calUnpack.h,v 1.4 2005/10/13 22:00:54 russell Exp $
Unpacks the CAL data for the whole LAT.
clr | The CAL LAT Record data structure to fill | |
dir | The directory structure for this event; used to locate the CAL data. |
References _EBF_dir::ctbs, _EBF_dirRedux::ctids, EBF_CID_K_TEM, EBF_DIR_TEMS_CAL, EDR_CAL_MAP_IS_VALID, EDR_CAL_VALID_M_MAP, _EBF_dirCtbDsc::logcnt, _EDR_cal::logCnt, mapTower(), mapTower4(), _EBF_dir::redux, _EBF_dirRedux::rng_ids, _EDR_cal::twrMap, _EDR_cal::twrs, and _EDR_cal::valid.
Unpacks the CAL data for the whole LAT.
clr | The CAL LAT Record data structure to fill | |
dir | The directory structure for this event; used to locate the CAL data. | |
constants | The CAL calibration constants (gains/pedestals) for this tower |
References _EBF_dir::ctbs, _EBF_dirRedux::ctids, EBF_CID_K_TEM, EBF_DIR_TEMS_CAL, EDR_CAL_MAP_ENERGY_ARE_VALID, EDR_CAL_VALID_M_ENERGY, EDR_CAL_VALID_M_MAP, _EDR_cal::energy, _EDR_cal::layerEnergies, _EDR_cal::logCnt, _EDR_cal::logEnds, _EBF_dir::redux, _EBF_dirRedux::rng_ids, _EDR_cal::twrMap, _ECR_cal::twrs, _EDR_cal::twrs, unpackTower(), unpackTower4(), and _EDR_cal::valid.
int EDR_calUnpackInit | ( | EDR_cal * | cal | ) |
One-time initialization an EDR_cal structure.
cal | The EDR_cal structure to initialize |
References _EDR_cal::valid.
Referenced by initIxbObjTbl().
void EDR_calUnpackReset | ( | EDR_cal * | cal | ) |
Resets the EDR_cal structure, preparing it for a new event.
cal | The EDR_cal structure to reset |
References _EDR_cal::valid.
Referenced by initIxbObjTbl().
int EDR_calUnpackSizeof | ( | void | ) |
Returns the size, in bytes, of a CAL LAT record.
After allocating an EDR_tkr structure, the structure should be initialized using EDR_calUnpackInit().