CbmRoot
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. More...
 
virtual void Exec (Option_t *option)
 Inherited from FairTask. More...
 
virtual void Finish ()
 Inherited from FairTask. More...
 
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 25 of file CbmRichCorrectionVector.h.

Constructor & Destructor Documentation

◆ CbmRichCorrectionVector() [1/2]

CbmRichCorrectionVector::CbmRichCorrectionVector ( )

Definition at line 48 of file CbmRichCorrectionVector.cxx.

References fArray, fMirrCounter, and i.

◆ ~CbmRichCorrectionVector()

CbmRichCorrectionVector::~CbmRichCorrectionVector ( )
virtual

Definition at line 84 of file CbmRichCorrectionVector.cxx.

◆ CbmRichCorrectionVector() [2/2]

CbmRichCorrectionVector::CbmRichCorrectionVector ( const CbmRichCorrectionVector )
private

Member Function Documentation

◆ CalculateAnglesAndDrawDistrib()

◆ ClassDef()

CbmRichCorrectionVector::ClassDef ( CbmRichCorrectionVector  ,
 
)
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 1082 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 1023 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)

◆ 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 562 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 583 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 909 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 976 of file CbmRichCorrectionVector.cxx.

References d.

Referenced by ProjectionProducer().

◆ GetPmtNormal()

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

Definition at line 803 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 461 of file CbmRichCorrectionVector.cxx.

References fRichProjections, x, and y.

Referenced by CalculateAnglesAndDrawDistrib().

◆ Init()

◆ InitHistAlignment()

void CbmRichCorrectionVector::InitHistAlignment ( )

Definition at line 302 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 193 of file CbmRichCorrectionVector.h.

◆ SetDrawAlignment()

void CbmRichCorrectionVector::SetDrawAlignment ( Bool_t  b)
inline

Definition at line 198 of file CbmRichCorrectionVector.h.

◆ SetDrawMapping()

void CbmRichCorrectionVector::SetDrawMapping ( Bool_t  b)
inline

Definition at line 199 of file CbmRichCorrectionVector.h.

◆ SetDrawProjection()

void CbmRichCorrectionVector::SetDrawProjection ( Bool_t  b)
inline

Definition at line 200 of file CbmRichCorrectionVector.h.

◆ SetIsReconstruction()

void CbmRichCorrectionVector::SetIsReconstruction ( Bool_t  b)
inline

Definition at line 202 of file CbmRichCorrectionVector.h.

◆ SetOutputDir()

void CbmRichCorrectionVector::SetOutputDir ( TString  dir)
inline

Definition at line 183 of file CbmRichCorrectionVector.h.

◆ SetRunTitle()

void CbmRichCorrectionVector::SetRunTitle ( TString  title)
inline

Definition at line 188 of file CbmRichCorrectionVector.h.

Member Data Documentation

◆ fArray

Double_t CbmRichCorrectionVector::fArray[3]
private

Definition at line 228 of file CbmRichCorrectionVector.h.

Referenced by CbmRichCorrectionVector().

◆ fAxisRotTitle

TString CbmRichCorrectionVector::fAxisRotTitle
private

Definition at line 235 of file CbmRichCorrectionVector.h.

Referenced by DrawFit(), DrawHistAlignment(), and DrawHistProjection().

◆ fCopFit

CbmRichRingFitterCOP* CbmRichCorrectionVector::fCopFit
private

◆ fDrawAlignment

Bool_t CbmRichCorrectionVector::fDrawAlignment
private

Definition at line 223 of file CbmRichCorrectionVector.h.

Referenced by Finish().

◆ fDrawMapping

Bool_t CbmRichCorrectionVector::fDrawMapping
private

Definition at line 224 of file CbmRichCorrectionVector.h.

Referenced by Finish().

◆ fDrawProjection

Bool_t CbmRichCorrectionVector::fDrawProjection
private

Definition at line 225 of file CbmRichCorrectionVector.h.

Referenced by Finish().

◆ fEventNum

UInt_t CbmRichCorrectionVector::fEventNum
private

Definition at line 221 of file CbmRichCorrectionVector.h.

Referenced by Exec().

◆ fGlobalTracks

TClonesArray* CbmRichCorrectionVector::fGlobalTracks
private

Definition at line 215 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 226 of file CbmRichCorrectionVector.h.

Referenced by ProjectionProducer().

◆ fIsReconstruction

Bool_t CbmRichCorrectionVector::fIsReconstruction
private

Definition at line 227 of file CbmRichCorrectionVector.h.

Referenced by ProjectionProducer().

◆ fMCTracks

TClonesArray* CbmRichCorrectionVector::fMCTracks
private

◆ fMirrCounter

UInt_t CbmRichCorrectionVector::fMirrCounter
private

Definition at line 222 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 230 of file CbmRichCorrectionVector.h.

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

◆ fPathsMapEllipse

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

Definition at line 231 of file CbmRichCorrectionVector.h.

Referenced by Init(), and InitHistProjection().

◆ fPhi

vector<Float_t> CbmRichCorrectionVector::fPhi
private

Definition at line 219 of file CbmRichCorrectionVector.h.

Referenced by CalculateAnglesAndDrawDistrib().

◆ fRichHits

TClonesArray* CbmRichCorrectionVector::fRichHits
private

◆ fRichMCPoints

TClonesArray* CbmRichCorrectionVector::fRichMCPoints
private

Definition at line 210 of file CbmRichCorrectionVector.h.

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

◆ fRichMirrorPoints

TClonesArray* CbmRichCorrectionVector::fRichMirrorPoints
private

Definition at line 208 of file CbmRichCorrectionVector.h.

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

◆ fRichPoints

TClonesArray* CbmRichCorrectionVector::fRichPoints
private

Definition at line 214 of file CbmRichCorrectionVector.h.

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

◆ fRichProjections

TClonesArray* CbmRichCorrectionVector::fRichProjections
private

Definition at line 209 of file CbmRichCorrectionVector.h.

Referenced by GetTrackPosition(), and Init().

◆ fRichRefPlanePoints

TClonesArray* CbmRichCorrectionVector::fRichRefPlanePoints
private

Definition at line 213 of file CbmRichCorrectionVector.h.

Referenced by Init(), and ProjectionProducer().

◆ fRichRingMatches

TClonesArray* CbmRichCorrectionVector::fRichRingMatches
private

Definition at line 212 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 238 of file CbmRichCorrectionVector.h.

Referenced by Init(), and MatchFinder().

◆ kMAX_NOF_HITS

const int CbmRichCorrectionVector::kMAX_NOF_HITS = 100
staticprivate

Definition at line 29 of file CbmRichCorrectionVector.h.

Referenced by CalculateAnglesAndDrawDistrib().


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