CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CondFormats/HcalObjects/interface/HcalL1TriggerObject.h

Go to the documentation of this file.
00001 #ifndef HcalL1TriggerObject_h
00002 #define HcalL1TriggerObject_h
00003 
00004 /*
00005 \class HcalL1TriggerObject
00006 \author Radek Ofierzynski
00007 
00008 */
00009 
00010 #include <boost/cstdint.hpp>
00011 
00012 class HcalL1TriggerObject 
00013 {
00014  public:
00015   HcalL1TriggerObject():mId(0), mAvrgPed(0.), mRespCorrGain(0.), mFlag(0) {}
00016   
00017   HcalL1TriggerObject(unsigned long fId, float fAvrgPed, float fRespCorrGain, unsigned long fFlag = 0):
00018     mId(fId), mAvrgPed(fAvrgPed), mRespCorrGain(fRespCorrGain), mFlag(fFlag) {}
00019   
00020   uint32_t rawId () const {return mId;}
00021 
00022   float getPedestal() const {return mAvrgPed;}
00023   float getRespGain() const {return mRespCorrGain;}
00024   uint32_t getFlag() const {return mFlag;}
00025 
00026  private:
00027   uint32_t mId;
00028   float mAvrgPed;
00029   float mRespCorrGain;
00030   uint32_t mFlag;
00031 
00032 };
00033 
00034 #endif