GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EDS / V2-10-0

Constituent: eds     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

EBF_calEnergy.h File Reference

Interface to sum the total energy in the CAL. More...

#include "EDS/EDA_cal.h"

Include dependency graph for EBF_calEnergy.h:

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


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.

Detailed Description

Interface to sum the total energy in the CAL.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: EBF_calEnergy.h,v 1.2 2005/10/13 22:00:52 russell Exp $

Function Documentation

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.

Parameters:
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
Returns:
The amount the total energy in the LAT in LEUs

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.

Parameters:
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
Returns:
The total energy in the calorimeter


Generated on Sat Jun 20 01:25:28 2009 by  doxygen 1.5.3