Go to the documentation of this file.00001
00002
00003
00004 #ifndef COMPAREMILLEPEDE_H
00005 #define COMPAREMILLEPEDE_H
00006
00007 class PlotMillePede;
00008
00009 class GFHistManager;
00010 class CompareMillePede
00011
00012 {
00013 public:
00014 CompareMillePede(const char *fileName1, const char *fileName2, Int_t iter1 = 2, Int_t iter2 = 2,
00015 Int_t hieraLevel = 0);
00016 virtual ~CompareMillePede();
00017
00018 void DrawPedeParam(Option_t *option = "", unsigned int nNonRigidParam = 12);
00019 void DrawPedeParamVsLocation(Option_t *option = "", unsigned int nNonRigidParam = 12);
00020
00021 void DrawParam(Option_t *option="");
00022 void DrawParamVsLocation(Option_t *option="");
00023 void DrawParamDeltaMis(Option_t *option="");
00024 void DrawParamDeltaMisVsLoc(Option_t *option="");
00025 void DrawNumHits(Option_t *opt="");
00026
00027 bool IsConsistent();
00028 TString DeltaPar(UInt_t iPar) const;
00029 TString DeltaParBySigma(UInt_t iPar, const PlotMillePede *sigmaSource) const;
00030 TString DeltaMisPar(UInt_t iPar) const;
00031 TString DeltaMisParBySigma(UInt_t iPar, const PlotMillePede *sigmaSource) const;
00032 TString DeltaPos(UInt_t iPos) const;
00033
00034 void AddIsFreeSel(TString &sel, const TString &option, UInt_t iPar) const;
00035
00036 void SetSubDetId(Int_t subDetId);
00037 void AddSubDetId(Int_t subDetId);
00038 void SetAlignableTypeId(Int_t alignableTypeId);
00039 void SetHieraLevel(Int_t hieraLevel);
00040 void AddAdditionalSel(const char *selection);
00041 void AddAdditionalSel(const TString &xyzrPhiNhit, Float_t min, Float_t max);
00042
00043 void ClearAdditionalSel ();
00044
00045
00046 TString TitleAdd() const;
00047
00048 PlotMillePede* GetPlotMillePede1() {return fPlotMp1;}
00049 PlotMillePede* GetPlotMillePede2() {return fPlotMp2;}
00050 GFHistManager* GetHistManager() { return fHistManager;}
00051
00052 static const unsigned int kNpar;
00053
00054 private:
00055 CompareMillePede() : fPlotMp1(0), fPlotMp2(0), fHistManager(0) {}
00056
00057 Int_t PrepareAdd(bool addPlots);
00058
00059 PlotMillePede *fPlotMp1;
00060 PlotMillePede *fPlotMp2;
00061
00062 GFHistManager *fHistManager;
00063 };
00064
00065 #endif