CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CondFormats/HcalObjects/interface/HcalMCParam.h

Go to the documentation of this file.
00001 #ifndef HcalMCParam_h
00002 #define HcalMCParam_h
00003 
00010 #include <boost/cstdint.hpp>
00011 
00012 // definition 8.Feb.2011
00013 // MC signal shape integer variable assigned to each readout this way:
00014 // 0 - regular HPD  HB/HE/HO shape
00015 // 1 - "special" HB shape
00016 // 2 - SiPMs shape (HO, possibly also in HB/HE)
00017 // 3 - HF Shape
00018 // 4 - ZDC shape 
00019 
00020 
00021 class HcalMCParam {
00022  public:
00023   HcalMCParam():mId(0), mSignalShape(0) {}
00024 
00025   HcalMCParam(unsigned long fId, unsigned int fSignalShape):
00026     mId(fId), mSignalShape(fSignalShape) {}
00027 
00028   uint32_t rawId () const {return mId;}
00029 
00030   unsigned int signalShape() const {return mSignalShape;}
00031 
00032  private:
00033   uint32_t mId;
00034   uint32_t mSignalShape;
00035 };
00036 
00037 #endif