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 
13 
14 #include <boost/cstdint.hpp>
15 
17  public:
19  const float* getValues () const {return &mSigma00;}
20 
22  float getWidth (int fCapId) const;
23 
25  float getSigma (int fCapId1, int fCapId2) const;
26 
27  // functions below are not supposed to be used by consumer applications
28  HcalPedestalWidth (int fId = 0);
29  void setSigma (int fCapId1, int fCapId2, float fSigma);
30 
31  uint32_t rawId () const {return mId;}
32 
33  private:
34  uint32_t mId;
35  float mSigma00;
36  float mSigma01;
37  float mSigma02;
38  float mSigma03;
39  float mSigma10;
40  float mSigma11;
41  float mSigma12;
42  float mSigma13;
43  float mSigma20;
44  float mSigma21;
45  float mSigma22;
46  float mSigma23;
47  float mSigma30;
48  float mSigma31;
49  float mSigma32;
50  float mSigma33;
51 
53 };
54 
55 #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)