CbmRoot
CbmRichMirrorSortingAlignment Class Reference

#include <CbmRichMirrorSortingAlignment.h>

Inheritance diagram for CbmRichMirrorSortingAlignment:
[legend]
Collaboration diagram for CbmRichMirrorSortingAlignment:
[legend]

Public Member Functions

 CbmRichMirrorSortingAlignment ()
 
virtual ~CbmRichMirrorSortingAlignment ()
 
virtual InitStatus Init ()
 Inherited from FairTask. More...
 
virtual void Exec (Option_t *option)
 Inherited from FairTask. More...
 
void ComputeAngles ()
 
void GetPmtNormal (Int_t NofPMTPoints, vector< Double_t > &normalPMT, Double_t &normalCste)
 
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)
 
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)
 
void CreateHistoMap (std::map< string, vector< CbmRichMirror * >> mirrorMap, std::map< string, TH2D * > &histoMap)
 
void DrawFitAndExtractAngles (std::map< string, vector< Double_t >> &anglesMap, std::map< string, TH2D * > histoMap)
 
void setOutputDir (TString s)
 
void setStudyName (TString s)
 
void setThreshold (Int_t t)
 
virtual void Finish ()
 Inherited from FairTask. More...
 

Private Member Functions

 CbmRichMirrorSortingAlignment (const CbmRichMirrorSortingAlignment &)
 
CbmRichMirrorSortingAlignment operator= (const CbmRichMirrorSortingAlignment &)
 
 ClassDef (CbmRichMirrorSortingAlignment, 1)
 

Private Attributes

UInt_t fEventNb
 
CbmRichRingFitterCOPfCopFit
 
CbmRichRingFitterEllipseTaufTauFit
 
TString fOutputDir
 
TString fStudyName
 
Int_t fThreshold
 
std::map< string, vector< CbmRichMirror * > > fMirrorMap
 
TClonesArray * fGlobalTracks
 
TClonesArray * fRichRings
 
TClonesArray * fMCTracks
 
TClonesArray * fMirrorPoints
 
TClonesArray * fRefPlanePoints
 
TClonesArray * fPmtPoints
 
TClonesArray * fRichProjections
 
TClonesArray * fTrackParams
 
TClonesArray * fRichRingMatches
 
TClonesArray * fStsTrackMatches
 

Detailed Description

Definition at line 21 of file CbmRichMirrorSortingAlignment.h.

Constructor & Destructor Documentation

◆ CbmRichMirrorSortingAlignment() [1/2]

CbmRichMirrorSortingAlignment::CbmRichMirrorSortingAlignment ( )

Definition at line 36 of file CbmRichMirrorSortingAlignment.cxx.

◆ ~CbmRichMirrorSortingAlignment()

CbmRichMirrorSortingAlignment::~CbmRichMirrorSortingAlignment ( )
virtual

Definition at line 56 of file CbmRichMirrorSortingAlignment.cxx.

◆ CbmRichMirrorSortingAlignment() [2/2]

CbmRichMirrorSortingAlignment::CbmRichMirrorSortingAlignment ( const CbmRichMirrorSortingAlignment )
private

Member Function Documentation

◆ ClassDef()

CbmRichMirrorSortingAlignment::ClassDef ( CbmRichMirrorSortingAlignment  ,
 
)
private

◆ ComputeAngles()

void CbmRichMirrorSortingAlignment::ComputeAngles ( )

◆ ComputeP()

void CbmRichMirrorSortingAlignment::ComputeP ( vector< Double_t > &  ptPMirr,
vector< Double_t > &  ptPR2,
vector< Double_t >  normalPMT,
vector< Double_t >  ptM,
vector< Double_t >  ptR2Mirr,
Double_t  constantePMT 
)

Definition at line 519 of file CbmRichMirrorSortingAlignment.cxx.

Referenced by Exec().

◆ ComputeR2()

void CbmRichMirrorSortingAlignment::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 
)

Definition at line 404 of file CbmRichMirrorSortingAlignment.cxx.

References fOutputDir, i, x, y, and z2.

Referenced by Exec().

◆ CreateHistoMap()

◆ DrawFitAndExtractAngles()

void CbmRichMirrorSortingAlignment::DrawFitAndExtractAngles ( std::map< string, vector< Double_t >> &  anglesMap,
std::map< string, TH2D * >  histoMap 
)

Definition at line 631 of file CbmRichMirrorSortingAlignment.cxx.

References fOutputDir, fStudyName, and Cbm::SaveCanvasAsImage().

Referenced by Finish().

◆ Exec()

◆ Finish()

void CbmRichMirrorSortingAlignment::Finish ( )
virtual

Inherited from FairTask.

Definition at line 742 of file CbmRichMirrorSortingAlignment.cxx.

References CreateHistoMap(), DrawFitAndExtractAngles(), fMirrorMap, and fOutputDir.

◆ GetPmtNormal()

void CbmRichMirrorSortingAlignment::GetPmtNormal ( Int_t  NofPMTPoints,
vector< Double_t > &  normalPMT,
Double_t &  normalCste 
)

Definition at line 298 of file CbmRichMirrorSortingAlignment.cxx.

References fMCTracks, fPmtPoints, and CbmMCTrack::GetMotherId().

Referenced by Exec().

◆ Init()

InitStatus CbmRichMirrorSortingAlignment::Init ( )
virtual

◆ operator=()

CbmRichMirrorSortingAlignment CbmRichMirrorSortingAlignment::operator= ( const CbmRichMirrorSortingAlignment )
private

◆ setOutputDir()

void CbmRichMirrorSortingAlignment::setOutputDir ( TString  s)
inline

Definition at line 70 of file CbmRichMirrorSortingAlignment.h.

◆ setStudyName()

void CbmRichMirrorSortingAlignment::setStudyName ( TString  s)
inline

Definition at line 72 of file CbmRichMirrorSortingAlignment.h.

◆ setThreshold()

void CbmRichMirrorSortingAlignment::setThreshold ( Int_t  t)
inline

Definition at line 74 of file CbmRichMirrorSortingAlignment.h.

Member Data Documentation

◆ fCopFit

CbmRichRingFitterCOP* CbmRichMirrorSortingAlignment::fCopFit
private

Definition at line 84 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), and Init().

◆ fEventNb

UInt_t CbmRichMirrorSortingAlignment::fEventNb
private

Definition at line 83 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec().

◆ fGlobalTracks

TClonesArray* CbmRichMirrorSortingAlignment::fGlobalTracks
private

Definition at line 91 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), and Init().

◆ fMCTracks

TClonesArray* CbmRichMirrorSortingAlignment::fMCTracks
private

Definition at line 93 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), GetPmtNormal(), and Init().

◆ fMirrorMap

std::map<string, vector<CbmRichMirror*> > CbmRichMirrorSortingAlignment::fMirrorMap
private

Definition at line 89 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), and Finish().

◆ fMirrorPoints

TClonesArray* CbmRichMirrorSortingAlignment::fMirrorPoints
private

Definition at line 94 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), and Init().

◆ fOutputDir

TString CbmRichMirrorSortingAlignment::fOutputDir
private

Definition at line 86 of file CbmRichMirrorSortingAlignment.h.

Referenced by ComputeR2(), DrawFitAndExtractAngles(), and Finish().

◆ fPmtPoints

TClonesArray* CbmRichMirrorSortingAlignment::fPmtPoints
private

Definition at line 96 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), GetPmtNormal(), and Init().

◆ fRefPlanePoints

TClonesArray* CbmRichMirrorSortingAlignment::fRefPlanePoints
private

Definition at line 95 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), and Init().

◆ fRichProjections

TClonesArray* CbmRichMirrorSortingAlignment::fRichProjections
private

Definition at line 97 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), and Init().

◆ fRichRingMatches

TClonesArray* CbmRichMirrorSortingAlignment::fRichRingMatches
private

Definition at line 99 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), and Init().

◆ fRichRings

TClonesArray* CbmRichMirrorSortingAlignment::fRichRings
private

Definition at line 92 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), and Init().

◆ fStsTrackMatches

TClonesArray* CbmRichMirrorSortingAlignment::fStsTrackMatches
private

Definition at line 100 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), and Init().

◆ fStudyName

TString CbmRichMirrorSortingAlignment::fStudyName
private

Definition at line 87 of file CbmRichMirrorSortingAlignment.h.

Referenced by DrawFitAndExtractAngles().

◆ fTauFit

CbmRichRingFitterEllipseTau* CbmRichMirrorSortingAlignment::fTauFit
private

Definition at line 85 of file CbmRichMirrorSortingAlignment.h.

Referenced by Init().

◆ fThreshold

Int_t CbmRichMirrorSortingAlignment::fThreshold
private

Definition at line 88 of file CbmRichMirrorSortingAlignment.h.

Referenced by CreateHistoMap().

◆ fTrackParams

TClonesArray* CbmRichMirrorSortingAlignment::fTrackParams
private

Definition at line 98 of file CbmRichMirrorSortingAlignment.h.

Referenced by Exec(), and Init().


The documentation for this class was generated from the following files: