1 #ifndef CBMRICHMIRRORSORTINGALIGNMENT_H
2 #define CBMRICHMIRRORSORTINGALIGNMENT_H
8 #include "TGeoNavigator.h"
36 virtual InitStatus Init();
41 virtual void Exec(Option_t* option);
45 void GetPmtNormal(Int_t NofPMTPoints,
46 vector<Double_t>& normalPMT,
47 Double_t& normalCste);
49 void ComputeR2(vector<Double_t>& ptR2Center,
50 vector<Double_t>& ptR2Mirr,
53 vector<Double_t> ptR1,
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);
64 void CreateHistoMap(std::map<
string, vector<CbmRichMirror*>> mirrorMap,
65 std::map<string, TH2D*>& histoMap);
67 void DrawFitAndExtractAngles(std::map<
string, vector<Double_t>>& anglesMap,
68 std::map<string, TH2D*> histoMap);
79 virtual void Finish();