CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalMCParam.h
Go to the documentation of this file.
1 #ifndef HcalMCParam_h
2 #define HcalMCParam_h
3 
10 #include <boost/cstdint.hpp>
11 
12 // definition 8.Feb.2011
13 // MC signal shape integer variable assigned to each readout this way:
14 // 0 - regular HPD HB/HE/HO shape
15 // 1 - "special" HB shape
16 // 2 - SiPMs shape (HO, possibly also in HB/HE)
17 // 3 - HF Shape
18 // 4 - ZDC shape
19 
20 
21 class HcalMCParam {
22  public:
24 
25  HcalMCParam(unsigned long fId, unsigned int fSignalShape):
26  mId(fId), mSignalShape(fSignalShape) {}
27 
28  uint32_t rawId () const {return mId;}
29 
30  unsigned int signalShape() const {return mSignalShape;}
31 
32  private:
33  uint32_t mId;
34  uint32_t mSignalShape;
35 };
36 
37 #endif
HcalMCParam(unsigned long fId, unsigned int fSignalShape)
Definition: HcalMCParam.h:25
uint32_t mSignalShape
Definition: HcalMCParam.h:34
uint32_t rawId() const
Definition: HcalMCParam.h:28
unsigned int signalShape() const
Definition: HcalMCParam.h:30
uint32_t mId
Definition: HcalMCParam.h:33