CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalL1TriggerObject.h
Go to the documentation of this file.
1 #ifndef HcalL1TriggerObject_h
2 #define HcalL1TriggerObject_h
3 
4 /*
5 \class HcalL1TriggerObject
6 \author Radek Ofierzynski
7 
8 */
9 
11 
12 #include <boost/cstdint.hpp>
13 
15 {
16  public:
18 
19  HcalL1TriggerObject(unsigned long fId, float fAvrgPed, float fRespCorrGain, unsigned long fFlag = 0):
20  mId(fId), mAvrgPed(fAvrgPed), mRespCorrGain(fRespCorrGain), mFlag(fFlag) {}
21 
22  uint32_t rawId () const {return mId;}
23 
24  float getPedestal() const {return mAvrgPed;}
25  float getRespGain() const {return mRespCorrGain;}
26  uint32_t getFlag() const {return mFlag;}
27 
28  private:
29  uint32_t mId;
30  float mAvrgPed;
32  uint32_t mFlag;
33 
34 
36 };
37 
38 #endif
uint32_t getFlag() const
float getPedestal() const
float getRespGain() const
uint32_t rawId() const
HcalL1TriggerObject(unsigned long fId, float fAvrgPed, float fRespCorrGain, unsigned long fFlag=0)