5#ifndef CBMRICHMIRRORSORTINGALIGNMENT_H
6#define CBMRICHMIRRORSORTINGALIGNMENT_H
12#include "TGeoNavigator.h"
40 virtual InitStatus
Init();
45 virtual void Exec(Option_t* option);
49 void GetPmtNormal(Int_t NofPMTPoints, vector<Double_t>& normalPMT, Double_t& normalCste);
51 void ComputeR2(vector<Double_t>& ptR2Center, vector<Double_t>& ptR2Mirr, vector<Double_t> ptM, vector<Double_t> ptC,
52 vector<Double_t> ptR1, TGeoNavigator* navi, TString s);
54 void ComputeP(vector<Double_t>& ptPMirr, vector<Double_t>& ptPR2, vector<Double_t> normalPMT, vector<Double_t> ptM,
55 vector<Double_t> ptR2Mirr, Double_t constantePMT);
57 void CreateHistoMap(std::map<
string, vector<CbmRichMirror*>> mirrorMap, std::map<string, TH2D*>& histoMap);
Here the ring is fitted with the COP algorithm from A. Ayriyan/G. Ososkov.
Here the ring is fitted with Taubin algorithm from A. Ayriyan, G. Ososkov, N. Chernov.
ClassDef(CbmRichMirrorSortingAlignment, 1)
TClonesArray * fRichRingMatches
TClonesArray * fGlobalTracks
TClonesArray * fRichProjections
CbmRichMirrorSortingAlignment()
virtual void Exec(Option_t *option)
Inherited from FairTask.
CbmRichRingFitterCOP * fCopFit
TClonesArray * fPmtPoints
TClonesArray * fRichRings
void setThreshold(Int_t t)
void setOutputDir(TString s)
void DrawFitAndExtractAngles(std::map< string, vector< Double_t > > &anglesMap, std::map< string, TH2D * > histoMap)
void GetPmtNormal(Int_t NofPMTPoints, vector< Double_t > &normalPMT, Double_t &normalCste)
void ComputeP(vector< Double_t > &ptPMirr, vector< Double_t > &ptPR2, vector< Double_t > normalPMT, vector< Double_t > ptM, vector< Double_t > ptR2Mirr, Double_t constantePMT)
virtual void Finish()
Inherited from FairTask.
void setStudyName(TString s)
void CreateHistoMap(std::map< string, vector< CbmRichMirror * > > mirrorMap, std::map< string, TH2D * > &histoMap)
CbmRichMirrorSortingAlignment(const CbmRichMirrorSortingAlignment &)
TClonesArray * fStsTrackMatches
TClonesArray * fMirrorPoints
std::map< string, vector< CbmRichMirror * > > fMirrorMap
TClonesArray * fTrackParams
virtual ~CbmRichMirrorSortingAlignment()
CbmRichRingFitterEllipseTau * fTauFit
virtual InitStatus Init()
Inherited from FairTask.
TClonesArray * fRefPlanePoints
CbmRichMirrorSortingAlignment operator=(const CbmRichMirrorSortingAlignment &)
void ComputeR2(vector< Double_t > &ptR2Center, vector< Double_t > &ptR2Mirr, vector< Double_t > ptM, vector< Double_t > ptC, vector< Double_t > ptR1, TGeoNavigator *navi, TString s)
Here the ring is fitted with the COP algorithm from A. Ayriyan/G. Ososkov.
Here the ring is fitted with Taubin algorithm from A. Ayriyan, G. Ososkov, N. Chernov.