|
CbmRoot
|
Event display for the RICH detector. More...
#include <CbmRichEventDisplay.h>
Public Member Functions | |
| CbmRichEventDisplay () | |
| ~CbmRichEventDisplay ()=default | |
| CbmRichEventDisplay (const CbmRichEventDisplay &)=delete | |
| CbmRichEventDisplay & | operator= (const CbmRichEventDisplay &)=delete |
| InitStatus | Init () |
| void | Exec (Option_t *opt) |
| void | Finish () |
| 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). | |
| void | SetOutputFormat (const std::string &format) |
| Set output file format (any combination of png, gif, eps, svg and pdf). | |
Private Member Functions | |
| void | DrawOneEvent (CbmEvent *event) |
| void | DrawOnePmtPlane (const std::string &plane, CbmEvent *event) |
| void | DrawEllipse (CbmRichRing *ring) |
| ClassDef (CbmRichEventDisplay, 2) | |
Private Attributes | |
| int | fEventNum {} |
| CbmDigiManager * | fDigiManager {nullptr} |
| CbmHistManager * | fHM {nullptr} |
| TClonesArray * | fCbmEvents {nullptr} |
| TClonesArray * | fRichPoints {nullptr} |
| TClonesArray * | fRichHits {nullptr} |
| TClonesArray * | fRichRings {nullptr} |
| TClonesArray * | fRichMatches {nullptr} |
| TClonesArray * | fRichProjections {nullptr} |
| std::string | fOutputDir {"RichEventDisplays"} |
| std::string | fOutputFormat {"png,pdf"} |
| bool | fDrawRings {true} |
| bool | fDrawHits {true} |
| bool | fDrawPoints {false} |
| bool | fDrawProjections {true} |
|
inline |
Default constructor
Definition at line 40 of file CbmRichEventDisplay.h.
Referenced by CbmRichEventDisplay(), ClassDef(), and operator=().
|
default |
Destructor
|
delete |
Copy constructor (disabled)
References CbmRichEventDisplay().
|
private |
References CbmRichEventDisplay().
|
private |
Definition at line 163 of file CbmRichEventDisplay.cxx.
References CbmRichRing::GetCenterX(), CbmRichRing::GetCenterY(), and CbmRichRing::GetRadius().
Referenced by DrawOnePmtPlane().
|
private |
Definition at line 72 of file CbmRichEventDisplay.cxx.
References DrawH2(), DrawOnePmtPlane(), fEventNum, and fHM.
Referenced by Exec().
|
private |
Definition at line 95 of file CbmRichEventDisplay.cxx.
References DrawEllipse(), fDrawHits, fDrawPoints, fDrawProjections, fDrawRings, fRichHits, fRichPoints, fRichProjections, fRichRings, CbmRichRing::GetCenterY(), CbmEvent::GetIndex(), CbmRichGeoManager::GetInstance(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), kRichHit, kRichRing, kRichTrackProjection, and CbmRichGeoManager::RotatePoint().
Referenced by DrawOneEvent().
| void CbmRichEventDisplay::Exec | ( | Option_t * | opt | ) |
Inherited from FairTask
Definition at line 62 of file CbmRichEventDisplay.cxx.
References DrawOneEvent(), fCbmEvents, fEventNum, and SetDefaultDrawStyle().
| void CbmRichEventDisplay::Finish | ( | ) |
Inherited from FairTask
Definition at line 176 of file CbmRichEventDisplay.cxx.
References fHM, fOutputDir, and fOutputFormat.
| InitStatus CbmRichEventDisplay::Init | ( | ) |
Inherited from FairTask
Definition at line 33 of file CbmRichEventDisplay.cxx.
References fCbmEvents, fDigiManager, fDrawHits, fDrawPoints, fDrawProjections, fDrawRings, fHM, fRichHits, fRichPoints, fRichProjections, fRichRings, CbmDigiManager::Instance(), and kRich.
|
delete |
Assignment operator (disabled)
References CbmRichEventDisplay().
|
inline |
Draw hits (Enabled by default)
Definition at line 64 of file CbmRichEventDisplay.h.
References fDrawHits.
|
inline |
Draw points (Disabled by default)
Definition at line 67 of file CbmRichEventDisplay.h.
References fDrawPoints.
|
inline |
Draw projections (Enabled by default)
Definition at line 70 of file CbmRichEventDisplay.h.
References fDrawProjections.
|
inline |
Draw rings (Enabled by default)
Definition at line 61 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 76 of file CbmRichEventDisplay.h.
References fOutputDir.
|
inline |
Set output file format (any combination of png, gif, eps, svg and pdf).
| [in] | format | File format, e.g. png or png,pdf. (Default: png,pdf) |
Definition at line 82 of file CbmRichEventDisplay.h.
References fOutputFormat.
|
private |
Definition at line 90 of file CbmRichEventDisplay.h.
|
private |
Definition at line 87 of file CbmRichEventDisplay.h.
Referenced by Init().
|
private |
Definition at line 101 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), Init(), and SetDrawHits().
|
private |
Definition at line 102 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), Init(), and SetDrawPoints().
|
private |
Definition at line 103 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), Init(), and SetDrawProjections().
|
private |
Definition at line 100 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), Init(), and SetDrawRings().
|
private |
Definition at line 85 of file CbmRichEventDisplay.h.
Referenced by DrawOneEvent(), and Exec().
|
private |
Definition at line 88 of file CbmRichEventDisplay.h.
Referenced by DrawOneEvent(), Finish(), and Init().
|
private |
Definition at line 97 of file CbmRichEventDisplay.h.
Referenced by Finish(), and SetOutputDir().
|
private |
Definition at line 98 of file CbmRichEventDisplay.h.
Referenced by Finish(), and SetOutputFormat().
|
private |
Definition at line 92 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and Init().
|
private |
Definition at line 94 of file CbmRichEventDisplay.h.
|
private |
Definition at line 91 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and Init().
|
private |
Definition at line 95 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and Init().
|
private |
Definition at line 93 of file CbmRichEventDisplay.h.
Referenced by DrawOnePmtPlane(), and Init().