CMS 3D CMS Logo

HcalSiPMParameter.h
Go to the documentation of this file.
1 #ifndef CondFormatsHcalObjectsHcalSiPMParameter_h
2 #define CondFormatsHcalObjectsHcalSiPMParameter_h
3 
5 #include <cstdint>
6 
8 public:
10  int getType() const { return type_; }
12  float getFCByPE() const { return fcByPE_; }
14  float getDarkCurrent() const { return darkCurrent_; }
15 
16  // functions below are not supposed to be used by consumer applications
17 
19 
20  HcalSiPMParameter(unsigned long fId, int type, float fcByPE, float darkCurrent, int auxi1 = 0, float auxi2 = 0)
21  : id_(fId), type_(type), fcByPE_(fcByPE), darkCurrent_(darkCurrent), auxi1_(auxi1), auxi2_(auxi2) {}
22 
23  uint32_t rawId() const { return id_; }
24  int getauxi1() const { return auxi1_; }
25  float getauxi2() const { return auxi2_; }
26 
27 private:
28  uint32_t id_;
29  int type_;
30  float fcByPE_;
31  float darkCurrent_;
32  int auxi1_;
33  float auxi2_;
34 
36 };
37 
38 #endif
uint32_t rawId() const
float getFCByPE() const
get fcByPE
float getDarkCurrent() const
get dark current
float getauxi2() const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
int getType() const
get SiPM type
HcalSiPMParameter(unsigned long fId, int type, float fcByPE, float darkCurrent, int auxi1=0, float auxi2=0)