#include <ZdcNumberingScheme.h>
Public Member Functions | |
int | detectorLevel (const G4Step *) const |
void | detectorLevel (const G4Step *, int &, int *, G4String *) const |
virtual unsigned int | getUnitID (const G4Step *aStep) const |
void | setVerbosity (const int) |
ZdcNumberingScheme (int) | |
virtual | ~ZdcNumberingScheme () |
Static Public Member Functions | |
static unsigned int | packZdcIndex (int subDet, int layer, int fiber, int channel, int z) |
static void | unpackZdcIndex (const unsigned int &idx, int &subDet, int &layer, int &fiber, int &channel, int &z) |
Private Attributes | |
int | verbosity |
Definition at line 13 of file ZdcNumberingScheme.h.
ZdcNumberingScheme::ZdcNumberingScheme | ( | int | iv | ) |
|
virtual |
int ZdcNumberingScheme::detectorLevel | ( | const G4Step * | aStep | ) | const |
Definition at line 156 of file ZdcNumberingScheme.cc.
References personalPlayback::level.
Referenced by getUnitID().
void ZdcNumberingScheme::detectorLevel | ( | const G4Step * | aStep, |
int & | level, | ||
int * | copyno, | ||
G4String * | name | ||
) | const |
Definition at line 165 of file ZdcNumberingScheme.cc.
References ForwardName::getName(), mps_fire::i, cuy::ii, personalPlayback::level, and Skims_PA_cff::name.
|
virtual |
Definition at line 29 of file ZdcNumberingScheme.cc.
References TauDecayModes::dec, detectorLevel(), HcalZDCDetId::EM, HcalZDCDetId::HAD, pixelTopology::layer, personalPlayback::level, HcalZDCDetId::LUM, Skims_PA_cff::name, packZdcIndex(), DetId::rawId(), hgcalPlots::section, HcalZDCDetId::Unknown, and ecaldqm::zside().
|
static |
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 125 of file ZdcNumberingScheme.cc.
References TauDecayModes::dec, heavyIonCSV_trainingSettings::idx, pixelTopology::layer, hgcalPlots::section, unpackZdcIndex(), and z.
Referenced by getUnitID().
void ZdcNumberingScheme::setVerbosity | ( | const int | iv | ) |
|
static |
Definition at line 142 of file ZdcNumberingScheme.cc.
References heavyIonCSV_trainingSettings::idx, pixelTopology::layer, hgcalPlots::section, and z.
Referenced by packZdcIndex(), and ZdcTestAnalysis::update().
|
private |
Definition at line 35 of file ZdcNumberingScheme.h.
Referenced by setVerbosity(), ZdcNumberingScheme(), and ~ZdcNumberingScheme().