#include <ZdcNumberingScheme.h>
Public Member Functions | |
int | detectorLevel (const G4Step *) |
void | detectorLevel (const G4Step *, int &, std::vector< int > &, std::vector< G4String > &) |
unsigned int | getUnitID (const G4Step *aStep) |
void | setVerbosity (const int) |
ZdcNumberingScheme (int) | |
~ZdcNumberingScheme ()=default | |
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 12 of file ZdcNumberingScheme.h.
ZdcNumberingScheme::ZdcNumberingScheme | ( | int | iv | ) |
Definition at line 15 of file ZdcNumberingScheme.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, and verbosity.
|
default |
int ZdcNumberingScheme::detectorLevel | ( | const G4Step * | aStep | ) |
Definition at line 144 of file ZdcNumberingScheme.cc.
References personalPlayback::level.
Referenced by getUnitID().
void ZdcNumberingScheme::detectorLevel | ( | const G4Step * | aStep, |
int & | level, | ||
std::vector< int > & | copyno, | ||
std::vector< G4String > & | name | ||
) |
Definition at line 153 of file ZdcNumberingScheme.cc.
References mps_fire::i, cuy::ii, personalPlayback::level, and Skims_PA_cff::name.
unsigned int ZdcNumberingScheme::getUnitID | ( | const G4Step * | aStep | ) |
Definition at line 23 of file ZdcNumberingScheme.cc.
References detectorLevel(), HcalZDCDetId::EM, HcalZDCDetId::HAD, nano_mu_digi_cff::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 113 of file ZdcNumberingScheme.cc.
References heavyIonCSV_trainingSettings::idx, nano_mu_digi_cff::layer, hgcalPlots::section, unpackZdcIndex(), and z.
Referenced by getUnitID().
void ZdcNumberingScheme::setVerbosity | ( | const int | iv | ) |
Definition at line 21 of file ZdcNumberingScheme.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, and verbosity.
|
static |
Definition at line 130 of file ZdcNumberingScheme.cc.
References heavyIonCSV_trainingSettings::idx, nano_mu_digi_cff::layer, hgcalPlots::section, and z.
Referenced by packZdcIndex(), and ZdcTestAnalysis::update().
|
private |
Definition at line 34 of file ZdcNumberingScheme.h.
Referenced by setVerbosity(), and ZdcNumberingScheme().