CbmRoot
Loading...
Searching...
No Matches
CbmRichUrqmdTest Class Reference

#include <CbmRichUrqmdTest.h>

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

Public Member Functions

 CbmRichUrqmdTest ()
 Standard constructor.
 
virtual ~CbmRichUrqmdTest ()
 Standard destructor.
 
virtual InitStatus Init ()
 Inherited from FairTask.
 
virtual void Exec (Option_t *option)
 Inherited from FairTask.
 
virtual void Finish ()
 Inherited from FairTask.
 
void SetOutputDir (const std::string &dir)
 Set output directory where you want to write results (figures and json).
 

Private Member Functions

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

Private Attributes

CbmHistManagerfHM = nullptr
 
std::string fOutputDir = ""
 
TClonesArray * fRichHits = nullptr
 
TClonesArray * fRichRings = nullptr
 
CbmMCDataArrayfRichPoints = nullptr
 
CbmMCDataArrayfMcTracks = nullptr
 
TClonesArray * fRichRingMatches = nullptr
 
TClonesArray * fRichProjections = nullptr
 
CbmDigiManagerfDigiMan = nullptr
 
CbmMCEventListfEventList = nullptr
 
int fEventNum = 0
 
int fMinNofHits = 7
 
std::map< CbmLink, int > fNofHitsInRingMap
 
std::vector< std::pair< int, int > > fVertexZStsSlices
 

Detailed Description

Definition at line 22 of file CbmRichUrqmdTest.h.

Constructor & Destructor Documentation

◆ CbmRichUrqmdTest() [1/2]

CbmRichUrqmdTest::CbmRichUrqmdTest ( )

Standard constructor.

Definition at line 43 of file CbmRichUrqmdTest.cxx.

◆ ~CbmRichUrqmdTest()

CbmRichUrqmdTest::~CbmRichUrqmdTest ( )
virtual

Standard destructor.

Definition at line 45 of file CbmRichUrqmdTest.cxx.

◆ CbmRichUrqmdTest() [2/2]

CbmRichUrqmdTest::CbmRichUrqmdTest ( const CbmRichUrqmdTest & )
private

Copy constructor.

Member Function Documentation

◆ DrawHist()

◆ Exec()

void CbmRichUrqmdTest::Exec ( Option_t * option)
virtual

Inherited from FairTask.

Definition at line 70 of file CbmRichUrqmdTest.cxx.

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

◆ FillRichRingNofHits()

void CbmRichUrqmdTest::FillRichRingNofHits ( )
private

◆ Finish()

void CbmRichUrqmdTest::Finish ( )
virtual

◆ Init()

◆ InitHistograms()

void CbmRichUrqmdTest::InitHistograms ( )
private

◆ NofHitsAndPoints()

◆ NofProjections()

void CbmRichUrqmdTest::NofProjections ( )
private

Definition at line 362 of file CbmRichUrqmdTest.cxx.

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

Referenced by Exec().

◆ NofRings()

◆ operator=()

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

Assignment operator.

◆ PmtXYSource()

◆ SetOutputDir()

void CbmRichUrqmdTest::SetOutputDir ( const std::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 55 of file CbmRichUrqmdTest.h.

References fOutputDir.

◆ Vertex()

Member Data Documentation

◆ fDigiMan

CbmDigiManager* CbmRichUrqmdTest::fDigiMan = nullptr
private

Definition at line 69 of file CbmRichUrqmdTest.h.

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

◆ fEventList

CbmMCEventList* CbmRichUrqmdTest::fEventList = nullptr
private

Definition at line 70 of file CbmRichUrqmdTest.h.

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

◆ fEventNum

int CbmRichUrqmdTest::fEventNum = 0
private

Definition at line 72 of file CbmRichUrqmdTest.h.

Referenced by DrawHist(), and Exec().

◆ fHM

CbmHistManager* CbmRichUrqmdTest::fHM = nullptr
private

◆ fMcTracks

CbmMCDataArray* CbmRichUrqmdTest::fMcTracks = nullptr
private

◆ fMinNofHits

int CbmRichUrqmdTest::fMinNofHits = 7
private

Definition at line 73 of file CbmRichUrqmdTest.h.

Referenced by NofRings().

◆ fNofHitsInRingMap

std::map<CbmLink, int> CbmRichUrqmdTest::fNofHitsInRingMap
private

Definition at line 75 of file CbmRichUrqmdTest.h.

Referenced by FillRichRingNofHits(), and Vertex().

◆ fOutputDir

std::string CbmRichUrqmdTest::fOutputDir = ""
private

Definition at line 61 of file CbmRichUrqmdTest.h.

Referenced by Finish(), and SetOutputDir().

◆ fRichHits

TClonesArray* CbmRichUrqmdTest::fRichHits = nullptr
private

Definition at line 63 of file CbmRichUrqmdTest.h.

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

◆ fRichPoints

CbmMCDataArray* CbmRichUrqmdTest::fRichPoints = nullptr
private

Definition at line 65 of file CbmRichUrqmdTest.h.

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

◆ fRichProjections

TClonesArray* CbmRichUrqmdTest::fRichProjections = nullptr
private

Definition at line 68 of file CbmRichUrqmdTest.h.

Referenced by Init(), and NofProjections().

◆ fRichRingMatches

TClonesArray* CbmRichUrqmdTest::fRichRingMatches = nullptr
private

Definition at line 67 of file CbmRichUrqmdTest.h.

Referenced by Init(), and NofRings().

◆ fRichRings

TClonesArray* CbmRichUrqmdTest::fRichRings = nullptr
private

Definition at line 64 of file CbmRichUrqmdTest.h.

Referenced by Init(), and NofRings().

◆ fVertexZStsSlices

std::vector<std::pair<int, int> > CbmRichUrqmdTest::fVertexZStsSlices
private

Definition at line 77 of file CbmRichUrqmdTest.h.

Referenced by DrawHist(), Init(), InitHistograms(), and Vertex().


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