#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 153 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 162 of file ZdcNumberingScheme.cc.
References mps_fire::i, cuy::ii, and personalPlayback::level.
|
virtual |
Definition at line 26 of file ZdcNumberingScheme.cc.
References gather_cfg::cout, detectorLevel(), HcalZDCDetId::EM, HcalZDCDetId::HAD, personalPlayback::level, HcalZDCDetId::LUM, Skims_PA_cff::name, packZdcIndex(), DetId::rawId(), trackingPlots::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 122 of file ZdcNumberingScheme.cc.
References gather_cfg::cout, training_settings::idx, and unpackZdcIndex().
Referenced by getUnitID().
void ZdcNumberingScheme::setVerbosity | ( | const int | iv | ) |
|
static |
Definition at line 139 of file ZdcNumberingScheme.cc.
References gather_cfg::cout.
Referenced by packZdcIndex(), and ZdcTestAnalysis::update().
|
private |
Definition at line 35 of file ZdcNumberingScheme.h.
Referenced by setVerbosity(), ZdcNumberingScheme(), and ~ZdcNumberingScheme().