class AliEMCALGeoParams
class for holding various EMCAL basic parameters
- number of towers in each dimension per SuperModule
- info on LED Reference, TRU, Temperature sensors
and so on.
Also some simple conversion methods.
So far it serves as the catch-all to avoid magic numbers inside the code
This empty cxx file is just added to get the class/numbers into
the Utils library
Author: David Silvermyr (ORNL)
Function Members (Methods)
Data Members
public:
static const int | fgkEMCAL2x2PerTRU | number of 2x2's in a TRU |
static const int | fgkEMCALCols | number of columns per module for EMCAL |
static const int | fgkEMCALLEDRefs | number of LEDs (reference/monitors) per module for EMCAL; one per StripModule |
static const int | fgkEMCALModules | number of modules, 12 for EMCal + 8 for DCAL |
static const int | fgkEMCALRows | number of rows per module for EMCAL |
static const int | fgkEMCALSTUCols | STU columns |
static const int | fgkEMCALSTURows | STU rows |
static const int | fgkEMCALTRUCols | number of TRY cols |
static const int | fgkEMCALTRURows | number of TRU rows |
static const int | fgkEMCALTRUsPerSM | number of TRU's in a SuperModule |
static const int | fgkEMCALTempSensors | number Temperature sensors per module for EMCAL |
static const int | fgkLastAltroDDL | 0..23 (i.e. 24) for EMCAL; 24..39 (i.e. 16) allocated for DCAL |
static const int | fgkOverflowCut | saturation starts around here; also exist as private constant in AliEMCALRawUtils, should probably be replaced |
static const int | fgkSampleMax | highest possible sample value (10-bit = 0x3ff) |
static const int | fgkSampleMin | lowest possible sample value |
Class Charts
Function documentation
Int_t GetHWAddress(Int_t iBranch, Int_t iFEC, Int_t iALTRO, Int_t iChannel) const
RAW/AliCaloAltroMapping provides the correspondence information between
an electronics HWAddress (Branch<<1 | FEC<<7 | ALTRO<<4 | Channel)
for the RCUs and which tower (Column and Row) that corresponds to.
For the cases when one doesn't have a Raw stream to decode the HW address
into the other FEE indices, we provide the needed simple methods here
with arguments (within an RCU)
{ return ( (iBranch<<11) | (iFEC<<7) | (iALTRO<<4) | iChannel ); }
Int_t GetBranch(Int_t iHW) const
and for converting back to the individual indices
{ return ( (iHW>>11) & 0x1 ) ; }
Int_t GetCSPFromAddress(Int_t i) const
and for converting back to the individual indices
Branch and FEC methods would just be the same as above
{ return ( i & 0x1f ) ; }