CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalSiPMParameter.h
Go to the documentation of this file.
1 #ifndef CondFormatsHcalObjectsHcalSiPMParameter_h
2 #define CondFormatsHcalObjectsHcalSiPMParameter_h
3 
5 #include <boost/cstdint.hpp>
6 
8 
9 public:
11  int getType() const {return type_;}
13  float getFCByPE() const {return fcByPE_;}
15  float getDarkCurrent() const {return darkCurrent_;}
16 
17  // functions below are not supposed to be used by consumer applications
18 
19  HcalSiPMParameter () : id_ (0), type_ (0), fcByPE_ (0), darkCurrent_ (0),
20  auxi1_(0), auxi2_(0) {}
21 
22  HcalSiPMParameter (unsigned long fId, int type, float fcByPE,
23  float darkCurrent, int auxi1=0, float auxi2=0) :
24  id_(fId), type_(type), fcByPE_(fcByPE), darkCurrent_(darkCurrent),
25  auxi1_(auxi1), auxi2_(auxi2) {}
26 
27  uint32_t rawId() const {return id_;}
28  int getauxi1() const {return auxi1_;}
29  float getauxi2() const {return auxi2_;}
30 
31 private:
32  uint32_t id_;
33  int type_;
34  float fcByPE_;
35  float darkCurrent_;
36  int auxi1_;
37  float auxi2_;
38 
40 };
41 
42 #endif
type
Definition: HCALResponse.h:21
float getauxi2() const
int getType() const
get SiPM type
float getDarkCurrent() const
get dark current
uint32_t rawId() const
int getauxi1() const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
float getFCByPE() const
get fcByPE
HcalSiPMParameter(unsigned long fId, int type, float fcByPE, float darkCurrent, int auxi1=0, float auxi2=0)