CMS 3D CMS Logo

HcalTPChannelParameter.h
Go to the documentation of this file.
1 #ifndef CondFormatsHcalObjectsHcalTPChannelParameter_h
2 #define CondFormatsHcalObjectsHcalTPChannelParameter_h
3 
5 #include <boost/cstdint.hpp>
6 
8 
9 public:
11  uint32_t getMask() const {return mask_;}
13  uint32_t getFGBitInfo() const {return fgBitInfo_;}
15  uint32_t rawId() const {return id_;}
16  int getauxi1() const {return auxi1_;}
17  int getauxi2() const {return auxi2_;}
18 
19  // functions below are not supposed to be used by consumer applications
20 
22  auxi2_(0) {}
23 
24  HcalTPChannelParameter (uint32_t fId, uint32_t mask, uint32_t bitInfo,
25  int auxi1=0, int auxi2=0) : id_(fId), mask_(mask),
26  fgBitInfo_(bitInfo), auxi1_(auxi1), auxi2_(auxi2) {}
27 
28 
29 private:
30  uint32_t id_;
31  uint32_t mask_;
32  uint32_t fgBitInfo_;
33  int auxi1_;
34  int auxi2_;
35 
37 };
38 
39 #endif
HcalTPChannelParameter(uint32_t fId, uint32_t mask, uint32_t bitInfo, int auxi1=0, int auxi2=0)
#define COND_SERIALIZABLE
Definition: Serializable.h:38
uint32_t rawId() const
get Detector ID
uint32_t getFGBitInfo() const
get FG bit information
uint32_t getMask() const
get mask for channel validity and self trigger information