CbmRoot
|
#include <CbmRichMCbmSEDisplay.h>
Public Member Functions | |
CbmRichMCbmSEDisplay () | |
Standard constructor. More... | |
CbmRichMCbmSEDisplay (CbmHistManager *manager) | |
constructor with HistManager. More... | |
virtual | ~CbmRichMCbmSEDisplay () |
Standard destructor. More... | |
void | DrawEvent (CbmEvent *ev, std::vector< int > &ringIndx, bool full) |
Draw histograms. More... | |
void | XOffsetHistos (Double_t val=0.) |
void | SetTotRich (Double_t min, Double_t max) |
void | SetRichHits (TClonesArray *hits=nullptr) |
void | SetRichRings (TClonesArray *ring=nullptr) |
void | SetTofTracks (TClonesArray *track=nullptr) |
void | SetMaxNofDrawnEvents (Int_t val=100) |
void | SetHistmanager (CbmHistManager *manager) |
void | SetOutDir (std::string dir) |
void | SetCanvasDir (std::string dir) |
Private Member Functions | |
template<typename T = CbmRichHit> | |
bool | doToT (T *hit) |
CbmRichMCbmSEDisplay (const CbmRichMCbmSEDisplay &) | |
Copy constructor. More... | |
CbmRichMCbmSEDisplay & | operator= (const CbmRichMCbmSEDisplay &) |
Assignment operator. More... | |
Private Attributes | |
TClonesArray * | fRichHits |
TClonesArray * | fRichRings |
TClonesArray * | fTofTracks |
Double_t | fXOffsetHisto |
Double_t | fTotRichMin |
Double_t | fTotRichMax |
Int_t | fNofDrawnEvents |
Int_t | fMaxNofDrawnEvents |
std::string | fOutputDir |
std::string | fFileName = "Ev" |
CbmHistManager * | fHM |
Definition at line 17 of file CbmRichMCbmSEDisplay.h.
CbmRichMCbmSEDisplay::CbmRichMCbmSEDisplay | ( | ) |
Standard constructor.
Definition at line 22 of file CbmRichMCbmSEDisplay.cxx.
CbmRichMCbmSEDisplay::CbmRichMCbmSEDisplay | ( | CbmHistManager * | manager | ) |
constructor with HistManager.
Definition at line 34 of file CbmRichMCbmSEDisplay.cxx.
|
inlinevirtual |
Standard destructor.
Definition at line 33 of file CbmRichMCbmSEDisplay.h.
|
private |
Copy constructor.
|
inlineprivate |
Definition at line 119 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
void CbmRichMCbmSEDisplay::DrawEvent | ( | CbmEvent * | ev, |
std::vector< int > & | ringIndx, | ||
bool | full = true |
||
) |
Draw histograms.
Definition at line 47 of file CbmRichMCbmSEDisplay.cxx.
References CbmHistManager::CreateCanvas(), doToT(), fFileName, fHM, fMaxNofDrawnEvents, fNofDrawnEvents, fOutputDir, fRichHits, fRichRings, fTofTracks, fXOffsetHisto, CbmRichRing::GetCenterX(), CbmRichRing::GetCenterY(), CbmTofTracklet::GetFitX(), CbmTofTracklet::GetFitY(), CbmRichRing::GetHit(), CbmEvent::GetIndex(), CbmEvent::GetNofData(), CbmRichRing::GetNofHits(), CbmRichRing::GetRadius(), CbmEvent::GetStartTime(), CbmHit::GetTime(), CbmTofTracklet::GetTime(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), i, kRichHit, kTofTrack, rings, x, and y.
Referenced by CbmRichMCbmQaRichOnly::Exec(), and CbmRichMCbmQaReal::Exec().
|
private |
Assignment operator.
|
inline |
Set the output directory of the Canvases
Definition at line 91 of file CbmRichMCbmSEDisplay.h.
Referenced by CbmRichMCbmQaReal::Init().
|
inline |
Limit of Single Event Displays that should be drawn
Definition at line 79 of file CbmRichMCbmSEDisplay.h.
|
inline |
Limit of Single Event Displays that should be drawn
Definition at line 73 of file CbmRichMCbmSEDisplay.h.
Referenced by CbmRichMCbmQaRichOnly::Init(), and CbmRichMCbmQaReal::Init().
|
inline |
Set the output directory of the Analysis
Definition at line 85 of file CbmRichMCbmSEDisplay.h.
Referenced by CbmRichMCbmQaRichOnly::Init(), and CbmRichMCbmQaReal::Init().
|
inline |
Set a pointer to the loaded Rich hits
Definition at line 58 of file CbmRichMCbmSEDisplay.h.
References hits.
Referenced by CbmRichMCbmQaRichOnly::Init(), and CbmRichMCbmQaReal::Init().
|
inline |
Set a pointer to the loaded Rich hits
Definition at line 63 of file CbmRichMCbmSEDisplay.h.
Referenced by CbmRichMCbmQaRichOnly::Init(), and CbmRichMCbmQaReal::Init().
|
inline |
Set a pointer to the loaded Rich hits
Definition at line 68 of file CbmRichMCbmSEDisplay.h.
References fTofTracks.
Referenced by CbmRichMCbmQaReal::Init().
|
inline |
Set an ToT cut of the RICH Hits.
Definition at line 50 of file CbmRichMCbmSEDisplay.h.
Referenced by CbmRichMCbmQaRichOnly::Init(), and CbmRichMCbmQaReal::Init().
|
inline |
Move X-Position of mRICH in Histograms (e.g. for Geometry changes)
Definition at line 45 of file CbmRichMCbmSEDisplay.h.
Referenced by CbmRichMCbmQaReal::Init().
|
private |
Definition at line 113 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
|
private |
Definition at line 115 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
|
private |
Definition at line 108 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
|
private |
Definition at line 106 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
|
private |
Definition at line 111 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
|
private |
Definition at line 94 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
|
private |
Definition at line 96 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
|
private |
Definition at line 98 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
|
private |
Definition at line 104 of file CbmRichMCbmSEDisplay.h.
|
private |
Definition at line 102 of file CbmRichMCbmSEDisplay.h.
|
private |
Definition at line 100 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().