#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 165 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 174 of file ZdcNumberingScheme.cc.
References i, cuy::ii, and testEve_cfg::level.
|
virtual |
Definition at line 27 of file ZdcNumberingScheme.cc.
References gather_cfg::cout, detectorLevel(), HcalZDCDetId::EM, HcalZDCDetId::HAD, getHLTprescales::index, testEve_cfg::level, HcalZDCDetId::LUM, mergeVDriftHistosByStation::name, packZdcIndex(), DetId::rawId(), and HcalZDCDetId::Unknown.
Referenced by ZdcSD::setDetUnitId().
|
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 130 of file ZdcNumberingScheme.cc.
References gather_cfg::cout, customizeTrackingMonitorSeedNumber::idx, and unpackZdcIndex().
Referenced by getUnitID().
void ZdcNumberingScheme::setVerbosity | ( | const int | iv | ) |
|
static |
Definition at line 149 of file ZdcNumberingScheme.cc.
References gather_cfg::cout.
Referenced by packZdcIndex(), and ZdcTestAnalysis::update().
|
private |
Definition at line 38 of file ZdcNumberingScheme.h.
Referenced by setVerbosity(), ZdcNumberingScheme(), and ~ZdcNumberingScheme().