CbmRoot
CbmRichPMTMapping Class Reference

#include <CbmRichPMTMapping.h>

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

Public Member Functions

 CbmRichPMTMapping ()
 
virtual ~CbmRichPMTMapping ()
 
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 InitHist ()
 
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 ()
 
void ProjectionProducer2 ()
 
void CalculateSphereParameters (const Char_t *mirrID, Double_t &sphereX, Double_t &sphereY, Double_t &sphereZ, Double_t &sphereR)
 
void CalculateSphereParameters2 (const Char_t *mirrID, Double_t &sphereX, Double_t &sphereY, Double_t &sphereZ, Double_t &sphereR)
 
void GetPmtNormal (Int_t NofPMTPoints, Double_t &normalX, Double_t &normalY, Double_t &normalZ, Double_t &normalCste)
 
void RotateAndCopyHitsToRingLight (const CbmRichRing *ring1, CbmRichRingLight *ring2)
 
void DrawHist ()
 
void DrawHistFromFile (TString fileName)
 
void SetOutputDir (TString dir)
 
void SetRunTitle (TString title)
 
void SetDrawHist (Bool_t b)
 

Private Member Functions

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

Private Attributes

TClonesArray * fRichHits
 
TClonesArray * fRichRings
 
TClonesArray * fRichMirrorPoints
 
TClonesArray * fRichProjections
 
TClonesArray * fRichMCPoints
 
TClonesArray * fMCTracks
 
TClonesArray * fRichRingMatches
 
TClonesArray * fRichRefPlanePoints
 
TClonesArray * fRichPoints
 
TClonesArray * fGlobalTracks
 
CbmHistManagerfHM
 
CbmRichRecGeoPar fGP
 
UInt_t fEventNum
 
UInt_t fCounterMapping
 
UInt_t fMirrCounter
 
Bool_t fDrawHist
 
Bool_t fIsMirrorUpperHalf
 
Double_t fArray [3]
 
std::map< string, string > fPathsMap
 
std::map< string, string > fPathsMapEllipse
 
TString fOutputDir
 
TString fRunTitle
 
CbmRichRingFitterCOPfCopFit
 
CbmRichRingFitterEllipseTaufTauFit
 

Static Private Attributes

static const int kMAX_NOF_HITS = 100
 

Detailed Description

Definition at line 24 of file CbmRichPMTMapping.h.

Constructor & Destructor Documentation

◆ CbmRichPMTMapping() [1/2]

CbmRichPMTMapping::CbmRichPMTMapping ( )

Definition at line 47 of file CbmRichPMTMapping.cxx.

References fArray, fCounterMapping, fMirrCounter, and i.

◆ ~CbmRichPMTMapping()

CbmRichPMTMapping::~CbmRichPMTMapping ( )
virtual

Definition at line 77 of file CbmRichPMTMapping.cxx.

◆ CbmRichPMTMapping() [2/2]

CbmRichPMTMapping::CbmRichPMTMapping ( const CbmRichPMTMapping )
private

Member Function Documentation

◆ CalculateSphereParameters()

void CbmRichPMTMapping::CalculateSphereParameters ( const Char_t *  mirrID,
Double_t &  sphereX,
Double_t &  sphereY,
Double_t &  sphereZ,
Double_t &  sphereR 
)

Definition at line 1203 of file CbmRichPMTMapping.cxx.

References fIsMirrorUpperHalf.

Referenced by ProjectionProducer().

◆ CalculateSphereParameters2()

void CbmRichPMTMapping::CalculateSphereParameters2 ( const Char_t *  mirrID,
Double_t &  sphereX,
Double_t &  sphereY,
Double_t &  sphereZ,
Double_t &  sphereR 
)

Definition at line 1285 of file CbmRichPMTMapping.cxx.

References fIsMirrorUpperHalf.

Referenced by ProjectionProducer(), and ProjectionProducer2().

◆ ClassDef()

CbmRichPMTMapping::ClassDef ( CbmRichPMTMapping  ,
 
)
private

◆ DrawHist()

void CbmRichPMTMapping::DrawHist ( )

◆ DrawHistFromFile()

void CbmRichPMTMapping::DrawHistFromFile ( TString  fileName)

Definition at line 1475 of file CbmRichPMTMapping.cxx.

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

◆ Exec()

void CbmRichPMTMapping::Exec ( Option_t *  option)
virtual

◆ FillPMTMap()

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

Definition at line 414 of file CbmRichPMTMapping.cxx.

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

Referenced by MatchFinder().

◆ FillPMTMapEllipse()

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

Definition at line 435 of file CbmRichPMTMapping.cxx.

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

Referenced by MatchFinder().

◆ Finish()

void CbmRichPMTMapping::Finish ( )
virtual

Inherited from FairTask.

Definition at line 1482 of file CbmRichPMTMapping.cxx.

References DrawHist(), fDrawHist, and fMirrCounter.

◆ GetPmtNormal()

void CbmRichPMTMapping::GetPmtNormal ( Int_t  NofPMTPoints,
Double_t &  normalX,
Double_t &  normalY,
Double_t &  normalZ,
Double_t &  normalCste 
)

Definition at line 1096 of file CbmRichPMTMapping.cxx.

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

Referenced by ProjectionProducer(), and ProjectionProducer2().

◆ Init()

◆ InitHist()

void CbmRichPMTMapping::InitHist ( )

Definition at line 215 of file CbmRichPMTMapping.cxx.

References CbmHistManager::Create1(), CbmHistManager::Create2(), fHM, fPathsMap, and fPathsMapEllipse.

Referenced by Init().

◆ MatchFinder()

◆ operator=()

CbmRichPMTMapping CbmRichPMTMapping::operator= ( const CbmRichPMTMapping )
private

◆ ProjectionProducer()

◆ ProjectionProducer2()

◆ RotateAndCopyHitsToRingLight()

◆ SetDrawHist()

void CbmRichPMTMapping::SetDrawHist ( Bool_t  b)
inline

Definition at line 133 of file CbmRichPMTMapping.h.

◆ SetOutputDir()

void CbmRichPMTMapping::SetOutputDir ( TString  dir)
inline

Definition at line 123 of file CbmRichPMTMapping.h.

◆ SetRunTitle()

void CbmRichPMTMapping::SetRunTitle ( TString  title)
inline

Definition at line 128 of file CbmRichPMTMapping.h.

Member Data Documentation

◆ fArray

Double_t CbmRichPMTMapping::fArray[3]
private

Definition at line 155 of file CbmRichPMTMapping.h.

Referenced by CbmRichPMTMapping().

◆ fCopFit

CbmRichRingFitterCOP* CbmRichPMTMapping::fCopFit
private

Definition at line 163 of file CbmRichPMTMapping.h.

Referenced by Init(), and ProjectionProducer2().

◆ fCounterMapping

UInt_t CbmRichPMTMapping::fCounterMapping
private

Definition at line 151 of file CbmRichPMTMapping.h.

Referenced by CbmRichPMTMapping().

◆ fDrawHist

Bool_t CbmRichPMTMapping::fDrawHist
private

Definition at line 153 of file CbmRichPMTMapping.h.

Referenced by Finish().

◆ fEventNum

UInt_t CbmRichPMTMapping::fEventNum
private

Definition at line 150 of file CbmRichPMTMapping.h.

Referenced by Exec().

◆ fGlobalTracks

TClonesArray* CbmRichPMTMapping::fGlobalTracks
private

Definition at line 146 of file CbmRichPMTMapping.h.

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

◆ fGP

CbmRichRecGeoPar CbmRichPMTMapping::fGP
private

Definition at line 148 of file CbmRichPMTMapping.h.

Referenced by Exec(), ProjectionProducer2(), and RotateAndCopyHitsToRingLight().

◆ fHM

◆ fIsMirrorUpperHalf

Bool_t CbmRichPMTMapping::fIsMirrorUpperHalf
private

◆ fMCTracks

TClonesArray* CbmRichPMTMapping::fMCTracks
private

◆ fMirrCounter

UInt_t CbmRichPMTMapping::fMirrCounter
private

Definition at line 152 of file CbmRichPMTMapping.h.

Referenced by CbmRichPMTMapping(), FillPMTMap(), and Finish().

◆ fOutputDir

TString CbmRichPMTMapping::fOutputDir
private

Definition at line 160 of file CbmRichPMTMapping.h.

Referenced by DrawHist().

◆ fPathsMap

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

Definition at line 157 of file CbmRichPMTMapping.h.

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

◆ fPathsMapEllipse

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

Definition at line 158 of file CbmRichPMTMapping.h.

Referenced by Init(), and InitHist().

◆ fRichHits

TClonesArray* CbmRichPMTMapping::fRichHits
private

Definition at line 137 of file CbmRichPMTMapping.h.

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

◆ fRichMCPoints

TClonesArray* CbmRichPMTMapping::fRichMCPoints
private

Definition at line 141 of file CbmRichPMTMapping.h.

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

◆ fRichMirrorPoints

TClonesArray* CbmRichPMTMapping::fRichMirrorPoints
private

Definition at line 139 of file CbmRichPMTMapping.h.

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

◆ fRichPoints

TClonesArray* CbmRichPMTMapping::fRichPoints
private

Definition at line 145 of file CbmRichPMTMapping.h.

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

◆ fRichProjections

TClonesArray* CbmRichPMTMapping::fRichProjections
private

Definition at line 140 of file CbmRichPMTMapping.h.

Referenced by Init().

◆ fRichRefPlanePoints

TClonesArray* CbmRichPMTMapping::fRichRefPlanePoints
private

Definition at line 144 of file CbmRichPMTMapping.h.

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

◆ fRichRingMatches

TClonesArray* CbmRichPMTMapping::fRichRingMatches
private

Definition at line 143 of file CbmRichPMTMapping.h.

Referenced by Init(), and MatchFinder().

◆ fRichRings

TClonesArray* CbmRichPMTMapping::fRichRings
private

Definition at line 138 of file CbmRichPMTMapping.h.

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

◆ fRunTitle

TString CbmRichPMTMapping::fRunTitle
private

Definition at line 161 of file CbmRichPMTMapping.h.

Referenced by DrawHist().

◆ fTauFit

CbmRichRingFitterEllipseTau* CbmRichPMTMapping::fTauFit
private

Definition at line 164 of file CbmRichPMTMapping.h.

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

◆ kMAX_NOF_HITS

const int CbmRichPMTMapping::kMAX_NOF_HITS = 100
staticprivate

Definition at line 26 of file CbmRichPMTMapping.h.


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