CMS 3D CMS Logo

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   // produces pedestal noise in assumption of near correlations and small variations
00032   void makeNoise (unsigned fFrames, const double* fGauss, double* fNoise) const;
00033 
00034  private:
00035   uint32_t mId;
00036   float mSigma00;
00037   float mSigma10;
00038   float mSigma11;
00039   float mSigma20;
00040   float mSigma21;
00041   float mSigma22;
00042   float mSigma30;
00043   float mSigma31;
00044   float mSigma32;
00045   float mSigma33;
00046 };
00047 
00048 #endif

Generated on Tue Jun 9 17:26:34 2009 for CMSSW by  doxygen 1.5.4