CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/SimDataFormats/CaloTest/interface/HcalTestNumbering.h

Go to the documentation of this file.
00001 #ifndef SimDataFormats_HcalTestNumbering_h
00002 #define SimDataFormats_HcalTestNumbering_h
00003 
00004 // File: HcalTestNumbering.h
00005 // Description: Numbering scheme for hadron calorimeter (detailed for TB)
00007 
00008 #include <boost/cstdint.hpp>
00009 
00010 class HcalTestNumbering {
00011 
00012 public:
00013   HcalTestNumbering() {}
00014   virtual ~HcalTestNumbering() {}
00015   static uint32_t  packHcalIndex(int det, int z, int depth, int eta, 
00016                                  int phi, int lay);
00017   static void      unpackHcalIndex(const uint32_t & idx, int& det, int& z, 
00018                                    int& depth, int& eta, int& phi, int& lay);
00019 };
00020 
00021 #endif