CbmRoot
Loading...
Searching...
No Matches
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.
 
void InitHistProjection ()
 
void InitHistoMap ()
 
virtual void Exec (Option_t *option)
 Inherited from FairTask.
 
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.
 

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 22 of file CbmRichMirrorSortingCorrection.h.

Constructor & Destructor Documentation

◆ CbmRichMirrorSortingCorrection()

CbmRichMirrorSortingCorrection::CbmRichMirrorSortingCorrection ( )

Definition at line 47 of file CbmRichMirrorSortingCorrection.cxx.

◆ ~CbmRichMirrorSortingCorrection()

CbmRichMirrorSortingCorrection::~CbmRichMirrorSortingCorrection ( )
virtual

Definition at line 76 of file CbmRichMirrorSortingCorrection.cxx.

Member Function Documentation

◆ ClassDef()

CbmRichMirrorSortingCorrection::ClassDef ( CbmRichMirrorSortingCorrection ,
1  )
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 751 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 610 of file CbmRichMirrorSortingCorrection.cxx.

References fCorrectionTableDir, x, and y.

Referenced by Exec().

◆ DrawDistanceComp()

void CbmRichMirrorSortingCorrection::DrawDistanceComp ( )

◆ DrawHistProjection()

void CbmRichMirrorSortingCorrection::DrawHistProjection ( )

Definition at line 963 of file CbmRichMirrorSortingCorrection.cxx.

References DrawMap().

◆ 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 520 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 143 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 80 of file CbmRichMirrorSortingCorrection.h.

References fCorrectionTableDir.

◆ setOutputDir()

void CbmRichMirrorSortingCorrection::setOutputDir ( TString s)
inline

Definition at line 78 of file CbmRichMirrorSortingCorrection.h.

References fOutputDir.

◆ setStudyName()

void CbmRichMirrorSortingCorrection::setStudyName ( TString s)
inline

Definition at line 82 of file CbmRichMirrorSortingCorrection.h.

References fStudyName.

◆ setThreshold()

void CbmRichMirrorSortingCorrection::setThreshold ( Int_t t)
inline

Definition at line 84 of file CbmRichMirrorSortingCorrection.h.

References fThreshold.

Member Data Documentation

◆ fCopFit

CbmRichRingFitterCOP* CbmRichMirrorSortingCorrection::fCopFit
private

Definition at line 94 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec(), and Init().

◆ fCorrectionMatching

TString CbmRichMirrorSortingCorrection::fCorrectionMatching
private

Definition at line 104 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec().

◆ fCorrectionTableDir

TString CbmRichMirrorSortingCorrection::fCorrectionTableDir
private

Definition at line 97 of file CbmRichMirrorSortingCorrection.h.

Referenced by ComputeR2(), and setCorrectionTableDir().

◆ fDiffHistoMap

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

Definition at line 100 of file CbmRichMirrorSortingCorrection.h.

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

◆ fEventNb

UInt_t CbmRichMirrorSortingCorrection::fEventNb
private

Definition at line 93 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec(), and Finish().

◆ fGlobalTracks

TClonesArray* CbmRichMirrorSortingCorrection::fGlobalTracks
private

Definition at line 107 of file CbmRichMirrorSortingCorrection.h.

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

◆ fHM

◆ fHM2

CbmHistManager * CbmRichMirrorSortingCorrection::fHM2
private

Definition at line 99 of file CbmRichMirrorSortingCorrection.h.

◆ fMCTracks

TClonesArray* CbmRichMirrorSortingCorrection::fMCTracks
private

Definition at line 109 of file CbmRichMirrorSortingCorrection.h.

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

◆ fMirrorPoints

TClonesArray* CbmRichMirrorSortingCorrection::fMirrorPoints
private

Definition at line 110 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec(), and Init().

◆ fOutputDir

TString CbmRichMirrorSortingCorrection::fOutputDir
private

Definition at line 96 of file CbmRichMirrorSortingCorrection.h.

Referenced by DrawMap(), Finish(), and setOutputDir().

◆ fPmtPoints

TClonesArray* CbmRichMirrorSortingCorrection::fPmtPoints
private

Definition at line 112 of file CbmRichMirrorSortingCorrection.h.

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

◆ fRefPlanePoints

TClonesArray* CbmRichMirrorSortingCorrection::fRefPlanePoints
private

Definition at line 111 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec(), and Init().

◆ fRichProjections

TClonesArray* CbmRichMirrorSortingCorrection::fRichProjections
private

Definition at line 113 of file CbmRichMirrorSortingCorrection.h.

Referenced by Exec(), and Init().

◆ fRichRingMatches

TClonesArray* CbmRichMirrorSortingCorrection::fRichRingMatches
private

Definition at line 115 of file CbmRichMirrorSortingCorrection.h.

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

◆ fRichRings

TClonesArray* CbmRichMirrorSortingCorrection::fRichRings
private

Definition at line 108 of file CbmRichMirrorSortingCorrection.h.

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

◆ fStsTrackMatches

TClonesArray* CbmRichMirrorSortingCorrection::fStsTrackMatches
private

Definition at line 116 of file CbmRichMirrorSortingCorrection.h.

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

◆ fStudyName

TString CbmRichMirrorSortingCorrection::fStudyName
private

Definition at line 98 of file CbmRichMirrorSortingCorrection.h.

Referenced by DrawMap(), Finish(), and setStudyName().

◆ fTauFit

CbmRichRingFitterEllipseTau* CbmRichMirrorSortingCorrection::fTauFit
private

Definition at line 95 of file CbmRichMirrorSortingCorrection.h.

Referenced by Init().

◆ fThreshold

Int_t CbmRichMirrorSortingCorrection::fThreshold
private

Definition at line 105 of file CbmRichMirrorSortingCorrection.h.

Referenced by DrawMap(), and setThreshold().

◆ fTrackCenterDistanceCorrected

Double_t CbmRichMirrorSortingCorrection::fTrackCenterDistanceCorrected
private

Definition at line 102 of file CbmRichMirrorSortingCorrection.h.

Referenced by FillHistProjection(), and Finish().

◆ fTrackCenterDistanceIdeal

Double_t CbmRichMirrorSortingCorrection::fTrackCenterDistanceIdeal
private

Definition at line 101 of file CbmRichMirrorSortingCorrection.h.

Referenced by FillHistProjection(), and Finish().

◆ fTrackCenterDistanceUncorrected

Double_t CbmRichMirrorSortingCorrection::fTrackCenterDistanceUncorrected
private

Definition at line 103 of file CbmRichMirrorSortingCorrection.h.

Referenced by FillHistProjection(), and Finish().

◆ fTrackParams

TClonesArray* CbmRichMirrorSortingCorrection::fTrackParams
private

Definition at line 114 of file CbmRichMirrorSortingCorrection.h.

Referenced by Init().


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