CMS 3D CMS Logo

HcalTestNumbering.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_HcalTestNumbering_h
2 #define SimDataFormats_HcalTestNumbering_h
3 // File: HcalTestNumbering.h
5 // Description: Numbering scheme for hadron calorimeter (detailed for TB)
7 
8 #include <cstdint>
9 
11 public:
13  virtual ~HcalTestNumbering() {}
14  static uint32_t packHcalIndex(int det, int z, int depth, int eta, int phi, int lay);
15  static void unpackHcalIndex(const uint32_t& idx, int& det, int& z, int& depth, int& eta, int& phi, int& lay);
16 };
17 
18 #endif
static uint32_t packHcalIndex(int det, int z, int depth, int eta, int phi, int lay)
virtual ~HcalTestNumbering()
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)