CMS 3D CMS Logo

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 #include <cstdint>
12 
14 public:
16 
17  HcalL1TriggerObject(unsigned long fId, float fAvrgPed, float fRespCorrGain, unsigned long fFlag = 0)
18  : mId(fId), mAvrgPed(fAvrgPed), mRespCorrGain(fRespCorrGain), mFlag(fFlag) {}
19 
20  uint32_t rawId() const { return mId; }
21 
22  float getPedestal() const { return mAvrgPed; }
23  float getRespGain() const { return mRespCorrGain; }
24  uint32_t getFlag() const { return mFlag; }
25 
26 private:
27  uint32_t mId;
28  float mAvrgPed;
30  uint32_t mFlag;
31 
33 };
34 
35 #endif
HcalL1TriggerObject::rawId
uint32_t rawId() const
Definition: HcalL1TriggerObject.h:20
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
HcalL1TriggerObject::HcalL1TriggerObject
HcalL1TriggerObject(unsigned long fId, float fAvrgPed, float fRespCorrGain, unsigned long fFlag=0)
Definition: HcalL1TriggerObject.h:17
HcalL1TriggerObject::getRespGain
float getRespGain() const
Definition: HcalL1TriggerObject.h:23
HcalL1TriggerObject::mId
uint32_t mId
Definition: HcalL1TriggerObject.h:27
HcalL1TriggerObject::mFlag
uint32_t mFlag
Definition: HcalL1TriggerObject.h:30
HcalL1TriggerObject::getPedestal
float getPedestal() const
Definition: HcalL1TriggerObject.h:22
HcalL1TriggerObject::getFlag
uint32_t getFlag() const
Definition: HcalL1TriggerObject.h:24
HcalL1TriggerObject
Definition: HcalL1TriggerObject.h:13
HcalL1TriggerObject::HcalL1TriggerObject
HcalL1TriggerObject()
Definition: HcalL1TriggerObject.h:15
Serializable.h
HcalL1TriggerObject::mRespCorrGain
float mRespCorrGain
Definition: HcalL1TriggerObject.h:29
HcalL1TriggerObject::mAvrgPed
float mAvrgPed
Definition: HcalL1TriggerObject.h:28