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 <boost/cstdint.hpp>
9 
11 
12 public:
14  virtual ~HcalTestNumbering() {}
15  static uint32_t packHcalIndex(int det, int z, int depth, int eta,
16  int phi, int lay);
17  static void unpackHcalIndex(const uint32_t & idx, int& det, int& z,
18  int& depth, int& eta, int& phi, int& lay);
19 };
20 
21 #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)