GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-10-2 > eds / linux-gcc


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"

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 Thu Sep 2 12:23:50 2010 by  doxygen 1.5.3