CbmRoot
CbmPsdMCbmQaReal Class Reference

#include <CbmPsdMCbmQaReal.h>

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

Public Member Functions

 CbmPsdMCbmQaReal ()
 Standard constructor. More...
 
virtual ~CbmPsdMCbmQaReal ()
 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...
 
void DoDrawCanvas (bool val=true)
 
void DoWriteHistToFile (bool val=true)
 

Private Member Functions

void InitHistograms ()
 Initialize histograms. More...
 
void DrawHist ()
 Draw histograms. More...
 
 CbmPsdMCbmQaReal (const CbmPsdMCbmQaReal &)
 Copy constructor. More...
 
CbmPsdMCbmQaRealoperator= (const CbmPsdMCbmQaReal &)
 Assignment operator. More...
 

Private Attributes

CbmDigiManagerfDigiMan = nullptr
 
TClonesArray * fT0Digis
 
TClonesArray * fPsdHits
 
TClonesArray * fTofHits
 
TClonesArray * fTofTracks
 
TClonesArray * fCbmEvent
 
CbmHistManagerfHM
 
Int_t fEntryNum
 
string fOutputDir
 
bool fDoWriteHistToFile = true
 
bool fDoDrawCanvas = true
 
bool fDigiHitsInitialized = false
 
Double_t fCbmEventStartTime = 0.
 

Detailed Description

Definition at line 20 of file CbmPsdMCbmQaReal.h.

Constructor & Destructor Documentation

◆ CbmPsdMCbmQaReal() [1/2]

CbmPsdMCbmQaReal::CbmPsdMCbmQaReal ( )

Standard constructor.

Definition at line 49 of file CbmPsdMCbmQaReal.cxx.

◆ ~CbmPsdMCbmQaReal()

virtual CbmPsdMCbmQaReal::~CbmPsdMCbmQaReal ( )
inlinevirtual

Standard destructor.

Definition at line 31 of file CbmPsdMCbmQaReal.h.

◆ CbmPsdMCbmQaReal() [2/2]

CbmPsdMCbmQaReal::CbmPsdMCbmQaReal ( const CbmPsdMCbmQaReal )
private

Copy constructor.

Member Function Documentation

◆ DoDrawCanvas()

void CbmPsdMCbmQaReal::DoDrawCanvas ( bool  val = true)
inline

Apply restriction to full mRICH Acceptance (for Simulations)

Definition at line 63 of file CbmPsdMCbmQaReal.h.

◆ DoWriteHistToFile()

void CbmPsdMCbmQaReal::DoWriteHistToFile ( bool  val = true)
inline

Apply restriction to full mRICH Acceptance (for Simulations)

Definition at line 68 of file CbmPsdMCbmQaReal.h.

◆ DrawFromFile()

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

Draw histogram from file.

Definition at line 502 of file CbmPsdMCbmQaReal.cxx.

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

◆ DrawHist()

void CbmPsdMCbmQaReal::DrawHist ( )
private

◆ Exec()

◆ Finish()

void CbmPsdMCbmQaReal::Finish ( )
virtual

◆ Init()

InitStatus CbmPsdMCbmQaReal::Init ( )
virtual

◆ InitHistograms()

void CbmPsdMCbmQaReal::InitHistograms ( )
private

Initialize histograms.

Definition at line 100 of file CbmPsdMCbmQaReal.cxx.

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

Referenced by Init().

◆ operator=()

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

Assignment operator.

◆ SetOutputDir()

void CbmPsdMCbmQaReal::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 52 of file CbmPsdMCbmQaReal.h.

Member Data Documentation

◆ fCbmEvent

TClonesArray* CbmPsdMCbmQaReal::fCbmEvent
private

Definition at line 78 of file CbmPsdMCbmQaReal.h.

Referenced by Exec(), and Init().

◆ fCbmEventStartTime

Double_t CbmPsdMCbmQaReal::fCbmEventStartTime = 0.
private

Definition at line 91 of file CbmPsdMCbmQaReal.h.

◆ fDigiHitsInitialized

bool CbmPsdMCbmQaReal::fDigiHitsInitialized = false
private

Definition at line 88 of file CbmPsdMCbmQaReal.h.

Referenced by Exec().

◆ fDigiMan

CbmDigiManager* CbmPsdMCbmQaReal::fDigiMan = nullptr
private

Definition at line 72 of file CbmPsdMCbmQaReal.h.

Referenced by Exec(), and Init().

◆ fDoDrawCanvas

bool CbmPsdMCbmQaReal::fDoDrawCanvas = true
private

Definition at line 86 of file CbmPsdMCbmQaReal.h.

Referenced by Finish().

◆ fDoWriteHistToFile

bool CbmPsdMCbmQaReal::fDoWriteHistToFile = true
private

Definition at line 85 of file CbmPsdMCbmQaReal.h.

Referenced by Finish().

◆ fEntryNum

Int_t CbmPsdMCbmQaReal::fEntryNum
private

Definition at line 82 of file CbmPsdMCbmQaReal.h.

Referenced by Exec().

◆ fHM

CbmHistManager* CbmPsdMCbmQaReal::fHM
private

Definition at line 80 of file CbmPsdMCbmQaReal.h.

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

◆ fOutputDir

string CbmPsdMCbmQaReal::fOutputDir
private

Definition at line 83 of file CbmPsdMCbmQaReal.h.

Referenced by DrawFromFile(), and Finish().

◆ fPsdHits

TClonesArray* CbmPsdMCbmQaReal::fPsdHits
private

Definition at line 75 of file CbmPsdMCbmQaReal.h.

Referenced by Exec(), and Init().

◆ fT0Digis

TClonesArray* CbmPsdMCbmQaReal::fT0Digis
private

Definition at line 74 of file CbmPsdMCbmQaReal.h.

◆ fTofHits

TClonesArray* CbmPsdMCbmQaReal::fTofHits
private

Definition at line 76 of file CbmPsdMCbmQaReal.h.

Referenced by Exec(), and Init().

◆ fTofTracks

TClonesArray* CbmPsdMCbmQaReal::fTofTracks
private

Definition at line 77 of file CbmPsdMCbmQaReal.h.

Referenced by Exec(), and Init().


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