/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Mdc/MdcCalibAlg/MdcCalibAlg-00-09-02/share/distcalib/src/include/PreXtCalib.h

Go to the documentation of this file.
00001 #ifndef PREXTCALIB_H
00002 #define PREXTCALIB_H
00003 
00004 #include "CalibBase.h"
00005 
00006 #include "TObjArray.h"
00007 #include "TFile.h"
00008 #include "TH1F.h"
00009 #include "TH2F.h"
00010 #include "TGraph.h"
00011 
00012 class PreXtCalib: public CalibBase {
00013 public:
00014      PreXtCalib();
00015      ~PreXtCalib();
00016      void init(TObjArray* hlist, MdcCosGeom* pGeom);
00017      void mergeHist(TFile* fhist);
00018      void calib(MdcCalibConst* calconst, TObjArray* newXtList, TObjArray* r2tList);
00019 
00020 private:
00021      void renameHist();
00022      static Double_t xtfun(Double_t *x, Double_t *par);
00023 
00024      static const int NPreXtBin = 40;
00025 
00026      MdcCosGeom* m_pGeom;
00027      TFolder* m_fdPreXt;
00028      TFolder* m_fdNhit;
00029      TGraph* m_grXt[NLAYER];
00030      TH2F* m_haxis;
00031      TH1F* m_htrec[NLAYER];
00032      TH1F* m_nhitBin[NLAYER];
00033      TH1F* m_nhitTot;
00034 
00035      double m_tbin[NPreXtBin];
00036 };
00037 
00038 #endif /* PREXTCALIB_H */

Generated on Tue Nov 29 23:12:49 2016 for BOSS_7.0.2 by  doxygen 1.4.7