00001 #ifndef INICALIB_H 00002 #define INICALIB_H 00003 00004 #include "AlignBase.h" 00005 00006 #include "TObjArray.h" 00007 #include "TFile.h" 00008 #include "TH1F.h" 00009 #include "TH1D.h" 00010 #include "TGraph.h" 00011 00012 class ResiAlign: public AlignBase { 00013 public: 00014 ResiAlign(); 00015 ~ResiAlign(); 00016 void init(TObjArray* hlist, MdcCosGeom* pGeom); 00017 void mergeHist(TFile* fhist); 00018 void align(MdcAlignPar* alignPar); 00019 00020 private: 00021 void renameHist(); 00022 static Double_t funResi(Double_t* x, Double_t* par); 00023 00024 MdcCosGeom* m_pGeom; 00025 TH1F* m_hnTrk; 00026 TH1F* m_hnHit; 00027 TH1F* m_hlayHitmap; 00028 TH1F* m_hresAll; 00029 TH1F* m_hresInn; 00030 TH1F* m_hresStp; 00031 TH1F* m_hresOut; 00032 TH1F* m_hresLay[LAYERNMAX]; 00033 TGraph* m_gr[NEP]; 00034 TGraph* m_grSinPhi[NEP]; 00035 TGraph* m_grCosPhi[NEP]; 00036 Long64_t m_npoint[NEP]; 00037 }; 00038 00039 #endif /* RESIALIGN_H */