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::~CbmRichPMTMapping ( )
virtual

Definition at line 83 of file CbmRichPMTMapping.cxx.

◆ CbmRichPMTMapping() [2/2]

CbmRichPMTMapping::CbmRichPMTMapping ( const CbmRichPMTMapping & )
private

References CbmRichPMTMapping().

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

References CbmRichPMTMapping().

◆ DrawHist()

void CbmRichPMTMapping::DrawHist ( )

Definition at line 1192 of file CbmRichPMTMapping.cxx.

References DrawH1(), DrawH2(), fHM, fOutputDir, fRunTitle, and Cbm::SaveCanvasAsImage().

Referenced by DrawHistFromFile(), and Finish().

◆ 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(), and fHM.

◆ 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, and fPathsMap.

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, and fPathsMap.

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 fHM, fPathsMap, and fPathsMapEllipse.

Referenced by Init().

◆ MatchFinder()

◆ operator=()

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

References CbmRichPMTMapping().

◆ ProjectionProducer()

◆ ProjectionProducer2()

◆ RotateAndCopyHitsToRingLight()

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

◆ 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 CbmRichPMTMapping(), 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 CbmRichPMTMapping(), Finish(), and SetDrawHist().

◆ fEventNum

UInt_t CbmRichPMTMapping::fEventNum
private

Definition at line 143 of file CbmRichPMTMapping.h.

Referenced by CbmRichPMTMapping(), and Exec().

◆ fGlobalTracks

TClonesArray* CbmRichPMTMapping::fGlobalTracks
private

◆ fGP

CbmRichRecGeoPar CbmRichPMTMapping::fGP
private

◆ 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 CbmRichPMTMapping(), DrawHist(), and SetOutputDir().

◆ fPathsMap

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

Definition at line 150 of file CbmRichPMTMapping.h.

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

◆ fPathsMapEllipse

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

Definition at line 151 of file CbmRichPMTMapping.h.

Referenced by CbmRichPMTMapping(), Init(), and InitHist().

◆ fRichHits

TClonesArray* CbmRichPMTMapping::fRichHits
private

Definition at line 130 of file CbmRichPMTMapping.h.

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

◆ fRichMCPoints

TClonesArray* CbmRichPMTMapping::fRichMCPoints
private

Definition at line 134 of file CbmRichPMTMapping.h.

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

◆ fRichMirrorPoints

TClonesArray* CbmRichPMTMapping::fRichMirrorPoints
private

◆ fRichPoints

TClonesArray* CbmRichPMTMapping::fRichPoints
private

◆ fRichProjections

TClonesArray* CbmRichPMTMapping::fRichProjections
private

Definition at line 133 of file CbmRichPMTMapping.h.

Referenced by CbmRichPMTMapping(), and Init().

◆ fRichRefPlanePoints

TClonesArray* CbmRichPMTMapping::fRichRefPlanePoints
private

◆ fRichRingMatches

TClonesArray* CbmRichPMTMapping::fRichRingMatches
private

Definition at line 136 of file CbmRichPMTMapping.h.

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

◆ fRichRings

TClonesArray* CbmRichPMTMapping::fRichRings
private

◆ fRunTitle

TString CbmRichPMTMapping::fRunTitle
private

Definition at line 154 of file CbmRichPMTMapping.h.

Referenced by CbmRichPMTMapping(), DrawHist(), and SetRunTitle().

◆ fTauFit

CbmRichRingFitterEllipseTau* CbmRichPMTMapping::fTauFit
private

◆ 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: