CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
13 public:
14  HcalTestNumberingScheme(bool forTB);
15  virtual ~HcalTestNumberingScheme();
16  virtual uint32_t getUnitID(const HcalNumberingFromDDD::HcalID id);
17  static uint32_t packHcalIndex(int det, int z, int depth, int eta,
18  int phi, int lay);
19  static void unpackHcalIndex(const uint32_t & idx, int& det, int& z,
20  int& depth, int& eta, int& phi, int& lay);
21 private:
22 
24 
25  bool forTBH2;
26 };
27 
28 #endif
T eta() const
float float float z
static uint32_t packHcalIndex(int det, int z, int depth, int eta, int phi, int lay)
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)
virtual uint32_t getUnitID(const HcalNumberingFromDDD::HcalID id)
Definition: DDAxes.h:10