CbmRoot
CbmRichEventDisplay Class Reference

Event display for the RICH detector. More...

#include <CbmRichEventDisplay.h>

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

Public Member Functions

 CbmRichEventDisplay ()
 Default constructor. More...
 
virtual ~CbmRichEventDisplay ()
 Destructor. More...
 
virtual InitStatus Init ()
 Inherited from FairTask. More...
 
virtual void Exec (Option_t *opt)
 Inherited from FairTask. More...
 
virtual void Finish ()
 Inherited from FairTask. More...
 
void SetDrawRings (bool b)
 
void SetDrawHits (bool b)
 
void SetDrawPoints (bool b)
 
void SetDrawProjections (bool b)
 
void SetOutputDir (const std::string &dir)
 Set output directory where you want to write results (figures and json). More...
 

Private Member Functions

void DrawOneEvent ()
 
void DrawOnePmtPlane (const std::string &plane)
 
void DrawCircle (CbmRichRing *ring)
 
 CbmRichEventDisplay (const CbmRichEventDisplay &)
 Copy constructor. More...
 
CbmRichEventDisplayoperator= (const CbmRichEventDisplay &)
 Assignment operator. More...
 
 ClassDef (CbmRichEventDisplay, 1)
 

Private Attributes

TClonesArray * fRichRings
 
TClonesArray * fRichHits
 
TClonesArray * fRichPoints
 
TClonesArray * fRichMatches
 
TClonesArray * fRichProjections
 
TClonesArray * fMcTracks
 
std::string fOutputDir
 
CbmHistManagerfHM
 
int fEventNum
 
bool fDrawRings
 
bool fDrawHits
 
bool fDrawPoints
 
bool fDrawProjections
 

Detailed Description

Event display for the RICH detector.

Author
Semen Lebedev
Date
2012

Definition at line 35 of file CbmRichEventDisplay.h.

Constructor & Destructor Documentation

◆ CbmRichEventDisplay() [1/2]

CbmRichEventDisplay::CbmRichEventDisplay ( )

Default constructor.

Definition at line 33 of file CbmRichEventDisplay.cxx.

References SetDefaultDrawStyle().

◆ ~CbmRichEventDisplay()

CbmRichEventDisplay::~CbmRichEventDisplay ( )
virtual

Destructor.

Definition at line 51 of file CbmRichEventDisplay.cxx.

◆ CbmRichEventDisplay() [2/2]

CbmRichEventDisplay::CbmRichEventDisplay ( const CbmRichEventDisplay )
private

Copy constructor.

Member Function Documentation

◆ ClassDef()

CbmRichEventDisplay::ClassDef ( CbmRichEventDisplay  ,
 
)
private

◆ DrawCircle()

void CbmRichEventDisplay::DrawCircle ( CbmRichRing ring)
private

◆ DrawOneEvent()

void CbmRichEventDisplay::DrawOneEvent ( )
private

Definition at line 101 of file CbmRichEventDisplay.cxx.

References CbmHistManager::CreateCanvas(), DrawH2(), DrawOnePmtPlane(), fEventNum, and fHM.

Referenced by Exec().

◆ DrawOnePmtPlane()

void CbmRichEventDisplay::DrawOnePmtPlane ( const std::string &  plane)
private

◆ Exec()

void CbmRichEventDisplay::Exec ( Option_t *  opt)
virtual

Inherited from FairTask.

Definition at line 95 of file CbmRichEventDisplay.cxx.

References DrawOneEvent(), fEventNum, and SetDefaultDrawStyle().

◆ Finish()

void CbmRichEventDisplay::Finish ( )
virtual

Inherited from FairTask.

Definition at line 199 of file CbmRichEventDisplay.cxx.

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

◆ Init()

InitStatus CbmRichEventDisplay::Init ( )
virtual

Inherited from FairTask.

Definition at line 54 of file CbmRichEventDisplay.cxx.

References fHM, fMcTracks, fRichHits, fRichMatches, fRichPoints, fRichProjections, and fRichRings.

◆ operator=()

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

Assignment operator.

◆ SetDrawHits()

void CbmRichEventDisplay::SetDrawHits ( bool  b)
inline

Definition at line 63 of file CbmRichEventDisplay.h.

References fDrawHits.

◆ SetDrawPoints()

void CbmRichEventDisplay::SetDrawPoints ( bool  b)
inline

Definition at line 64 of file CbmRichEventDisplay.h.

References fDrawPoints.

◆ SetDrawProjections()

void CbmRichEventDisplay::SetDrawProjections ( bool  b)
inline

Definition at line 65 of file CbmRichEventDisplay.h.

References fDrawProjections.

◆ SetDrawRings()

void CbmRichEventDisplay::SetDrawRings ( bool  b)
inline

Definition at line 62 of file CbmRichEventDisplay.h.

References fDrawRings.

◆ SetOutputDir()

void CbmRichEventDisplay::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 71 of file CbmRichEventDisplay.h.

References fOutputDir.

Member Data Documentation

◆ fDrawHits

bool CbmRichEventDisplay::fDrawHits
private

Definition at line 88 of file CbmRichEventDisplay.h.

Referenced by DrawOnePmtPlane(), and SetDrawHits().

◆ fDrawPoints

bool CbmRichEventDisplay::fDrawPoints
private

Definition at line 89 of file CbmRichEventDisplay.h.

Referenced by DrawOnePmtPlane(), and SetDrawPoints().

◆ fDrawProjections

bool CbmRichEventDisplay::fDrawProjections
private

Definition at line 90 of file CbmRichEventDisplay.h.

Referenced by DrawOnePmtPlane(), and SetDrawProjections().

◆ fDrawRings

bool CbmRichEventDisplay::fDrawRings
private

Definition at line 87 of file CbmRichEventDisplay.h.

Referenced by DrawOnePmtPlane(), and SetDrawRings().

◆ fEventNum

int CbmRichEventDisplay::fEventNum
private

Definition at line 85 of file CbmRichEventDisplay.h.

Referenced by DrawOneEvent(), and Exec().

◆ fHM

CbmHistManager* CbmRichEventDisplay::fHM
private

Definition at line 83 of file CbmRichEventDisplay.h.

Referenced by DrawOneEvent(), Finish(), and Init().

◆ fMcTracks

TClonesArray* CbmRichEventDisplay::fMcTracks
private

Definition at line 80 of file CbmRichEventDisplay.h.

Referenced by Init().

◆ fOutputDir

std::string CbmRichEventDisplay::fOutputDir
private

Definition at line 82 of file CbmRichEventDisplay.h.

Referenced by Finish(), and SetOutputDir().

◆ fRichHits

TClonesArray* CbmRichEventDisplay::fRichHits
private

Definition at line 75 of file CbmRichEventDisplay.h.

Referenced by DrawOnePmtPlane(), and Init().

◆ fRichMatches

TClonesArray* CbmRichEventDisplay::fRichMatches
private

Definition at line 77 of file CbmRichEventDisplay.h.

Referenced by Init().

◆ fRichPoints

TClonesArray* CbmRichEventDisplay::fRichPoints
private

Definition at line 76 of file CbmRichEventDisplay.h.

Referenced by DrawOnePmtPlane(), and Init().

◆ fRichProjections

TClonesArray* CbmRichEventDisplay::fRichProjections
private

Definition at line 78 of file CbmRichEventDisplay.h.

Referenced by DrawOnePmtPlane(), and Init().

◆ fRichRings

TClonesArray* CbmRichEventDisplay::fRichRings
private

Definition at line 74 of file CbmRichEventDisplay.h.

Referenced by DrawOnePmtPlane(), and Init().


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