CbmRoot
|
#include <CbmRichMCbmSEDisplay.h>
Public Member Functions | |
CbmRichMCbmSEDisplay () | |
Standard constructor. | |
CbmRichMCbmSEDisplay (CbmHistManager *manager) | |
constructor with HistManager. | |
virtual | ~CbmRichMCbmSEDisplay () |
Standard destructor. | |
void | DrawEvent (CbmEvent *ev, std::vector< int > &ringIndx, bool full) |
Draw histograms. | |
void | XOffsetHistos (Double_t val=0.) |
void | SetTotRich (Double_t min, Double_t max) |
void | SetLELimits (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. | |
CbmRichMCbmSEDisplay & | operator= (const CbmRichMCbmSEDisplay &) |
Assignment operator. | |
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" |
Double_t | fLEMin |
Double_t | fLEMax |
CbmHistManager * | fHM |
Definition at line 21 of file CbmRichMCbmSEDisplay.h.
CbmRichMCbmSEDisplay::CbmRichMCbmSEDisplay | ( | ) |
Standard constructor.
Definition at line 25 of file CbmRichMCbmSEDisplay.cxx.
CbmRichMCbmSEDisplay::CbmRichMCbmSEDisplay | ( | CbmHistManager * | manager | ) |
constructor with HistManager.
Definition at line 41 of file CbmRichMCbmSEDisplay.cxx.
|
inlinevirtual |
Standard destructor.
Definition at line 37 of file CbmRichMCbmSEDisplay.h.
|
private |
Copy constructor.
|
inlineprivate |
Definition at line 137 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
void CbmRichMCbmSEDisplay::DrawEvent | ( | CbmEvent * | ev, |
std::vector< int > & | ringIndx, | ||
bool | full = true ) |
Draw histograms.
Definition at line 58 of file CbmRichMCbmSEDisplay.cxx.
References CbmHistManager::CreateCanvas(), doToT(), fFileName, fHM, fLEMax, fLEMin, 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(), kRichHit, kTofTrack, rings, x, and y.
Referenced by CbmRichMCbmQaReal::Exec(), and CbmRichMCbmQaRichOnly::Exec().
|
private |
Assignment operator.
|
inline |
Set the output directory of the Canvases
Definition at line 105 of file CbmRichMCbmSEDisplay.h.
References fFileName.
Referenced by CbmRichMCbmQaReal::Init().
|
inline |
Limit of Single Event Displays that should be drawn
Definition at line 93 of file CbmRichMCbmSEDisplay.h.
References fHM.
|
inline |
Set an LE Limits
Definition at line 63 of file CbmRichMCbmSEDisplay.h.
References fLEMax, fLEMin, max(), and min().
Referenced by CbmRichMCbmQaReal::Init().
|
inline |
Limit of Single Event Displays that should be drawn
Definition at line 87 of file CbmRichMCbmSEDisplay.h.
References fMaxNofDrawnEvents.
Referenced by CbmRichMCbmQaReal::Init(), and CbmRichMCbmQaRichOnly::Init().
|
inline |
Set the output directory of the Analysis
Definition at line 99 of file CbmRichMCbmSEDisplay.h.
References fOutputDir.
Referenced by CbmRichMCbmQaReal::Init(), and CbmRichMCbmQaRichOnly::Init().
|
inline |
Set a pointer to the loaded Rich hits
Definition at line 72 of file CbmRichMCbmSEDisplay.h.
References fRichHits, and hits.
Referenced by CbmRichMCbmQaReal::Init(), and CbmRichMCbmQaRichOnly::Init().
|
inline |
Set a pointer to the loaded Rich hits
Definition at line 77 of file CbmRichMCbmSEDisplay.h.
References fRichRings.
Referenced by CbmRichMCbmQaReal::Init(), and CbmRichMCbmQaRichOnly::Init().
|
inline |
Set a pointer to the loaded Rich hits
Definition at line 82 of file CbmRichMCbmSEDisplay.h.
References fTofTracks.
Referenced by CbmRichMCbmQaReal::Init().
|
inline |
Set an ToT cut of the RICH Hits.
Definition at line 54 of file CbmRichMCbmSEDisplay.h.
References fTotRichMax, fTotRichMin, max(), and min().
Referenced by CbmRichMCbmQaReal::Init(), and CbmRichMCbmQaRichOnly::Init().
|
inline |
Move X-Position of mRICH in Histograms (e.g. for Geometry changes)
Definition at line 49 of file CbmRichMCbmSEDisplay.h.
References fXOffsetHisto.
Referenced by CbmRichMCbmQaReal::Init(), and CbmRichMCbmQaRichOnly::Init().
|
private |
Definition at line 127 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent(), and SetCanvasDir().
|
private |
Definition at line 133 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent(), and SetHistmanager().
|
private |
Definition at line 131 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent(), and SetLELimits().
|
private |
Definition at line 129 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent(), and SetLELimits().
|
private |
Definition at line 122 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent(), and SetMaxNofDrawnEvents().
|
private |
Definition at line 120 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent().
|
private |
Definition at line 125 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent(), and SetOutDir().
|
private |
Definition at line 108 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent(), and SetRichHits().
|
private |
Definition at line 110 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent(), and SetRichRings().
|
private |
Definition at line 112 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent(), and SetTofTracks().
|
private |
Definition at line 118 of file CbmRichMCbmSEDisplay.h.
Referenced by SetTotRich().
|
private |
Definition at line 116 of file CbmRichMCbmSEDisplay.h.
Referenced by SetTotRich().
|
private |
Definition at line 114 of file CbmRichMCbmSEDisplay.h.
Referenced by DrawEvent(), and XOffsetHistos().