CbmRoot
CbmRichUrqmdTest Class Reference

RICH geometry testing in Urqmd collisions. More...

#include <CbmRichUrqmdTest.h>

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

Public Member Functions

 CbmRichUrqmdTest ()
 Standard constructor. More...
 
virtual ~CbmRichUrqmdTest ()
 Standard destructor. More...
 
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 SetOutputDir (const string &dir)
 Set output directory where you want to write results (figures and json). More...
 

Private Member Functions

void InitHistograms ()
 Initialize histograms. More...
 
void FillRichRingNofHits ()
 
void NofRings ()
 
void NofHitsAndPoints ()
 
void NofProjections ()
 
void Vertex ()
 
void DrawHist ()
 Draw histograms. More...
 
void PmtXYSource ()
 
 CbmRichUrqmdTest (const CbmRichUrqmdTest &)
 Copy constructor. More...
 
CbmRichUrqmdTestoperator= (const CbmRichUrqmdTest &)
 Assignment operator. More...
 

Private Attributes

CbmHistManagerfHM
 
string fOutputDir
 
TClonesArray * fRichHits
 
TClonesArray * fRichRings
 
CbmMCDataArrayfRichPoints
 
CbmMCDataArrayfMcTracks
 
TClonesArray * fRichRingMatches
 
TClonesArray * fRichProjections
 
CbmDigiManagerfDigiMan
 
CbmMCEventListfEventList
 
Int_t fEventNum
 
Int_t fMinNofHits
 
std::map< pair< Int_t, Int_t >, Int_t > fNofHitsInRingMap
 

Detailed Description

RICH geometry testing in Urqmd collisions.

Author
Semen Lebedev s.leb.nosp@m.edev.nosp@m.@gsi..nosp@m.de
Date
2012

Definition at line 35 of file CbmRichUrqmdTest.h.

Constructor & Destructor Documentation

◆ CbmRichUrqmdTest() [1/2]

CbmRichUrqmdTest::CbmRichUrqmdTest ( )

Standard constructor.

Definition at line 45 of file CbmRichUrqmdTest.cxx.

◆ ~CbmRichUrqmdTest()

CbmRichUrqmdTest::~CbmRichUrqmdTest ( )
virtual

Standard destructor.

Definition at line 61 of file CbmRichUrqmdTest.cxx.

◆ CbmRichUrqmdTest() [2/2]

CbmRichUrqmdTest::CbmRichUrqmdTest ( const CbmRichUrqmdTest )
private

Copy constructor.

Member Function Documentation

◆ DrawHist()

void CbmRichUrqmdTest::DrawHist ( )
private

◆ Exec()

void CbmRichUrqmdTest::Exec ( Option_t *  option)
virtual

Inherited from FairTask.

Definition at line 114 of file CbmRichUrqmdTest.cxx.

References fEventNum, FillRichRingNofHits(), NofHitsAndPoints(), NofProjections(), NofRings(), PmtXYSource(), and Vertex().

◆ FillRichRingNofHits()

◆ Finish()

void CbmRichUrqmdTest::Finish ( )
virtual

Inherited from FairTask.

Definition at line 1118 of file CbmRichUrqmdTest.cxx.

References DrawHist(), fHM, fOutputDir, CbmHistManager::SaveCanvasToImage(), and CbmHistManager::WriteToFile().

◆ Init()

◆ InitHistograms()

void CbmRichUrqmdTest::InitHistograms ( )
private

◆ NofHitsAndPoints()

◆ NofProjections()

void CbmRichUrqmdTest::NofProjections ( )
private

Definition at line 682 of file CbmRichUrqmdTest.cxx.

References fHM, fRichProjections, CbmHistManager::H1(), CbmHistManager::H2(), and i.

Referenced by Exec().

◆ NofRings()

◆ operator=()

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

Assignment operator.

◆ PmtXYSource()

◆ SetOutputDir()

void CbmRichUrqmdTest::SetOutputDir ( const string &  dir)
inline

Set output directory where you want to write results (figures and json).

Parameters
[in]dirPath to the output directory.

Definition at line 68 of file CbmRichUrqmdTest.h.

◆ Vertex()

Member Data Documentation

◆ fDigiMan

CbmDigiManager* CbmRichUrqmdTest::fDigiMan
private

Definition at line 130 of file CbmRichUrqmdTest.h.

Referenced by FillRichRingNofHits(), Init(), and NofHitsAndPoints().

◆ fEventList

CbmMCEventList* CbmRichUrqmdTest::fEventList
private

Definition at line 131 of file CbmRichUrqmdTest.h.

Referenced by Init(), NofHitsAndPoints(), PmtXYSource(), and Vertex().

◆ fEventNum

Int_t CbmRichUrqmdTest::fEventNum
private

Definition at line 133 of file CbmRichUrqmdTest.h.

Referenced by DrawHist(), and Exec().

◆ fHM

CbmHistManager* CbmRichUrqmdTest::fHM
private

◆ fMcTracks

CbmMCDataArray* CbmRichUrqmdTest::fMcTracks
private

◆ fMinNofHits

Int_t CbmRichUrqmdTest::fMinNofHits
private

Definition at line 135 of file CbmRichUrqmdTest.h.

Referenced by NofRings().

◆ fNofHitsInRingMap

std::map<pair<Int_t, Int_t>, Int_t> CbmRichUrqmdTest::fNofHitsInRingMap
private

Definition at line 138 of file CbmRichUrqmdTest.h.

Referenced by FillRichRingNofHits(), and Vertex().

◆ fOutputDir

string CbmRichUrqmdTest::fOutputDir
private

Definition at line 122 of file CbmRichUrqmdTest.h.

Referenced by Finish().

◆ fRichHits

TClonesArray* CbmRichUrqmdTest::fRichHits
private

Definition at line 124 of file CbmRichUrqmdTest.h.

Referenced by FillRichRingNofHits(), Init(), and NofHitsAndPoints().

◆ fRichPoints

CbmMCDataArray* CbmRichUrqmdTest::fRichPoints
private

Definition at line 126 of file CbmRichUrqmdTest.h.

Referenced by FillRichRingNofHits(), Init(), NofHitsAndPoints(), and PmtXYSource().

◆ fRichProjections

TClonesArray* CbmRichUrqmdTest::fRichProjections
private

Definition at line 129 of file CbmRichUrqmdTest.h.

Referenced by Init(), and NofProjections().

◆ fRichRingMatches

TClonesArray* CbmRichUrqmdTest::fRichRingMatches
private

Definition at line 128 of file CbmRichUrqmdTest.h.

Referenced by Init(), and NofRings().

◆ fRichRings

TClonesArray* CbmRichUrqmdTest::fRichRings
private

Definition at line 125 of file CbmRichUrqmdTest.h.

Referenced by Init(), and NofRings().


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