REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Protected Member Functions | Protected Attributes
TRestEventViewer Class Reference

Detailed Description

Definition at line 33 of file TRestEventViewer.h.

Inheritance diagram for TRestEventViewer:
TRestDetectorReadoutEventViewer TRestEveEventViewer TRestDetectorHitsEventViewer TRestGeant4EventViewer

Public Member Functions

virtual void AddEvent (TRestEvent *ev)
 
virtual void DeleteCurrentEvent ()
 
virtual void Embed (TBrowser *b)
 
TRestEventGetEvent ()
 
TGeoManager * GetGeometry ()
 
Double_t GetGeomScale () const
 
virtual void Plot (const char *option)
 
void SetEvent (TRestEvent *event)
 
virtual void SetGeometry (TGeoManager *geo)
 
void SetGeomScale (Double_t scale)
 

Protected Member Functions

virtual void Initialize ()
 

Protected Attributes

TCanvas * fCanvas = nullptr
 
TRestEventfEvent = nullptr
 
TGeoManager * fGeometry = nullptr
 
Double_t fGeomScale = 0.1
 
TPad * fPad = nullptr
 

Constructor & Destructor Documentation

◆ TRestEventViewer()

TRestEventViewer::TRestEventViewer ( )

Definition at line 27 of file TRestEventViewer.cxx.

◆ ~TRestEventViewer()

TRestEventViewer::~TRestEventViewer ( )
virtual

Definition at line 34 of file TRestEventViewer.cxx.

Member Function Documentation

◆ AddEvent()

void TRestEventViewer::AddEvent ( TRestEvent ev)
virtual

Definition at line 56 of file TRestEventViewer.cxx.

◆ DeleteCurrentEvent()

void TRestEventViewer::DeleteCurrentEvent ( )
virtual

Definition at line 74 of file TRestEventViewer.cxx.

◆ Embed()

void TRestEventViewer::Embed ( TBrowser *  b)
virtual

Definition at line 48 of file TRestEventViewer.cxx.

◆ GetEvent()

TRestEvent * TRestEventViewer::GetEvent ( )
inline

Definition at line 58 of file TRestEventViewer.h.

◆ GetGeometry()

TGeoManager * TRestEventViewer::GetGeometry ( )
inline

Definition at line 57 of file TRestEventViewer.h.

◆ GetGeomScale()

Double_t TRestEventViewer::GetGeomScale ( ) const
inline

Definition at line 61 of file TRestEventViewer.h.

◆ Initialize()

void TRestEventViewer::Initialize ( )
protectedvirtual

Definition at line 39 of file TRestEventViewer.cxx.

◆ Plot()

void TRestEventViewer::Plot ( const char *  option)
virtual

Definition at line 58 of file TRestEventViewer.cxx.

◆ SetEvent()

void TRestEventViewer::SetEvent ( TRestEvent event)
inline

Definition at line 55 of file TRestEventViewer.h.

◆ SetGeometry()

virtual void TRestEventViewer::SetGeometry ( TGeoManager *  geo)
inlinevirtual

Definition at line 54 of file TRestEventViewer.h.

◆ SetGeomScale()

void TRestEventViewer::SetGeomScale ( Double_t  scale)
inline

Definition at line 60 of file TRestEventViewer.h.

Field Documentation

◆ fCanvas

TCanvas* TRestEventViewer::fCanvas = nullptr
protected

Definition at line 41 of file TRestEventViewer.h.

◆ fEvent

TRestEvent* TRestEventViewer::fEvent = nullptr
protected

Definition at line 36 of file TRestEventViewer.h.

◆ fGeometry

TGeoManager* TRestEventViewer::fGeometry = nullptr
protected

Definition at line 35 of file TRestEventViewer.h.

◆ fGeomScale

Double_t TRestEventViewer::fGeomScale = 0.1
protected

Definition at line 38 of file TRestEventViewer.h.

◆ fPad

TPad* TRestEventViewer::fPad = nullptr
protected

Definition at line 40 of file TRestEventViewer.h.


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