CbmRoot
CbmRichCorrection Class Reference

#include <CbmRichCorrection.h>

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

Public Member Functions

 CbmRichCorrection ()
 
virtual ~CbmRichCorrection ()
 
virtual InitStatus Init ()
 Inherited from FairTask. More...
 
virtual void Exec (Option_t *option)
 Inherited from FairTask. More...
 
virtual void Finish ()
 Inherited from FairTask. More...
 
void InitHistProjection ()
 
void ProjectionProducer ()
 
void GetPmtNormal (Int_t NofPMTPoints, vector< Double_t > &normalPMT, Double_t &normalCste)
 
void GetMeanSphereCenter (TGeoNavigator *navi, vector< Double_t > &ptC)
 
void GetMirrorIntersection (vector< Double_t > &ptM, vector< Double_t > ptR1, vector< Double_t > momR1, vector< Double_t > ptC, Double_t sphereRadius)
 
vector< Double_t > RotateSphereCenter (vector< Double_t > ptM, vector< Double_t > ptC, TGeoNavigator *navi)
 
void InvertMatrix (Double_t mat[3][3], Double_t invMat[3][3], TGeoNavigator *navi)
 
void CalculateMirrorIntersection (vector< Double_t > ptM, vector< Double_t > ptCUnCorr, vector< Double_t > &ptMNew)
 
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 normalCste)
 
void FillHistProjection (TVector3 outPosIdeal, TVector3 outPosUnCorr, TVector3 outPos, Int_t NofGlobalTracks, vector< Double_t > normalPMT, Double_t constantePMT)
 
void DrawHistProjection ()
 
void DrawHistFromFile (TString fileName)
 
void SetOutputDir (TString dir)
 
void SetRunTitle (TString title)
 
void SetAxisRotTitle (TString title)
 
void SetDrawProjection (Bool_t b)
 
void SetIsReconstruction (Bool_t b)
 
void SetNumbAxis (TString n)
 
void SetTileName (TString t)
 

Private Member Functions

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

Private Attributes

TClonesArray * fRichHits
 
TClonesArray * fRichRings
 
TClonesArray * fRichMirrorPoints
 
TClonesArray * fRichProjections
 
TClonesArray * fRichMCPoints
 
TClonesArray * fMCTracks
 
TClonesArray * fRichRingMatches
 
TClonesArray * fRichRefPlanePoints
 
TClonesArray * fRichPoints
 
TClonesArray * fGlobalTracks
 
CbmHistManagerfHM
 
vector< Float_t > fPhi
 
TString fNumbAxis
 
TString fTile
 
UInt_t fEventNum
 
Bool_t fDrawProjection
 
Bool_t fIsMeanCenter
 
Bool_t fIsReconstruction
 
TString fOutputDir
 
TString fRunTitle
 
TString fAxisRotTitle
 
CbmRichRingFitterCOPfCopFit
 
CbmRichRingFitterEllipseTaufTauFit
 

Static Private Attributes

static const int kMAX_NOF_HITS = 100
 

Detailed Description

Definition at line 25 of file CbmRichCorrection.h.

Constructor & Destructor Documentation

◆ CbmRichCorrection() [1/2]

CbmRichCorrection::CbmRichCorrection ( )

Definition at line 53 of file CbmRichCorrection.cxx.

◆ ~CbmRichCorrection()

CbmRichCorrection::~CbmRichCorrection ( )
virtual

Definition at line 81 of file CbmRichCorrection.cxx.

◆ CbmRichCorrection() [2/2]

CbmRichCorrection::CbmRichCorrection ( const CbmRichCorrection )
private

Member Function Documentation

◆ CalculateMirrorIntersection()

void CbmRichCorrection::CalculateMirrorIntersection ( vector< Double_t >  ptM,
vector< Double_t >  ptCUnCorr,
vector< Double_t > &  ptMNew 
)

Definition at line 1021 of file CbmRichCorrection.cxx.

Referenced by ProjectionProducer().

◆ ClassDef()

CbmRichCorrection::ClassDef ( CbmRichCorrection  ,
 
)
private

◆ ComputeP()

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

Definition at line 1174 of file CbmRichCorrection.cxx.

Referenced by ProjectionProducer().

◆ ComputeR2()

void CbmRichCorrection::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 1037 of file CbmRichCorrection.cxx.

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

Referenced by ProjectionProducer().

◆ DrawHistFromFile()

void CbmRichCorrection::DrawHistFromFile ( TString  fileName)

Definition at line 1543 of file CbmRichCorrection.cxx.

References DrawHistProjection(), fHM, and CbmHistManager::ReadFromFile().

◆ DrawHistProjection()

void CbmRichCorrection::DrawHistProjection ( )

◆ Exec()

void CbmRichCorrection::Exec ( Option_t *  option)
virtual

Inherited from FairTask.

Definition at line 232 of file CbmRichCorrection.cxx.

References fEventNum, fMCTracks, fRichHits, fRichMCPoints, fRichMirrorPoints, fRichRings, and ProjectionProducer().

◆ FillHistProjection()

void CbmRichCorrection::FillHistProjection ( TVector3  outPosIdeal,
TVector3  outPosUnCorr,
TVector3  outPos,
Int_t  NofGlobalTracks,
vector< Double_t >  normalPMT,
Double_t  constantePMT 
)

◆ Finish()

void CbmRichCorrection::Finish ( )
virtual

Inherited from FairTask.

Definition at line 1550 of file CbmRichCorrection.cxx.

References DrawHistProjection(), fDrawProjection, fHM, and CbmHistManager::H1().

◆ GetMeanSphereCenter()

void CbmRichCorrection::GetMeanSphereCenter ( TGeoNavigator *  navi,
vector< Double_t > &  ptC 
)

Definition at line 594 of file CbmRichCorrection.cxx.

References counter.

Referenced by ProjectionProducer().

◆ GetMirrorIntersection()

void CbmRichCorrection::GetMirrorIntersection ( vector< Double_t > &  ptM,
vector< Double_t >  ptR1,
vector< Double_t >  momR1,
vector< Double_t >  ptC,
Double_t  sphereRadius 
)

Definition at line 661 of file CbmRichCorrection.cxx.

References d.

Referenced by ProjectionProducer().

◆ GetPmtNormal()

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

Definition at line 488 of file CbmRichCorrection.cxx.

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

Referenced by ProjectionProducer().

◆ Init()

InitStatus CbmRichCorrection::Init ( )
virtual

◆ InitHistProjection()

void CbmRichCorrection::InitHistProjection ( )

Definition at line 145 of file CbmRichCorrection.cxx.

References CbmHistManager::Create1(), and fHM.

Referenced by Init().

◆ InvertMatrix()

void CbmRichCorrection::InvertMatrix ( Double_t  mat[3][3],
Double_t  invMat[3][3],
TGeoNavigator *  navi 
)

Definition at line 925 of file CbmRichCorrection.cxx.

References i.

Referenced by RotateSphereCenter().

◆ operator=()

CbmRichCorrection CbmRichCorrection::operator= ( const CbmRichCorrection )
private

◆ ProjectionProducer()

◆ RotateSphereCenter()

vector< Double_t > CbmRichCorrection::RotateSphereCenter ( vector< Double_t >  ptM,
vector< Double_t >  ptC,
TGeoNavigator *  navi 
)

Definition at line 708 of file CbmRichCorrection.cxx.

References i, and InvertMatrix().

◆ SetAxisRotTitle()

void CbmRichCorrection::SetAxisRotTitle ( TString  title)
inline

Definition at line 170 of file CbmRichCorrection.h.

◆ SetDrawProjection()

void CbmRichCorrection::SetDrawProjection ( Bool_t  b)
inline

Definition at line 175 of file CbmRichCorrection.h.

◆ SetIsReconstruction()

void CbmRichCorrection::SetIsReconstruction ( Bool_t  b)
inline

Definition at line 177 of file CbmRichCorrection.h.

◆ SetNumbAxis()

void CbmRichCorrection::SetNumbAxis ( TString  n)
inline

Definition at line 179 of file CbmRichCorrection.h.

◆ SetOutputDir()

void CbmRichCorrection::SetOutputDir ( TString  dir)
inline

Definition at line 160 of file CbmRichCorrection.h.

◆ SetRunTitle()

void CbmRichCorrection::SetRunTitle ( TString  title)
inline

Definition at line 165 of file CbmRichCorrection.h.

◆ SetTileName()

void CbmRichCorrection::SetTileName ( TString  t)
inline

Definition at line 181 of file CbmRichCorrection.h.

Member Data Documentation

◆ fAxisRotTitle

TString CbmRichCorrection::fAxisRotTitle
private

Definition at line 208 of file CbmRichCorrection.h.

Referenced by DrawHistProjection().

◆ fCopFit

CbmRichRingFitterCOP* CbmRichCorrection::fCopFit
private

Definition at line 210 of file CbmRichCorrection.h.

Referenced by FillHistProjection(), and Init().

◆ fDrawProjection

Bool_t CbmRichCorrection::fDrawProjection
private

Definition at line 202 of file CbmRichCorrection.h.

Referenced by Finish().

◆ fEventNum

UInt_t CbmRichCorrection::fEventNum
private

Definition at line 201 of file CbmRichCorrection.h.

Referenced by Exec().

◆ fGlobalTracks

TClonesArray* CbmRichCorrection::fGlobalTracks
private

Definition at line 194 of file CbmRichCorrection.h.

Referenced by FillHistProjection(), Init(), and ProjectionProducer().

◆ fHM

CbmHistManager* CbmRichCorrection::fHM
private

◆ fIsMeanCenter

Bool_t CbmRichCorrection::fIsMeanCenter
private

Definition at line 203 of file CbmRichCorrection.h.

Referenced by ProjectionProducer().

◆ fIsReconstruction

Bool_t CbmRichCorrection::fIsReconstruction
private

Definition at line 204 of file CbmRichCorrection.h.

◆ fMCTracks

TClonesArray* CbmRichCorrection::fMCTracks
private

Definition at line 190 of file CbmRichCorrection.h.

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

◆ fNumbAxis

TString CbmRichCorrection::fNumbAxis
private

Definition at line 199 of file CbmRichCorrection.h.

Referenced by ComputeR2().

◆ fOutputDir

TString CbmRichCorrection::fOutputDir
private

Definition at line 206 of file CbmRichCorrection.h.

Referenced by ComputeR2(), and DrawHistProjection().

◆ fPhi

vector<Float_t> CbmRichCorrection::fPhi
private

Definition at line 197 of file CbmRichCorrection.h.

◆ fRichHits

TClonesArray* CbmRichCorrection::fRichHits
private

Definition at line 185 of file CbmRichCorrection.h.

Referenced by Exec(), and Init().

◆ fRichMCPoints

TClonesArray* CbmRichCorrection::fRichMCPoints
private

Definition at line 189 of file CbmRichCorrection.h.

Referenced by Exec(), and Init().

◆ fRichMirrorPoints

TClonesArray* CbmRichCorrection::fRichMirrorPoints
private

Definition at line 187 of file CbmRichCorrection.h.

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

◆ fRichPoints

TClonesArray* CbmRichCorrection::fRichPoints
private

Definition at line 193 of file CbmRichCorrection.h.

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

◆ fRichProjections

TClonesArray* CbmRichCorrection::fRichProjections
private

Definition at line 188 of file CbmRichCorrection.h.

Referenced by Init().

◆ fRichRefPlanePoints

TClonesArray* CbmRichCorrection::fRichRefPlanePoints
private

Definition at line 192 of file CbmRichCorrection.h.

Referenced by Init(), and ProjectionProducer().

◆ fRichRingMatches

TClonesArray* CbmRichCorrection::fRichRingMatches
private

Definition at line 191 of file CbmRichCorrection.h.

Referenced by Init().

◆ fRichRings

TClonesArray* CbmRichCorrection::fRichRings
private

Definition at line 186 of file CbmRichCorrection.h.

Referenced by Exec(), FillHistProjection(), Init(), and ProjectionProducer().

◆ fRunTitle

TString CbmRichCorrection::fRunTitle
private

Definition at line 207 of file CbmRichCorrection.h.

Referenced by DrawHistProjection().

◆ fTauFit

CbmRichRingFitterEllipseTau* CbmRichCorrection::fTauFit
private

Definition at line 211 of file CbmRichCorrection.h.

Referenced by Init().

◆ fTile

TString CbmRichCorrection::fTile
private

Definition at line 200 of file CbmRichCorrection.h.

Referenced by ComputeR2().

◆ kMAX_NOF_HITS

const int CbmRichCorrection::kMAX_NOF_HITS = 100
staticprivate

Definition at line 29 of file CbmRichCorrection.h.


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