CbmRoot
Loading...
Searching...
No Matches
CbmRichMCbmSEDisplay Class Reference

#include <CbmRichMCbmSEDisplay.h>

Collaboration diagram for CbmRichMCbmSEDisplay:
[legend]

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.
 
CbmRichMCbmSEDisplayoperator= (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
 
CbmHistManagerfHM
 

Detailed Description

Definition at line 21 of file CbmRichMCbmSEDisplay.h.

Constructor & Destructor Documentation

◆ CbmRichMCbmSEDisplay() [1/3]

CbmRichMCbmSEDisplay::CbmRichMCbmSEDisplay ( )

Standard constructor.

Definition at line 25 of file CbmRichMCbmSEDisplay.cxx.

◆ CbmRichMCbmSEDisplay() [2/3]

CbmRichMCbmSEDisplay::CbmRichMCbmSEDisplay ( CbmHistManager * manager)

constructor with HistManager.

Definition at line 41 of file CbmRichMCbmSEDisplay.cxx.

◆ ~CbmRichMCbmSEDisplay()

virtual CbmRichMCbmSEDisplay::~CbmRichMCbmSEDisplay ( )
inlinevirtual

Standard destructor.

Definition at line 37 of file CbmRichMCbmSEDisplay.h.

◆ CbmRichMCbmSEDisplay() [3/3]

CbmRichMCbmSEDisplay::CbmRichMCbmSEDisplay ( const CbmRichMCbmSEDisplay & )
private

Copy constructor.

Member Function Documentation

◆ doToT()

template<typename T = CbmRichHit>
bool CbmRichMCbmSEDisplay::doToT ( T * hit)
inlineprivate

Definition at line 137 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().

◆ DrawEvent()

◆ operator=()

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

Assignment operator.

◆ SetCanvasDir()

void CbmRichMCbmSEDisplay::SetCanvasDir ( std::string dir)
inline

Set the output directory of the Canvases

Definition at line 105 of file CbmRichMCbmSEDisplay.h.

References fFileName.

Referenced by CbmRichMCbmQaReal::Init().

◆ SetHistmanager()

void CbmRichMCbmSEDisplay::SetHistmanager ( CbmHistManager * manager)
inline

Limit of Single Event Displays that should be drawn

Definition at line 93 of file CbmRichMCbmSEDisplay.h.

References fHM.

◆ SetLELimits()

void CbmRichMCbmSEDisplay::SetLELimits ( Double_t min,
Double_t max )
inline

Set an LE Limits

Definition at line 63 of file CbmRichMCbmSEDisplay.h.

References fLEMax, fLEMin, max(), and min().

Referenced by CbmRichMCbmQaReal::Init().

◆ SetMaxNofDrawnEvents()

void CbmRichMCbmSEDisplay::SetMaxNofDrawnEvents ( Int_t val = 100)
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().

◆ SetOutDir()

void CbmRichMCbmSEDisplay::SetOutDir ( std::string dir)
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().

◆ SetRichHits()

void CbmRichMCbmSEDisplay::SetRichHits ( TClonesArray * hits = nullptr)
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().

◆ SetRichRings()

void CbmRichMCbmSEDisplay::SetRichRings ( TClonesArray * ring = nullptr)
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().

◆ SetTofTracks()

void CbmRichMCbmSEDisplay::SetTofTracks ( TClonesArray * track = nullptr)
inline

Set a pointer to the loaded Rich hits

Definition at line 82 of file CbmRichMCbmSEDisplay.h.

References fTofTracks.

Referenced by CbmRichMCbmQaReal::Init().

◆ SetTotRich()

void CbmRichMCbmSEDisplay::SetTotRich ( Double_t min,
Double_t max )
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().

◆ XOffsetHistos()

void CbmRichMCbmSEDisplay::XOffsetHistos ( Double_t val = 0.)
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().

Member Data Documentation

◆ fFileName

std::string CbmRichMCbmSEDisplay::fFileName = "Ev"
private

Definition at line 127 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent(), and SetCanvasDir().

◆ fHM

CbmHistManager* CbmRichMCbmSEDisplay::fHM
private

Definition at line 133 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent(), and SetHistmanager().

◆ fLEMax

Double_t CbmRichMCbmSEDisplay::fLEMax
private

Definition at line 131 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent(), and SetLELimits().

◆ fLEMin

Double_t CbmRichMCbmSEDisplay::fLEMin
private

Definition at line 129 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent(), and SetLELimits().

◆ fMaxNofDrawnEvents

Int_t CbmRichMCbmSEDisplay::fMaxNofDrawnEvents
private

Definition at line 122 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent(), and SetMaxNofDrawnEvents().

◆ fNofDrawnEvents

Int_t CbmRichMCbmSEDisplay::fNofDrawnEvents
private

Definition at line 120 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().

◆ fOutputDir

std::string CbmRichMCbmSEDisplay::fOutputDir
private

Definition at line 125 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent(), and SetOutDir().

◆ fRichHits

TClonesArray* CbmRichMCbmSEDisplay::fRichHits
private

Definition at line 108 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent(), and SetRichHits().

◆ fRichRings

TClonesArray* CbmRichMCbmSEDisplay::fRichRings
private

Definition at line 110 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent(), and SetRichRings().

◆ fTofTracks

TClonesArray* CbmRichMCbmSEDisplay::fTofTracks
private

Definition at line 112 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent(), and SetTofTracks().

◆ fTotRichMax

Double_t CbmRichMCbmSEDisplay::fTotRichMax
private

Definition at line 118 of file CbmRichMCbmSEDisplay.h.

Referenced by SetTotRich().

◆ fTotRichMin

Double_t CbmRichMCbmSEDisplay::fTotRichMin
private

Definition at line 116 of file CbmRichMCbmSEDisplay.h.

Referenced by SetTotRich().

◆ fXOffsetHisto

Double_t CbmRichMCbmSEDisplay::fXOffsetHisto
private

Definition at line 114 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent(), and XOffsetHistos().


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