CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CalibCalorimetry/EcalLaserAnalyzer/interface/TMCORLin.h

Go to the documentation of this file.
00001 #ifndef TMCORLin_H
00002 #define TMCORLin_H
00003 
00004 #include "TObject.h"
00005 
00006 class TMCORLin: public TObject 
00007 {
00008 
00009  private:
00010         
00011   int smin;
00012   float pn_par0[36][2][10];
00013   float pn_par1[36][2][10];
00014   float pn_par2[36][2][10];
00015   float apd_par0[36][3][1700];
00016   float apd_par1[36][3][1700];
00017   float apd_par2[36][3][1700];
00018 
00019   int convert(int);
00020 
00021   void init();
00022   void loadConsts();
00023   void loadConsts(int,int);
00024 
00025  public:
00026   // Default Constructor, mainly for Root
00027   TMCORLin();
00028   TMCORLin(int);
00029 
00030   // Destructor: Does nothing
00031   virtual ~TMCORLin();
00032 
00033   double computeCorlin_pn(int, int ,int ,double );
00034   double computeCorlin_apd(int, int ,int ,double );
00035 
00036   //  ClassDef(TMCORLin,1)
00037 };
00038 
00039 #endif
00040