#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 testEve_cfg::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, and testEve_cfg::level.
|
virtual |
Definition at line 29 of file ZdcNumberingScheme.cc.
References TauDecayModes::dec, detectorLevel(), HcalZDCDetId::EM, HcalZDCDetId::HAD, phase1PixelTopology::layer, testEve_cfg::level, HcalZDCDetId::LUM, mergeVDriftHistosByStation::name, packZdcIndex(), DetId::rawId(), vertexPlots::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, and unpackZdcIndex().
Referenced by getUnitID().
void ZdcNumberingScheme::setVerbosity | ( | const int | iv | ) |
|
static |
Definition at line 142 of file ZdcNumberingScheme.cc.
References z.
Referenced by packZdcIndex(), and ZdcTestAnalysis::update().
|
private |
Definition at line 35 of file ZdcNumberingScheme.h.
Referenced by setVerbosity(), ZdcNumberingScheme(), and ~ZdcNumberingScheme().