CbmRoot
CbmRichMCbmQa Class Reference

#include <CbmRichMCbmQa.h>

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

Public Member Functions

 CbmRichMCbmQa ()
 Standard constructor. More...
 
virtual ~CbmRichMCbmQa ()
 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...
 
void DrawFromFile (const string &fileName, const string &outputDir)
 Draw histogram from file. More...
 

Private Member Functions

void InitHistograms ()
 Initialize histograms. More...
 
void DrawHist ()
 Draw histograms. More...
 
vector< Double_t > GetHistBins (Bool_t isX)
 
void DrawCircle (CbmRichRing *ring)
 
void DrawEvent ()
 
 CbmRichMCbmQa (const CbmRichMCbmQa &)
 Copy constructor. More...
 
CbmRichMCbmQaoperator= (const CbmRichMCbmQa &)
 Assignment operator. More...
 

Private Attributes

CbmHistManagerfHM
 
Int_t fEventNum
 
string fOutputDir
 
TClonesArray * fMCTracks
 
TClonesArray * fRichPoints
 
TClonesArray * fRichDigis
 
TClonesArray * fRichHits
 
TClonesArray * fRichRings
 
TClonesArray * fRichRingMatches
 
TClonesArray * fRefPlanePoints
 
TClonesArray * fGlobalTracks
 
TClonesArray * fTrdTracks
 
TClonesArray * fTofHits
 
TClonesArray * fTofPoints
 
TClonesArray * fTofHitMatches
 

Detailed Description

Definition at line 16 of file CbmRichMCbmQa.h.

Constructor & Destructor Documentation

◆ CbmRichMCbmQa() [1/2]

CbmRichMCbmQa::CbmRichMCbmQa ( )

Standard constructor.

Definition at line 44 of file CbmRichMCbmQa.cxx.

◆ ~CbmRichMCbmQa()

virtual CbmRichMCbmQa::~CbmRichMCbmQa ( )
inlinevirtual

Standard destructor.

Definition at line 27 of file CbmRichMCbmQa.h.

◆ CbmRichMCbmQa() [2/2]

CbmRichMCbmQa::CbmRichMCbmQa ( const CbmRichMCbmQa )
private

Copy constructor.

Member Function Documentation

◆ DrawCircle()

void CbmRichMCbmQa::DrawCircle ( CbmRichRing ring)
private

◆ DrawEvent()

void CbmRichMCbmQa::DrawEvent ( )
private

◆ DrawFromFile()

void CbmRichMCbmQa::DrawFromFile ( const string &  fileName,
const string &  outputDir 
)

Draw histogram from file.

Definition at line 745 of file CbmRichMCbmQa.cxx.

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

◆ DrawHist()

void CbmRichMCbmQa::DrawHist ( )
private

◆ Exec()

◆ Finish()

void CbmRichMCbmQa::Finish ( )
virtual

Inherited from FairTask.

Definition at line 738 of file CbmRichMCbmQa.cxx.

References fHM, and CbmHistManager::WriteToFile().

◆ GetHistBins()

vector<Double_t> CbmRichMCbmQa::GetHistBins ( Bool_t  isX)
private

Return low edges of the histogram bins which matches pixel structure.

◆ Init()

InitStatus CbmRichMCbmQa::Init ( )
virtual

◆ InitHistograms()

void CbmRichMCbmQa::InitHistograms ( )
private

Initialize histograms.

Definition at line 153 of file CbmRichMCbmQa.cxx.

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

Referenced by Init().

◆ operator=()

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

Assignment operator.

◆ SetOutputDir()

void CbmRichMCbmQa::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 48 of file CbmRichMCbmQa.h.

Member Data Documentation

◆ fEventNum

Int_t CbmRichMCbmQa::fEventNum
private

Definition at line 91 of file CbmRichMCbmQa.h.

Referenced by DrawEvent(), and Exec().

◆ fGlobalTracks

TClonesArray* CbmRichMCbmQa::fGlobalTracks
private

Definition at line 104 of file CbmRichMCbmQa.h.

◆ fHM

CbmHistManager* CbmRichMCbmQa::fHM
private

Definition at line 88 of file CbmRichMCbmQa.h.

Referenced by DrawEvent(), DrawFromFile(), DrawHist(), Exec(), Finish(), and InitHistograms().

◆ fMCTracks

TClonesArray* CbmRichMCbmQa::fMCTracks
private

Definition at line 97 of file CbmRichMCbmQa.h.

Referenced by Exec(), and Init().

◆ fOutputDir

string CbmRichMCbmQa::fOutputDir
private

Definition at line 94 of file CbmRichMCbmQa.h.

Referenced by DrawFromFile().

◆ fRefPlanePoints

TClonesArray* CbmRichMCbmQa::fRefPlanePoints
private

Definition at line 103 of file CbmRichMCbmQa.h.

Referenced by Init().

◆ fRichDigis

TClonesArray* CbmRichMCbmQa::fRichDigis
private

Definition at line 99 of file CbmRichMCbmQa.h.

Referenced by Init().

◆ fRichHits

TClonesArray* CbmRichMCbmQa::fRichHits
private

Definition at line 100 of file CbmRichMCbmQa.h.

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

◆ fRichPoints

TClonesArray* CbmRichMCbmQa::fRichPoints
private

Definition at line 98 of file CbmRichMCbmQa.h.

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

◆ fRichRingMatches

TClonesArray* CbmRichMCbmQa::fRichRingMatches
private

Definition at line 102 of file CbmRichMCbmQa.h.

Referenced by Exec(), and Init().

◆ fRichRings

TClonesArray* CbmRichMCbmQa::fRichRings
private

Definition at line 101 of file CbmRichMCbmQa.h.

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

◆ fTofHitMatches

TClonesArray* CbmRichMCbmQa::fTofHitMatches
private

Definition at line 108 of file CbmRichMCbmQa.h.

Referenced by Exec(), and Init().

◆ fTofHits

TClonesArray* CbmRichMCbmQa::fTofHits
private

Definition at line 106 of file CbmRichMCbmQa.h.

Referenced by Exec(), and Init().

◆ fTofPoints

TClonesArray* CbmRichMCbmQa::fTofPoints
private

Definition at line 107 of file CbmRichMCbmQa.h.

Referenced by Exec(), and Init().

◆ fTrdTracks

TClonesArray* CbmRichMCbmQa::fTrdTracks
private

Definition at line 105 of file CbmRichMCbmQa.h.


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