CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/CondFormats/HcalObjects/interface/HcalCholeskyMatrix.h

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