CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalPedestalWidth.h
Go to the documentation of this file.
1 #ifndef HcalPedestalWidth_h
2 #define HcalPedestalWidth_h
3 
12 #include <boost/cstdint.hpp>
13 
15  public:
17  const float* getValues () const {return &mSigma00;}
18 
20  float getWidth (int fCapId) const;
21 
23  float getSigma (int fCapId1, int fCapId2) const;
24 
25  // functions below are not supposed to be used by consumer applications
26  HcalPedestalWidth (int fId = 0);
27  void setSigma (int fCapId1, int fCapId2, float fSigma);
28 
29  uint32_t rawId () const {return mId;}
30 
31  private:
32  uint32_t mId;
33  float mSigma00;
34  float mSigma01;
35  float mSigma02;
36  float mSigma03;
37  float mSigma10;
38  float mSigma11;
39  float mSigma12;
40  float mSigma13;
41  float mSigma20;
42  float mSigma21;
43  float mSigma22;
44  float mSigma23;
45  float mSigma30;
46  float mSigma31;
47  float mSigma32;
48  float mSigma33;
49 };
50 
51 #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
HcalPedestalWidth(int fId=0)
void setSigma(int fCapId1, int fCapId2, float fSigma)