CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/CondFormats/HcalObjects/interface/HcalPedestalWidth.h

Go to the documentation of this file.
00001 #ifndef HcalPedestalWidth_h
00002 #define HcalPedestalWidth_h
00003 
00012 #include <boost/cstdint.hpp>
00013 
00014 class HcalPedestalWidth {
00015  public:
00017   const float* getValues () const {return &mSigma00;}
00018 
00020   float getWidth (int fCapId) const;
00021 
00023   float getSigma (int fCapId1, int fCapId2) const;
00024 
00025   // functions below are not supposed to be used by consumer applications
00026   HcalPedestalWidth (int fId = 0);
00027   void setSigma (int fCapId1, int fCapId2, float fSigma);
00028 
00029   uint32_t rawId () const {return mId;}
00030 
00031  private:
00032   uint32_t mId;
00033   float mSigma00;
00034   float mSigma01;
00035   float mSigma02;
00036   float mSigma03;
00037   float mSigma10;
00038   float mSigma11;
00039   float mSigma12;
00040   float mSigma13;
00041   float mSigma20;
00042   float mSigma21;
00043   float mSigma22;
00044   float mSigma23;
00045   float mSigma30;
00046   float mSigma31;
00047   float mSigma32;
00048   float mSigma33;
00049 };
00050 
00051 #endif