CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)