CbmRoot
CbmRichMirrorSortingCorrection Class Reference

#include <CbmRichMirrorSortingCorrection.h>

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

Public Member Functions

 CbmRichMirrorSortingCorrection ()
 
virtual ~CbmRichMirrorSortingCorrection ()
 
virtual InitStatus Init ()
 Inherited from FairTask. More...
 
void InitHistProjection ()
 
void InitHistoMap ()
 
virtual void Exec (Option_t *option)
 Inherited from FairTask. More...
 
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 option, TString mirrorTileName)
 
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 FillHistProjection (TVector3 outPosIdeal, TVector3 outPosUnCorr, TVector3 outPos, CbmRichRingLight ringLight, vector< Double_t > normalPMT, Double_t constantePMT, string str)
 
void DrawHistProjection ()
 
void DrawMap (Int_t strX, Int_t strY)
 
void FillRingTrackDistance ()
 
bool IsMcPrimaryElectron (const CbmMCTrack *mctrack)
 
void DrawRingTrackDistance (Int_t k)
 
void FillRingTrackDistanceCorr (const CbmRichRing *richRing, const FairTrackParam *pTrack, const CbmMCTrack *mcTrack)
 
void DrawRingTrackDistanceCorr ()
 
void DrawDistanceComp ()
 
void setOutputDir (TString s)
 
void setCorrectionTableDir (TString s)
 
void setStudyName (TString s)
 
void setThreshold (Int_t t)
 
virtual void Finish ()
 Inherited from FairTask. More...
 

Private Member Functions

 ClassDef (CbmRichMirrorSortingCorrection, 1)
 

Private Attributes

UInt_t fEventNb
 
CbmRichRingFitterCOPfCopFit
 
CbmRichRingFitterEllipseTaufTauFit
 
TString fOutputDir
 
TString fCorrectionTableDir
 
TString fStudyName
 
CbmHistManagerfHM
 
CbmHistManagerfHM2
 
std::map< string, TH1D * > fDiffHistoMap
 
Double_t fTrackCenterDistanceIdeal
 
Double_t fTrackCenterDistanceCorrected
 
Double_t fTrackCenterDistanceUncorrected
 
TString fCorrectionMatching
 
Int_t fThreshold
 
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 18 of file CbmRichMirrorSortingCorrection.h.

Constructor & Destructor Documentation

◆ CbmRichMirrorSortingCorrection()

CbmRichMirrorSortingCorrection::CbmRichMirrorSortingCorrection ( )

Definition at line 39 of file CbmRichMirrorSortingCorrection.cxx.

◆ ~CbmRichMirrorSortingCorrection()

CbmRichMirrorSortingCorrection::~CbmRichMirrorSortingCorrection ( )
virtual

Definition at line 66 of file CbmRichMirrorSortingCorrection.cxx.

Member Function Documentation

◆ ClassDef()

CbmRichMirrorSortingCorrection::ClassDef ( CbmRichMirrorSortingCorrection  ,
 
)
private

◆ ComputeP()

void CbmRichMirrorSortingCorrection::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 939 of file CbmRichMirrorSortingCorrection.cxx.

Referenced by Exec().

◆ ComputeR2()

void CbmRichMirrorSortingCorrection::ComputeR2 ( vector< Double_t > &  ptR2Center,
vector< Double_t > &  ptR2Mirr,
vector< Double_t >  ptM,
vector< Double_t >  ptC,
vector< Double_t >  ptR1,
TGeoNavigator *  navi,
TString  option,
TString  mirrorTileName 
)

Definition at line 780 of file CbmRichMirrorSortingCorrection.cxx.

References fCorrectionTableDir, x, y, and z2.

Referenced by Exec().

◆ DrawDistanceComp()

void CbmRichMirrorSortingCorrection::DrawDistanceComp ( )

◆ DrawHistProjection()

void CbmRichMirrorSortingCorrection::DrawHistProjection ( )

Definition at line 1186 of file CbmRichMirrorSortingCorrection.cxx.

References DrawMap(), and i.

◆ DrawMap()

void CbmRichMirrorSortingCorrection::DrawMap ( Int_t  strX,
Int_t  strY 
)

◆ DrawRingTrackDistance()

void CbmRichMirrorSortingCorrection::DrawRingTrackDistance ( Int_t  k)

◆ DrawRingTrackDistanceCorr()

void CbmRichMirrorSortingCorrection::DrawRingTrackDistanceCorr ( )

◆ Exec()

◆ FillHistProjection()

void CbmRichMirrorSortingCorrection::FillHistProjection ( TVector3  outPosIdeal,
TVector3  outPosUnCorr,
TVector3  outPos,
CbmRichRingLight  ringLight,
vector< Double_t >  normalPMT,
Double_t  constantePMT,
string  str 
)

◆ FillRingTrackDistance()

◆ FillRingTrackDistanceCorr()

void CbmRichMirrorSortingCorrection::FillRingTrackDistanceCorr ( const CbmRichRing richRing,
const FairTrackParam *  pTrack,
const CbmMCTrack mcTrack 
)

◆ Finish()

◆ GetPmtNormal()

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

Definition at line 674 of file CbmRichMirrorSortingCorrection.cxx.

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

Referenced by Exec().

◆ Init()

InitStatus CbmRichMirrorSortingCorrection::Init ( )
virtual

◆ InitHistoMap()

void CbmRichMirrorSortingCorrection::InitHistoMap ( )

◆ InitHistProjection()

void CbmRichMirrorSortingCorrection::InitHistProjection ( )

Definition at line 134 of file CbmRichMirrorSortingCorrection.cxx.

References CbmHistManager::Create1(), and fHM.

Referenced by Init().

◆ IsMcPrimaryElectron()

bool CbmRichMirrorSortingCorrection::IsMcPrimaryElectron ( const CbmMCTrack mctrack)

◆ setCorrectionTableDir()

void CbmRichMirrorSortingCorrection::setCorrectionTableDir ( TString  s)
inline

Definition at line 95 of file CbmRichMirrorSortingCorrection.h.

◆ setOutputDir()

void CbmRichMirrorSortingCorrection::setOutputDir ( TString  s)
inline

Definition at line 93 of file CbmRichMirrorSortingCorrection.h.

◆ setStudyName()

void CbmRichMirrorSortingCorrection::setStudyName ( TString  s)
inline

Definition at line 97 of file CbmRichMirrorSortingCorrection.h.

◆ setThreshold()

void CbmRichMirrorSortingCorrection::setThreshold ( Int_t  t)
inline

Definition at line 99 of file CbmRichMirrorSortingCorrection.h.

Member Data Documentation

◆ fCopFit

CbmRichRingFitterCOP* CbmRichMirrorSortingCorrection::fCopFit
private

Definition at line 109 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec(), and Init().

◆ fCorrectionMatching

TString CbmRichMirrorSortingCorrection::fCorrectionMatching
private

Definition at line 119 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec().

◆ fCorrectionTableDir

TString CbmRichMirrorSortingCorrection::fCorrectionTableDir
private

Definition at line 112 of file CbmRichMirrorSortingCorrection.h.

Referenced by ComputeR2().

◆ fDiffHistoMap

std::map<string, TH1D*> CbmRichMirrorSortingCorrection::fDiffHistoMap
private

Definition at line 115 of file CbmRichMirrorSortingCorrection.h.

Referenced by DrawMap(), FillHistProjection(), and InitHistoMap().

◆ fEventNb

UInt_t CbmRichMirrorSortingCorrection::fEventNb
private

Definition at line 108 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec(), and Finish().

◆ fGlobalTracks

TClonesArray* CbmRichMirrorSortingCorrection::fGlobalTracks
private

Definition at line 122 of file CbmRichMirrorSortingCorrection.h.

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

◆ fHM

◆ fHM2

CbmHistManager * CbmRichMirrorSortingCorrection::fHM2
private

Definition at line 114 of file CbmRichMirrorSortingCorrection.h.

◆ fMCTracks

TClonesArray* CbmRichMirrorSortingCorrection::fMCTracks
private

Definition at line 124 of file CbmRichMirrorSortingCorrection.h.

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

◆ fMirrorPoints

TClonesArray* CbmRichMirrorSortingCorrection::fMirrorPoints
private

Definition at line 125 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec(), and Init().

◆ fOutputDir

TString CbmRichMirrorSortingCorrection::fOutputDir
private

Definition at line 111 of file CbmRichMirrorSortingCorrection.h.

Referenced by DrawMap(), and Finish().

◆ fPmtPoints

TClonesArray* CbmRichMirrorSortingCorrection::fPmtPoints
private

Definition at line 127 of file CbmRichMirrorSortingCorrection.h.

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

◆ fRefPlanePoints

TClonesArray* CbmRichMirrorSortingCorrection::fRefPlanePoints
private

Definition at line 126 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec(), and Init().

◆ fRichProjections

TClonesArray* CbmRichMirrorSortingCorrection::fRichProjections
private

Definition at line 128 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec(), and Init().

◆ fRichRingMatches

TClonesArray* CbmRichMirrorSortingCorrection::fRichRingMatches
private

Definition at line 130 of file CbmRichMirrorSortingCorrection.h.

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

◆ fRichRings

TClonesArray* CbmRichMirrorSortingCorrection::fRichRings
private

Definition at line 123 of file CbmRichMirrorSortingCorrection.h.

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

◆ fStsTrackMatches

TClonesArray* CbmRichMirrorSortingCorrection::fStsTrackMatches
private

Definition at line 131 of file CbmRichMirrorSortingCorrection.h.

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

◆ fStudyName

TString CbmRichMirrorSortingCorrection::fStudyName
private

Definition at line 113 of file CbmRichMirrorSortingCorrection.h.

Referenced by DrawMap(), and Finish().

◆ fTauFit

CbmRichRingFitterEllipseTau* CbmRichMirrorSortingCorrection::fTauFit
private

Definition at line 110 of file CbmRichMirrorSortingCorrection.h.

Referenced by Init().

◆ fThreshold

Int_t CbmRichMirrorSortingCorrection::fThreshold
private

Definition at line 120 of file CbmRichMirrorSortingCorrection.h.

Referenced by DrawMap().

◆ fTrackCenterDistanceCorrected

Double_t CbmRichMirrorSortingCorrection::fTrackCenterDistanceCorrected
private

Definition at line 117 of file CbmRichMirrorSortingCorrection.h.

Referenced by FillHistProjection(), and Finish().

◆ fTrackCenterDistanceIdeal

Double_t CbmRichMirrorSortingCorrection::fTrackCenterDistanceIdeal
private

Definition at line 116 of file CbmRichMirrorSortingCorrection.h.

Referenced by FillHistProjection(), and Finish().

◆ fTrackCenterDistanceUncorrected

Double_t CbmRichMirrorSortingCorrection::fTrackCenterDistanceUncorrected
private

Definition at line 118 of file CbmRichMirrorSortingCorrection.h.

Referenced by FillHistProjection(), and Finish().

◆ fTrackParams

TClonesArray* CbmRichMirrorSortingCorrection::fTrackParams
private

Definition at line 129 of file CbmRichMirrorSortingCorrection.h.

Referenced by Init().


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