CbmRoot
Loading...
Searching...
No Matches
CbmRichCorrectionVector Class Reference

#include <CbmRichCorrectionVector.h>

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

Public Member Functions

 CbmRichCorrectionVector ()
 
virtual ~CbmRichCorrectionVector ()
 
virtual InitStatus Init ()
 Inherited from FairTask.
 
virtual void Exec (Option_t *option)
 Inherited from FairTask.
 
virtual void Finish ()
 Inherited from FairTask.
 
void InitHistProjection ()
 
void InitHistAlignment ()
 
void CalculateAnglesAndDrawDistrib ()
 
void GetTrackPosition (Double_t &x, Double_t &y)
 
void MatchFinder ()
 
void FillPMTMap (const Char_t *mirr_path, CbmRichPoint *pPoint)
 
void FillPMTMapEllipse (const Char_t *mirr_path, Float_t CenterX, Float_t CenterY)
 
void ProjectionProducer (TClonesArray *projectedPoint)
 
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)
 
void ComputeR2 (vector< Double_t > &ptR2Center, vector< Double_t > &ptR2Mirr, vector< Double_t > ptM, vector< Double_t > ptC, vector< Double_t > ptR1)
 
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 outPos, TVector3 outPosUnCorr, Int_t NofGlobalTracks, vector< Double_t > normalPMT, Double_t constantePMT)
 
void RotateAndCopyHitsToRingLight (const CbmRichRing *ring1, CbmRichRingLight *ring2)
 
void DrawHistAlignment ()
 
void DrawFit (vector< Double_t > &outputFit, Int_t thresh)
 
void DrawHistMapping ()
 
void DrawHistProjection ()
 
void DrawHistFromFile (TString fileName)
 
void SetOutputDir (TString dir)
 
void SetRunTitle (TString title)
 
void SetAxisRotTitle (TString title)
 
void SetDrawAlignment (Bool_t b)
 
void SetDrawMapping (Bool_t b)
 
void SetDrawProjection (Bool_t b)
 
void SetIsReconstruction (Bool_t b)
 

Private Member Functions

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

Private Attributes

TClonesArray * fRichHits
 
TClonesArray * fRichRings
 
TClonesArray * fRichMirrorPoints
 
TClonesArray * fRichProjections
 
TClonesArray * fRichMCPoints
 
TClonesArray * fMCTracks
 
TClonesArray * fRichRingMatches
 
TClonesArray * fRichRefPlanePoints
 
TClonesArray * fRichPoints
 
TClonesArray * fGlobalTracks
 
CbmHistManagerfHM
 
CbmHistManagerfHM2
 
vector< Float_t > fPhi
 
UInt_t fEventNum
 
UInt_t fMirrCounter
 
Bool_t fDrawAlignment
 
Bool_t fDrawMapping
 
Bool_t fDrawProjection
 
Bool_t fIsMeanCenter
 
Bool_t fIsReconstruction
 
Double_t fArray [3]
 
std::map< string, string > fPathsMap
 
std::map< string, string > fPathsMapEllipse
 
TString fOutputDir
 
TString fRunTitle
 
TString fAxisRotTitle
 
CbmRichRingFitterCOPfCopFit
 
CbmRichRingFitterEllipseTaufTauFit
 

Static Private Attributes

static const int kMAX_NOF_HITS = 100
 

Detailed Description

Definition at line 30 of file CbmRichCorrectionVector.h.

Constructor & Destructor Documentation

◆ CbmRichCorrectionVector() [1/2]

CbmRichCorrectionVector::CbmRichCorrectionVector ( )

Definition at line 54 of file CbmRichCorrectionVector.cxx.

References fArray, and fMirrCounter.

◆ ~CbmRichCorrectionVector()

CbmRichCorrectionVector::~CbmRichCorrectionVector ( )
virtual

Definition at line 91 of file CbmRichCorrectionVector.cxx.

◆ CbmRichCorrectionVector() [2/2]

CbmRichCorrectionVector::CbmRichCorrectionVector ( const CbmRichCorrectionVector & )
private

Member Function Documentation

◆ CalculateAnglesAndDrawDistrib()

◆ ClassDef()

CbmRichCorrectionVector::ClassDef ( CbmRichCorrectionVector ,
1  )
private

◆ ComputeP()

void CbmRichCorrectionVector::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 933 of file CbmRichCorrectionVector.cxx.

Referenced by ProjectionProducer().

◆ ComputeR2()

void CbmRichCorrectionVector::ComputeR2 ( vector< Double_t > & ptR2Center,
vector< Double_t > & ptR2Mirr,
vector< Double_t > ptM,
vector< Double_t > ptC,
vector< Double_t > ptR1 )

Definition at line 886 of file CbmRichCorrectionVector.cxx.

Referenced by ProjectionProducer().

◆ DrawFit()

void CbmRichCorrectionVector::DrawFit ( vector< Double_t > & outputFit,
Int_t thresh )

◆ DrawHistAlignment()

void CbmRichCorrectionVector::DrawHistAlignment ( )

◆ DrawHistFromFile()

void CbmRichCorrectionVector::DrawHistFromFile ( TString fileName)

Save old global file and folder pointer to avoid messing with FairRoot

Restore old global file and folder pointer to avoid messing with FairRoot

Definition at line 1379 of file CbmRichCorrectionVector.cxx.

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

◆ DrawHistMapping()

void CbmRichCorrectionVector::DrawHistMapping ( )

◆ DrawHistProjection()

void CbmRichCorrectionVector::DrawHistProjection ( )

◆ Exec()

void CbmRichCorrectionVector::Exec ( Option_t * option)
virtual

◆ FillHistProjection()

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

◆ FillPMTMap()

void CbmRichCorrectionVector::FillPMTMap ( const Char_t * mirr_path,
CbmRichPoint * pPoint )

Definition at line 483 of file CbmRichCorrectionVector.cxx.

References fHM, fMirrCounter, fPathsMap, and CbmHistManager::H2().

Referenced by MatchFinder().

◆ FillPMTMapEllipse()

void CbmRichCorrectionVector::FillPMTMapEllipse ( const Char_t * mirr_path,
Float_t CenterX,
Float_t CenterY )

Definition at line 502 of file CbmRichCorrectionVector.cxx.

References fHM, fPathsMap, and CbmHistManager::H2().

Referenced by MatchFinder().

◆ Finish()

void CbmRichCorrectionVector::Finish ( )
virtual

◆ GetMeanSphereCenter()

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

Definition at line 785 of file CbmRichCorrectionVector.cxx.

References counter.

Referenced by ProjectionProducer().

◆ GetMirrorIntersection()

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

Definition at line 843 of file CbmRichCorrectionVector.cxx.

Referenced by ProjectionProducer().

◆ GetPmtNormal()

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

Definition at line 695 of file CbmRichCorrectionVector.cxx.

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

Referenced by ProjectionProducer().

◆ GetTrackPosition()

void CbmRichCorrectionVector::GetTrackPosition ( Double_t & x,
Double_t & y )

Definition at line 383 of file CbmRichCorrectionVector.cxx.

References fRichProjections, x, and y.

Referenced by CalculateAnglesAndDrawDistrib().

◆ Init()

◆ InitHistAlignment()

void CbmRichCorrectionVector::InitHistAlignment ( )

Definition at line 252 of file CbmRichCorrectionVector.cxx.

References CbmHistManager::Create1(), CbmHistManager::Create2(), and fHM2.

Referenced by Init().

◆ InitHistProjection()

void CbmRichCorrectionVector::InitHistProjection ( )

◆ MatchFinder()

◆ operator=()

CbmRichCorrectionVector CbmRichCorrectionVector::operator= ( const CbmRichCorrectionVector & )
private

◆ ProjectionProducer()

◆ RotateAndCopyHitsToRingLight()

void CbmRichCorrectionVector::RotateAndCopyHitsToRingLight ( const CbmRichRing * ring1,
CbmRichRingLight * ring2 )

◆ SetAxisRotTitle()

void CbmRichCorrectionVector::SetAxisRotTitle ( TString title)
inline

Definition at line 181 of file CbmRichCorrectionVector.h.

References fAxisRotTitle.

◆ SetDrawAlignment()

void CbmRichCorrectionVector::SetDrawAlignment ( Bool_t b)
inline

Definition at line 186 of file CbmRichCorrectionVector.h.

References fDrawAlignment.

◆ SetDrawMapping()

void CbmRichCorrectionVector::SetDrawMapping ( Bool_t b)
inline

Definition at line 187 of file CbmRichCorrectionVector.h.

References fDrawMapping.

◆ SetDrawProjection()

void CbmRichCorrectionVector::SetDrawProjection ( Bool_t b)
inline

Definition at line 188 of file CbmRichCorrectionVector.h.

References fDrawProjection.

◆ SetIsReconstruction()

void CbmRichCorrectionVector::SetIsReconstruction ( Bool_t b)
inline

Definition at line 190 of file CbmRichCorrectionVector.h.

References fIsReconstruction.

◆ SetOutputDir()

void CbmRichCorrectionVector::SetOutputDir ( TString dir)
inline

Definition at line 171 of file CbmRichCorrectionVector.h.

References fOutputDir.

◆ SetRunTitle()

void CbmRichCorrectionVector::SetRunTitle ( TString title)
inline

Definition at line 176 of file CbmRichCorrectionVector.h.

References fRunTitle.

Member Data Documentation

◆ fArray

Double_t CbmRichCorrectionVector::fArray[3]
private

Definition at line 216 of file CbmRichCorrectionVector.h.

Referenced by CbmRichCorrectionVector().

◆ fAxisRotTitle

TString CbmRichCorrectionVector::fAxisRotTitle
private

◆ fCopFit

CbmRichRingFitterCOP* CbmRichCorrectionVector::fCopFit
private

◆ fDrawAlignment

Bool_t CbmRichCorrectionVector::fDrawAlignment
private

Definition at line 211 of file CbmRichCorrectionVector.h.

Referenced by Finish(), and SetDrawAlignment().

◆ fDrawMapping

Bool_t CbmRichCorrectionVector::fDrawMapping
private

Definition at line 212 of file CbmRichCorrectionVector.h.

Referenced by Finish(), and SetDrawMapping().

◆ fDrawProjection

Bool_t CbmRichCorrectionVector::fDrawProjection
private

Definition at line 213 of file CbmRichCorrectionVector.h.

Referenced by Finish(), and SetDrawProjection().

◆ fEventNum

UInt_t CbmRichCorrectionVector::fEventNum
private

Definition at line 209 of file CbmRichCorrectionVector.h.

Referenced by Exec().

◆ fGlobalTracks

TClonesArray* CbmRichCorrectionVector::fGlobalTracks
private

Definition at line 203 of file CbmRichCorrectionVector.h.

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

◆ fHM

◆ fHM2

CbmHistManager* CbmRichCorrectionVector::fHM2
private

◆ fIsMeanCenter

Bool_t CbmRichCorrectionVector::fIsMeanCenter
private

Definition at line 214 of file CbmRichCorrectionVector.h.

Referenced by ProjectionProducer().

◆ fIsReconstruction

Bool_t CbmRichCorrectionVector::fIsReconstruction
private

Definition at line 215 of file CbmRichCorrectionVector.h.

Referenced by ProjectionProducer(), and SetIsReconstruction().

◆ fMCTracks

TClonesArray* CbmRichCorrectionVector::fMCTracks
private

◆ fMirrCounter

UInt_t CbmRichCorrectionVector::fMirrCounter
private

Definition at line 210 of file CbmRichCorrectionVector.h.

Referenced by CbmRichCorrectionVector(), and FillPMTMap().

◆ fOutputDir

TString CbmRichCorrectionVector::fOutputDir
private

◆ fPathsMap

std::map<string, string> CbmRichCorrectionVector::fPathsMap
private

Definition at line 218 of file CbmRichCorrectionVector.h.

Referenced by FillPMTMap(), FillPMTMapEllipse(), Init(), and InitHistProjection().

◆ fPathsMapEllipse

std::map<string, string> CbmRichCorrectionVector::fPathsMapEllipse
private

Definition at line 219 of file CbmRichCorrectionVector.h.

Referenced by Init(), and InitHistProjection().

◆ fPhi

vector<Float_t> CbmRichCorrectionVector::fPhi
private

Definition at line 207 of file CbmRichCorrectionVector.h.

Referenced by CalculateAnglesAndDrawDistrib().

◆ fRichHits

TClonesArray* CbmRichCorrectionVector::fRichHits
private

◆ fRichMCPoints

TClonesArray* CbmRichCorrectionVector::fRichMCPoints
private

Definition at line 198 of file CbmRichCorrectionVector.h.

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

◆ fRichMirrorPoints

TClonesArray* CbmRichCorrectionVector::fRichMirrorPoints
private

Definition at line 196 of file CbmRichCorrectionVector.h.

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

◆ fRichPoints

TClonesArray* CbmRichCorrectionVector::fRichPoints
private

Definition at line 202 of file CbmRichCorrectionVector.h.

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

◆ fRichProjections

TClonesArray* CbmRichCorrectionVector::fRichProjections
private

Definition at line 197 of file CbmRichCorrectionVector.h.

Referenced by GetTrackPosition(), and Init().

◆ fRichRefPlanePoints

TClonesArray* CbmRichCorrectionVector::fRichRefPlanePoints
private

Definition at line 201 of file CbmRichCorrectionVector.h.

Referenced by Init(), and ProjectionProducer().

◆ fRichRingMatches

TClonesArray* CbmRichCorrectionVector::fRichRingMatches
private

Definition at line 200 of file CbmRichCorrectionVector.h.

Referenced by Init(), and MatchFinder().

◆ fRichRings

TClonesArray* CbmRichCorrectionVector::fRichRings
private

◆ fRunTitle

TString CbmRichCorrectionVector::fRunTitle
private

◆ fTauFit

CbmRichRingFitterEllipseTau* CbmRichCorrectionVector::fTauFit
private

Definition at line 226 of file CbmRichCorrectionVector.h.

Referenced by Init(), and MatchFinder().

◆ kMAX_NOF_HITS

const int CbmRichCorrectionVector::kMAX_NOF_HITS = 100
staticprivate

Definition at line 34 of file CbmRichCorrectionVector.h.

Referenced by CalculateAnglesAndDrawDistrib().


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