CbmRoot
Loading...
Searching...
No Matches
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.
 
virtual void Exec (Option_t *option)
 Inherited from FairTask.
 
virtual void Finish ()
 Inherited from FairTask.
 
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 29 of file CbmRichPMTMapping.h.

Constructor & Destructor Documentation

◆ CbmRichPMTMapping() [1/2]

CbmRichPMTMapping::CbmRichPMTMapping ( )

Definition at line 52 of file CbmRichPMTMapping.cxx.

References fArray, fCounterMapping, and fMirrCounter.

◆ ~CbmRichPMTMapping()

CbmRichPMTMapping::~CbmRichPMTMapping ( )
virtual

Definition at line 83 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 1026 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 1096 of file CbmRichPMTMapping.cxx.

References fIsMirrorUpperHalf.

Referenced by ProjectionProducer(), and ProjectionProducer2().

◆ ClassDef()

CbmRichPMTMapping::ClassDef ( CbmRichPMTMapping ,
1  )
private

◆ DrawHist()

void CbmRichPMTMapping::DrawHist ( )

◆ DrawHistFromFile()

void CbmRichPMTMapping::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 1266 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 368 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 387 of file CbmRichPMTMapping.cxx.

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

Referenced by MatchFinder().

◆ Finish()

void CbmRichPMTMapping::Finish ( )
virtual

Inherited from FairTask.

Definition at line 1282 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 937 of file CbmRichPMTMapping.cxx.

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

Referenced by ProjectionProducer(), and ProjectionProducer2().

◆ Init()

◆ InitHist()

void CbmRichPMTMapping::InitHist ( )

Definition at line 198 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 126 of file CbmRichPMTMapping.h.

References fDrawHist.

◆ SetOutputDir()

void CbmRichPMTMapping::SetOutputDir ( TString dir)
inline

Definition at line 116 of file CbmRichPMTMapping.h.

References fOutputDir.

◆ SetRunTitle()

void CbmRichPMTMapping::SetRunTitle ( TString title)
inline

Definition at line 121 of file CbmRichPMTMapping.h.

References fRunTitle.

Member Data Documentation

◆ fArray

Double_t CbmRichPMTMapping::fArray[3]
private

Definition at line 148 of file CbmRichPMTMapping.h.

Referenced by CbmRichPMTMapping().

◆ fCopFit

CbmRichRingFitterCOP* CbmRichPMTMapping::fCopFit
private

Definition at line 156 of file CbmRichPMTMapping.h.

Referenced by Init(), and ProjectionProducer2().

◆ fCounterMapping

UInt_t CbmRichPMTMapping::fCounterMapping
private

Definition at line 144 of file CbmRichPMTMapping.h.

Referenced by CbmRichPMTMapping().

◆ fDrawHist

Bool_t CbmRichPMTMapping::fDrawHist
private

Definition at line 146 of file CbmRichPMTMapping.h.

Referenced by Finish(), and SetDrawHist().

◆ fEventNum

UInt_t CbmRichPMTMapping::fEventNum
private

Definition at line 143 of file CbmRichPMTMapping.h.

Referenced by Exec().

◆ fGlobalTracks

TClonesArray* CbmRichPMTMapping::fGlobalTracks
private

Definition at line 139 of file CbmRichPMTMapping.h.

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

◆ fGP

CbmRichRecGeoPar CbmRichPMTMapping::fGP
private

Definition at line 141 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 145 of file CbmRichPMTMapping.h.

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

◆ fOutputDir

TString CbmRichPMTMapping::fOutputDir
private

Definition at line 153 of file CbmRichPMTMapping.h.

Referenced by DrawHist(), and SetOutputDir().

◆ fPathsMap

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

Definition at line 150 of file CbmRichPMTMapping.h.

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

◆ fPathsMapEllipse

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

Definition at line 151 of file CbmRichPMTMapping.h.

Referenced by Init(), and InitHist().

◆ fRichHits

TClonesArray* CbmRichPMTMapping::fRichHits
private

Definition at line 130 of file CbmRichPMTMapping.h.

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

◆ fRichMCPoints

TClonesArray* CbmRichPMTMapping::fRichMCPoints
private

Definition at line 134 of file CbmRichPMTMapping.h.

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

◆ fRichMirrorPoints

TClonesArray* CbmRichPMTMapping::fRichMirrorPoints
private

Definition at line 132 of file CbmRichPMTMapping.h.

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

◆ fRichPoints

TClonesArray* CbmRichPMTMapping::fRichPoints
private

Definition at line 138 of file CbmRichPMTMapping.h.

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

◆ fRichProjections

TClonesArray* CbmRichPMTMapping::fRichProjections
private

Definition at line 133 of file CbmRichPMTMapping.h.

Referenced by Init().

◆ fRichRefPlanePoints

TClonesArray* CbmRichPMTMapping::fRichRefPlanePoints
private

Definition at line 137 of file CbmRichPMTMapping.h.

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

◆ fRichRingMatches

TClonesArray* CbmRichPMTMapping::fRichRingMatches
private

Definition at line 136 of file CbmRichPMTMapping.h.

Referenced by Init(), and MatchFinder().

◆ fRichRings

TClonesArray* CbmRichPMTMapping::fRichRings
private

Definition at line 131 of file CbmRichPMTMapping.h.

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

◆ fRunTitle

TString CbmRichPMTMapping::fRunTitle
private

Definition at line 154 of file CbmRichPMTMapping.h.

Referenced by DrawHist(), and SetRunTitle().

◆ fTauFit

CbmRichRingFitterEllipseTau* CbmRichPMTMapping::fTauFit
private

Definition at line 157 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 31 of file CbmRichPMTMapping.h.


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