Functions | |
unsigned int | getUnitID (const G4Step *aStep) |
unsigned int | packZdcIndex (int subDet, int layer, int fiber, int channel, int z) |
void | unpackZdcIndex (const unsigned int &idx, int &subDet, int &layer, int &fiber, int &channel, int &z) |
unsigned int ZdcNumberingScheme::getUnitID | ( | const G4Step * | aStep | ) |
Definition at line 42 of file ZdcNumberingScheme.cc.
References TauDecayModes::dec, HcalZDCDetId::EM, HcalZDCDetId::HAD, personalPlayback::level, HcalZDCDetId::LUM, Skims_PA_cff::name, packZdcIndex(), DetId::rawId(), hgcalPlots::section, HcalZDCDetId::Unknown, and ecaldqm::zside().
Referenced by ZdcSD::setDetUnitId().
unsigned ZdcNumberingScheme::packZdcIndex | ( | int | subDet, |
int | layer, | ||
int | fiber, | ||
int | channel, | ||
int | z | ||
) |
pack the Unit ID for Zdc
z = 1,2 = -z,+z; subDet = 1,2,3 = EM,Lum,HAD; fiber = 1-96 (EM,HAD), 1 (Lum); channel = 1-5 (EM), layer# (Lum), 1-3 (HAD)
Definition at line 135 of file ZdcNumberingScheme.cc.
References TauDecayModes::dec, heavyIonCSV_trainingSettings::idx, hgcalPlots::section, and unpackZdcIndex().
Referenced by getUnitID().
void ZdcNumberingScheme::unpackZdcIndex | ( | const unsigned int & | idx, |
int & | subDet, | ||
int & | layer, | ||
int & | fiber, | ||
int & | channel, | ||
int & | z | ||
) |
Definition at line 153 of file ZdcNumberingScheme.cc.
References heavyIonCSV_trainingSettings::idx, and hgcalPlots::section.
Referenced by packZdcIndex(), and ZdcTestAnalysis::update().