CbmRoot
|
Event display for the RICH detector. More...
#include <CbmRichEventDisplay.h>
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... | |
CbmRichEventDisplay & | operator= (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 |
CbmHistManager * | fHM |
int | fEventNum |
bool | fDrawRings |
bool | fDrawHits |
bool | fDrawPoints |
bool | fDrawProjections |
CbmRichEventDisplay::CbmRichEventDisplay | ( | ) |
Default constructor.
Definition at line 33 of file CbmRichEventDisplay.cxx.
References SetDefaultDrawStyle().
|
virtual |
Destructor.
Definition at line 51 of file CbmRichEventDisplay.cxx.
|
private |
Copy constructor.
|
private |
|
private |
Definition at line 186 of file CbmRichEventDisplay.cxx.
References CbmRichRing::GetCenterX(), CbmRichRing::GetCenterY(), and CbmRichRing::GetRadius().
Referenced by DrawOnePmtPlane().
|
private |
Definition at line 101 of file CbmRichEventDisplay.cxx.
References CbmHistManager::CreateCanvas(), DrawH2(), DrawOnePmtPlane(), fEventNum, and fHM.
Referenced by Exec().
|
private |
Definition at line 124 of file CbmRichEventDisplay.cxx.
References DrawCircle(), fDrawHits, fDrawPoints, fDrawProjections, fDrawRings, fRichHits, fRichPoints, fRichProjections, fRichRings, CbmRichRing::GetCenterY(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), and m.
Referenced by DrawOneEvent().
|
virtual |
Inherited from FairTask.
Definition at line 95 of file CbmRichEventDisplay.cxx.
References DrawOneEvent(), fEventNum, and SetDefaultDrawStyle().
|
virtual |
Inherited from FairTask.
Definition at line 199 of file CbmRichEventDisplay.cxx.
References fHM, fOutputDir, and CbmHistManager::SaveCanvasToImage().
|
virtual |
Inherited from FairTask.
Definition at line 54 of file CbmRichEventDisplay.cxx.
References fHM, fMcTracks, fRichHits, fRichMatches, fRichPoints, fRichProjections, and fRichRings.
|
private |
Assignment operator.
|
inline |
Definition at line 63 of file CbmRichEventDisplay.h.
References fDrawHits.
|
inline |
Definition at line 64 of file CbmRichEventDisplay.h.
References fDrawPoints.
|
inline |
Definition at line 65 of file CbmRichEventDisplay.h.
References fDrawProjections.
|
inline |
Definition at line 62 of file CbmRichEventDisplay.h.
References fDrawRings.
|
inline |
Set output directory where you want to write results (figures and json).
[in] | dir | Path to the output directory. |
Definition at line 71 of file CbmRichEventDisplay.h.
References fOutputDir.
|
private |
Definition at line 88 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and SetDrawHits().
|
private |
Definition at line 89 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and SetDrawPoints().
|
private |
Definition at line 90 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and SetDrawProjections().
|
private |
Definition at line 87 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and SetDrawRings().
|
private |
Definition at line 85 of file CbmRichEventDisplay.h.
Referenced by DrawOneEvent(), and Exec().
|
private |
Definition at line 83 of file CbmRichEventDisplay.h.
Referenced by DrawOneEvent(), Finish(), and Init().
|
private |
Definition at line 80 of file CbmRichEventDisplay.h.
Referenced by Init().
|
private |
Definition at line 82 of file CbmRichEventDisplay.h.
Referenced by Finish(), and SetOutputDir().
|
private |
Definition at line 75 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and Init().
|
private |
Definition at line 77 of file CbmRichEventDisplay.h.
Referenced by Init().
|
private |
Definition at line 76 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and Init().
|
private |
Definition at line 78 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and Init().
|
private |
Definition at line 74 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and Init().