GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-5 > eds / rhel6-32
#include <EDS/EDA_cal.h>
Functions | |
int | EBF_calEnergyDirSum (int elayers[EDA_CAL_K_LAYERS_PER_LAT], const EBF_dir *dir, const ECR_cal *constants) |
Sums the energy in each struck CAL log in the LAT. | |
int | EBF_calEnergyEvtSum (int elayers[EDA_CAL_K_LAYERS_PER_LAT], int size, const EBF_evt *evt, const ECR_cal *constants) |
Sums the energy in each struck CAL log in the LAT. |
CVS $Id: EBF_calEnergy.h,v 1.3 2011/03/25 22:16:54 russell Exp $
int EBF_calEnergyDirSum | ( | int | elayers[EDA_CAL_K_LAYERS_PER_LAT], | |
const EBF_dir * | dir, | |||
const ECR_cal * | constants | |||
) |
Sums the energy in each struck CAL log in the LAT.
elayers | Array filled in with the layer-by-layer energy sum | |
dir | The event directory | |
constants | The array of gains and pedestals for the CAL |
References _EBF_esw::bf, _EBF_dirCtbDsc::ctb, _EBF_dir::ctbs, _EBF_dirRedux::ctids, EBF__dirCtbCalLocate(), EBF_DIR_TEMS_CAL, _EBF_ctbHdr::esw, _EBF_ctb::hdr, _EBF_esw_bf::range, _EBF_dir::redux, sumTower(), sumTower4(), and _ECR_cal::twrs.
int EBF_calEnergyEvtSum | ( | int | elayers[EDA_CAL_K_LAYERS_PER_LAT], | |
int | nbytes, | |||
const EBF_evt * | evt, | |||
const ECR_cal * | constants | |||
) |
Sums the energy in each struck CAL log in the LAT.
elayers | Array filled in with the layer-by-layer energy sum | |
nbytes | The size, in bytes, of the event | |
evt | Pointer to the event | |
constants | The array of gains and pedestals for the CAL |
References _EBF_CID_IS_TEM, _EBF_esw::bf, _EBF_ebw::bf, _EBF_evt::ctb, _EBF_ctb::dat, EBF__ctbAdvance(), EBF_CID_K_TEM, EBF_EBW_LEN_TO_BYTES, _EBF_ctbHdr::ebw, _EBF_ctbHdr::esw, _EBF_ctb::hdr, _EBF_esw_bf::range, sumTower(), sumTower4(), _ECR_cal::twrs, and _EBF_ebw::ui.