Go to the documentation of this file.00001 #ifndef SimDataFormats_HcalTestNumbering_h
00002 #define SimDataFormats_HcalTestNumbering_h
00003
00004
00005
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