CMS 3D CMS Logo

HcalPedestalWidth.h
Go to the documentation of this file.
1 #ifndef HcalPedestalWidth_h
2 #define HcalPedestalWidth_h
3 
13 #include <cstdint>
14 
16 public:
18  const float* getValues() const { return &mSigma00; }
19 
21  float getWidth(int fCapId) const;
22 
24  float getSigma(int fCapId1, int fCapId2) const;
25 
26  // functions below are not supposed to be used by consumer applications
27  HcalPedestalWidth(int fId = 0);
28  void setSigma(int fCapId1, int fCapId2, float fSigma);
29 
30  uint32_t rawId() const { return mId; }
31 
32 private:
33  uint32_t mId;
34  float mSigma00;
35  float mSigma01;
36  float mSigma02;
37  float mSigma03;
38  float mSigma10;
39  float mSigma11;
40  float mSigma12;
41  float mSigma13;
42  float mSigma20;
43  float mSigma21;
44  float mSigma22;
45  float mSigma23;
46  float mSigma30;
47  float mSigma31;
48  float mSigma32;
49  float mSigma33;
50 
52 };
53 
54 #endif
HcalPedestalWidth::mSigma23
float mSigma23
Definition: HcalPedestalWidth.h:45
HcalPedestalWidth::mSigma22
float mSigma22
Definition: HcalPedestalWidth.h:44
HcalPedestalWidth::mSigma13
float mSigma13
Definition: HcalPedestalWidth.h:41
HcalPedestalWidth::HcalPedestalWidth
HcalPedestalWidth(int fId=0)
Definition: HcalPedestalWidth.cc:26
HcalPedestalWidth::setSigma
void setSigma(int fCapId1, int fCapId2, float fSigma)
Definition: HcalPedestalWidth.cc:35
HcalPedestalWidth::mSigma10
float mSigma10
Definition: HcalPedestalWidth.h:38
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
HcalPedestalWidth::mSigma02
float mSigma02
Definition: HcalPedestalWidth.h:36
HcalPedestalWidth::mSigma03
float mSigma03
Definition: HcalPedestalWidth.h:37
HcalPedestalWidth::getSigma
float getSigma(int fCapId1, int fCapId2) const
get correlation element for capId1/2 = 0..3
Definition: HcalPedestalWidth.cc:33
HcalPedestalWidth::mSigma30
float mSigma30
Definition: HcalPedestalWidth.h:46
HcalPedestalWidth::mSigma12
float mSigma12
Definition: HcalPedestalWidth.h:40
HcalPedestalWidth::mSigma20
float mSigma20
Definition: HcalPedestalWidth.h:42
HcalPedestalWidth::mSigma21
float mSigma21
Definition: HcalPedestalWidth.h:43
Serializable.h
HcalPedestalWidth::mSigma32
float mSigma32
Definition: HcalPedestalWidth.h:48
HcalPedestalWidth::mSigma31
float mSigma31
Definition: HcalPedestalWidth.h:47
HcalPedestalWidth::getValues
const float * getValues() const
get value for all capId = 0..3, 10 values in total
Definition: HcalPedestalWidth.h:18
HcalPedestalWidth::mSigma01
float mSigma01
Definition: HcalPedestalWidth.h:35
HcalPedestalWidth::mId
uint32_t mId
Definition: HcalPedestalWidth.h:33
HcalPedestalWidth::rawId
uint32_t rawId() const
Definition: HcalPedestalWidth.h:30
HcalPedestalWidth::getWidth
float getWidth(int fCapId) const
get width (sqrt(sigma_i_i)) for capId = 0..3
Definition: HcalPedestalWidth.cc:31
HcalPedestalWidth::mSigma00
float mSigma00
Definition: HcalPedestalWidth.h:34
HcalPedestalWidth
Definition: HcalPedestalWidth.h:15
HcalPedestalWidth::mSigma33
float mSigma33
Definition: HcalPedestalWidth.h:49
HcalPedestalWidth::mSigma11
float mSigma11
Definition: HcalPedestalWidth.h:39