CMS 3D CMS Logo

HcalTestNumberingScheme.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HcalTestNumberingScheme_h
2 #define SimG4CMS_HcalTestNumberingScheme_h
3 // File: HcalTestNumberingScheme.h
5 // Description: Numbering scheme for hadron calorimeter (detailed for TB)
7 
10 
12 public:
13  HcalTestNumberingScheme(bool forTB);
14  ~HcalTestNumberingScheme() override;
15  uint32_t getUnitID(const HcalNumberingFromDDD::HcalID& id) override;
16  static uint32_t packHcalIndex(int det, int z, int depth, int eta, int phi, int lay);
17  static void unpackHcalIndex(const uint32_t& idx, int& det, int& z, int& depth, int& eta, int& phi, int& lay);
18 
19 private:
20  HcalTestNumberingScheme() = delete;
21 
22  bool forTBH2;
23 };
24 
25 #endif
HcalTestNumberingScheme::getUnitID
uint32_t getUnitID(const HcalNumberingFromDDD::HcalID &id) override
Definition: HcalTestNumberingScheme.cc:21
HcalNumberingFromDDD::HcalID
Definition: HcalNumberingFromDDD.h:21
HcalTestNumberingScheme::~HcalTestNumberingScheme
~HcalTestNumberingScheme() override
Definition: HcalTestNumberingScheme.cc:17
HcalTestNumbering.h
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
PVValHelper::eta
Definition: PVValidationHelpers.h:69
DDAxes::z
HcalNumberingScheme.h
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
HcalTestNumberingScheme
Definition: HcalTestNumberingScheme.h:11
HcalTestNumberingScheme::forTBH2
bool forTBH2
Definition: HcalTestNumberingScheme.h:22
HcalTestNumberingScheme::packHcalIndex
static uint32_t packHcalIndex(int det, int z, int depth, int eta, int phi, int lay)
Definition: HcalTestNumberingScheme.cc:47
HcalTestNumberingScheme::HcalTestNumberingScheme
HcalTestNumberingScheme()=delete
HcalNumberingScheme
Definition: HcalNumberingScheme.h:13
DDAxes::phi
HcalTestNumberingScheme::unpackHcalIndex
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)
Definition: HcalTestNumberingScheme.cc:51