CMS 3D CMS Logo

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