CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CondFormats/HcalObjects/interface/HcalCovarianceMatrix.h

Go to the documentation of this file.
00001 #ifndef HcalCovarianceMatrix_h
00002 #define HcalCovarianceMatrix_h
00003 
00004 #include <boost/cstdint.hpp>
00005 #include "CondFormats/HcalObjects/interface/HcalPedestal.h"
00006 #include <math.h>
00007 
00008 class HcalCovarianceMatrix {
00009    public:
00010    HcalCovarianceMatrix(int fId=0);
00011  
00012    float getValue(int capid, int i,int j) const {return covariancematrix[capid][i][j];}
00013    void setValue(int capid, int i, int j, float val) {covariancematrix[capid][i][j] = val;}
00014 
00015    uint32_t rawId () const {return mId;}
00016 
00017    private:
00018    uint32_t mId;
00019    float covariancematrix[4][10][10];
00020 };
00021 #endif