00001 #ifndef INICALIB_H 00002 #define INICALIB_H 00003 00004 #include "CalibBase.h" 00005 00006 #include "TObjArray.h" 00007 #include "TFile.h" 00008 #include "TH1F.h" 00009 #include "TH1D.h" 00010 00011 class IniCalib: public CalibBase { 00012 public: 00013 IniCalib(); 00014 ~IniCalib(); 00015 void init(TObjArray* hlist, MdcCosGeom* pGeom); 00016 void mergeHist(TFile* fhist); 00017 void calib(MdcCalibConst* calconst, TObjArray* newXtList, TObjArray* r2tList); 00018 00019 private: 00020 void renameHist(); 00021 static Double_t funTmin(Double_t* x, Double_t* par); 00022 static Double_t funTmax(Double_t* x, Double_t* par); 00023 00024 MdcCosGeom* m_pGeom; 00025 00026 TFolder* m_fdcom; 00027 TFolder* m_fdTmap; 00028 TFolder* m_fdTraw; 00029 TFolder* m_fdTrawCel; 00030 TFolder* m_fdTrawTes; 00031 00032 TFolder* m_fdQmap; 00033 TFolder* m_fdQraw; 00034 TFolder* m_fdQrawCel; 00035 00036 TH1F* m_hLayerHitmapT; 00037 TH1F* m_hWireHitMapT; 00038 00039 TH1F* m_hLayerHitmapQ; 00040 TH1F* m_hWireHitMapQ; 00041 00042 TH1F* m_hTesAll; 00043 TH1F* m_hTesCal; 00044 TH1F* m_hTesFlag; 00045 00046 TH1F* m_hlaymapT[NLAYER]; 00047 TH1F* m_htdc[NLAYER]; 00048 TH1F* m_htraw[NLAYER]; 00049 TH1F* m_htrawCel[NWIRE]; 00050 00051 TH1F* m_hlaymapQ[NLAYER]; 00052 TH1F* m_hqraw[NLAYER]; 00053 TH1F* m_hqrawCel[NWIRE]; 00054 }; 00055 00056 #endif /* INICALIB_H */