1 #ifndef CBMRICHMIRRORSORTINGCORRECTION_H
2 #define CBMRICHMIRRORSORTINGCORRECTION_H
11 #include "FairTrackParam.h"
12 #include "TGeoNavigator.h"
33 virtual InitStatus Init();
35 void InitHistProjection();
42 virtual void Exec(Option_t* option);
44 void GetPmtNormal(Int_t NofPMTPoints,
45 vector<Double_t>& normalPMT,
46 Double_t& normalCste);
48 void ComputeR2(vector<Double_t>& ptR2Center,
49 vector<Double_t>& ptR2Mirr,
52 vector<Double_t> ptR1,
55 TString mirrorTileName);
57 void ComputeP(vector<Double_t>& ptPMirr,
58 vector<Double_t>& ptPR2,
59 vector<Double_t> normalPMT,
61 vector<Double_t> ptR2Mirr,
62 Double_t constantePMT);
67 void FillHistProjection(TVector3 outPosIdeal,
68 TVector3 outPosUnCorr,
71 vector<Double_t> normalPMT,
72 Double_t constantePMT,
75 void DrawHistProjection();
77 void DrawMap(Int_t strX, Int_t strY);
79 void FillRingTrackDistance();
81 bool IsMcPrimaryElectron(
const CbmMCTrack* mctrack);
83 void DrawRingTrackDistance(Int_t k);
85 void FillRingTrackDistanceCorr(
const CbmRichRing* richRing,
86 const FairTrackParam* pTrack,
91 void DrawDistanceComp();
104 virtual void Finish();