CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
const float * getValues() const
get value for all capId = 0..3, 10 values in total
float getSigma(int fCapId1, int fCapId2) const
get correlation element for capId1/2 = 0..3
uint32_t rawId() const
float getWidth(int fCapId) const
get width (sqrt(sigma_i_i)) for capId = 0..3
#define COND_SERIALIZABLE
Definition: Serializable.h:39
HcalPedestalWidth(int fId=0)
void setSigma(int fCapId1, int fCapId2, float fSigma)