#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 167 of file ZdcNumberingScheme.cc.
References hcalDigis_cfi::level.
Referenced by getUnitID().
void ZdcNumberingScheme::detectorLevel | ( | const G4Step * | aStep, |
int & | level, | ||
int * | copyno, | ||
G4String * | name | ||
) | const |
Definition at line 176 of file ZdcNumberingScheme.cc.
References mps_fire::i, cuy::ii, and hcalDigis_cfi::level.
|
virtual |
Definition at line 27 of file ZdcNumberingScheme.cc.
References gather_cfg::cout, detectorLevel(), HcalZDCDetId::EM, HcalZDCDetId::HAD, diffTreeTool::index, hcalDigis_cfi::level, HcalZDCDetId::LUM, dataset::name, packZdcIndex(), DetId::rawId(), vertexPlots::section, HcalZDCDetId::Unknown, and HcalDigiParam_cfi::zside.
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 132 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 151 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().