CbmRoot
CbmRichMCbmSEDisplay Class Reference

#include <CbmRichMCbmSEDisplay.h>

Collaboration diagram for CbmRichMCbmSEDisplay:
[legend]

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

Detailed Description

Definition at line 17 of file CbmRichMCbmSEDisplay.h.

Constructor & Destructor Documentation

◆ CbmRichMCbmSEDisplay() [1/3]

CbmRichMCbmSEDisplay::CbmRichMCbmSEDisplay ( )

Standard constructor.

Definition at line 22 of file CbmRichMCbmSEDisplay.cxx.

◆ CbmRichMCbmSEDisplay() [2/3]

CbmRichMCbmSEDisplay::CbmRichMCbmSEDisplay ( CbmHistManager manager)

constructor with HistManager.

Definition at line 34 of file CbmRichMCbmSEDisplay.cxx.

◆ ~CbmRichMCbmSEDisplay()

virtual CbmRichMCbmSEDisplay::~CbmRichMCbmSEDisplay ( )
inlinevirtual

Standard destructor.

Definition at line 33 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 119 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 91 of file CbmRichMCbmSEDisplay.h.

Referenced by CbmRichMCbmQaReal::Init().

◆ SetHistmanager()

void CbmRichMCbmSEDisplay::SetHistmanager ( CbmHistManager manager)
inline

Limit of Single Event Displays that should be drawn

Definition at line 79 of file CbmRichMCbmSEDisplay.h.

◆ SetMaxNofDrawnEvents()

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

◆ SetOutDir()

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

Set the output directory of the Analysis

Definition at line 85 of file CbmRichMCbmSEDisplay.h.

Referenced by CbmRichMCbmQaRichOnly::Init(), and CbmRichMCbmQaReal::Init().

◆ SetRichHits()

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

◆ SetRichRings()

void CbmRichMCbmSEDisplay::SetRichRings ( TClonesArray *  ring = nullptr)
inline

Set a pointer to the loaded Rich hits

Definition at line 63 of file CbmRichMCbmSEDisplay.h.

Referenced by CbmRichMCbmQaRichOnly::Init(), and CbmRichMCbmQaReal::Init().

◆ SetTofTracks()

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

Set a pointer to the loaded Rich hits

Definition at line 68 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 50 of file CbmRichMCbmSEDisplay.h.

References max(), and min().

Referenced by CbmRichMCbmQaRichOnly::Init(), and CbmRichMCbmQaReal::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 45 of file CbmRichMCbmSEDisplay.h.

Referenced by CbmRichMCbmQaReal::Init().

Member Data Documentation

◆ fFileName

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

Definition at line 113 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().

◆ fHM

CbmHistManager* CbmRichMCbmSEDisplay::fHM
private

Definition at line 115 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().

◆ fMaxNofDrawnEvents

Int_t CbmRichMCbmSEDisplay::fMaxNofDrawnEvents
private

Definition at line 108 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().

◆ fNofDrawnEvents

Int_t CbmRichMCbmSEDisplay::fNofDrawnEvents
private

Definition at line 106 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().

◆ fOutputDir

std::string CbmRichMCbmSEDisplay::fOutputDir
private

Definition at line 111 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().

◆ fRichHits

TClonesArray* CbmRichMCbmSEDisplay::fRichHits
private

Definition at line 94 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().

◆ fRichRings

TClonesArray* CbmRichMCbmSEDisplay::fRichRings
private

Definition at line 96 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().

◆ fTofTracks

TClonesArray* CbmRichMCbmSEDisplay::fTofTracks
private

Definition at line 98 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().

◆ fTotRichMax

Double_t CbmRichMCbmSEDisplay::fTotRichMax
private

Definition at line 104 of file CbmRichMCbmSEDisplay.h.

◆ fTotRichMin

Double_t CbmRichMCbmSEDisplay::fTotRichMin
private

Definition at line 102 of file CbmRichMCbmSEDisplay.h.

◆ fXOffsetHisto

Double_t CbmRichMCbmSEDisplay::fXOffsetHisto
private

Definition at line 100 of file CbmRichMCbmSEDisplay.h.

Referenced by DrawEvent().


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