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

Detailed Description




         RESTSoft : Software for Rare Event Searches with TPCs

         TRestEveEventViewer.h inherited from TRestEventViewer

         nov 2015:   First concept
             Generic class for visualization of simulated events using
             gEveManager JuanAn/Javier Galan

Definition at line 41 of file TRestEveEventViewer.h.

#include <TRestEveEventViewer.h>

Inheritance diagram for TRestEveEventViewer:
TRestEventViewer TRestDetectorHitsEventViewer TRestGeant4EventViewer

Public Member Functions

virtual void AddEvent (TRestEvent *ev)=0
 
void AddSphericalHit (double x, double y, double z, double radius, double en)
 
virtual void DeleteCurrentEvent ()
 
void DeleteGeometry ()
 
void DrawTab ()
 
virtual void Embed (TBrowser *b)
 
virtual void Initialize ()
 
void MultiView ()
 
virtual void Plot (const char *option)
 
void SetGeometry (TGeoManager *geo)
 
void SetMaxRadius (Double_t rmax)
 
void SetMinRadius (Double_t rmin)
 
void Update ()
 
- Public Member Functions inherited from TRestEventViewer
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 Attributes

TEvePointSet * fEnergyDeposits
 
Double_t fMaxRadius = 3.0
 
Double_t fMinRadius = 0.2
 
TEveManager * gEve
 
TEveWindowPack * pack
 
char pointName [256]
 
TEveProjectionManager * rhoz
 
TEveProjectionAxes * rhozAxes
 
TEveScene * rhozScene
 
TEveViewer * rhozViewer
 
TEveProjectionManager * rphi
 
TEveProjectionAxes * rphiAxes
 
TEveScene * rphiScene
 
TEveViewer * rphiViewer
 
TEveWindowSlot * slot
 
TEveViewer * viewer3D
 
- Protected Attributes inherited from TRestEventViewer
TCanvas * fCanvas = nullptr
 
TRestEventfEvent = nullptr
 
TGeoManager * fGeometry = nullptr
 
Double_t fGeomScale = 0.1
 
TPad * fPad = nullptr
 

Additional Inherited Members

virtual void Initialize ()
 

Constructor & Destructor Documentation

◆ TRestEveEventViewer()

TRestEveEventViewer::TRestEveEventViewer ( )

Definition at line 23 of file TRestEveEventViewer.cxx.

◆ ~TRestEveEventViewer()

TRestEveEventViewer::~TRestEveEventViewer ( )
virtual

Definition at line 41 of file TRestEveEventViewer.cxx.

Member Function Documentation

◆ AddEvent()

virtual void TRestEveEventViewer::AddEvent ( TRestEvent ev)
pure virtual

Reimplemented from TRestEventViewer.

◆ AddSphericalHit()

void TRestEveEventViewer::AddSphericalHit ( double  x,
double  y,
double  z,
double  radius,
double  en 
)

Definition at line 197 of file TRestEveEventViewer.cxx.

◆ DeleteCurrentEvent()

void TRestEveEventViewer::DeleteCurrentEvent ( )
virtual

Reimplemented from TRestEventViewer.

Definition at line 125 of file TRestEveEventViewer.cxx.

◆ DeleteGeometry()

void TRestEveEventViewer::DeleteGeometry ( )

Definition at line 134 of file TRestEveEventViewer.cxx.

◆ DrawTab()

void TRestEveEventViewer::DrawTab ( )

Definition at line 182 of file TRestEveEventViewer.cxx.

◆ Embed()

virtual void TRestEveEventViewer::Embed ( TBrowser *  b)
inlinevirtual

Reimplemented from TRestEventViewer.

Definition at line 71 of file TRestEveEventViewer.h.

◆ Initialize()

void TRestEveEventViewer::Initialize ( )
virtual

Reimplemented from TRestEventViewer.

Definition at line 68 of file TRestEveEventViewer.cxx.

◆ MultiView()

void TRestEveEventViewer::MultiView ( )

Definition at line 139 of file TRestEveEventViewer.cxx.

◆ Plot()

virtual void TRestEveEventViewer::Plot ( const char *  option)
inlinevirtual

Reimplemented from TRestEventViewer.

Definition at line 78 of file TRestEveEventViewer.h.

◆ SetGeometry()

void TRestEveEventViewer::SetGeometry ( TGeoManager *  geo)
virtual

Reimplemented from TRestEventViewer.

Definition at line 91 of file TRestEveEventViewer.cxx.

◆ SetMaxRadius()

void TRestEveEventViewer::SetMaxRadius ( Double_t  rmax)
inline

Definition at line 88 of file TRestEveEventViewer.h.

◆ SetMinRadius()

void TRestEveEventViewer::SetMinRadius ( Double_t  rmin)
inline

Definition at line 87 of file TRestEveEventViewer.h.

◆ Update()

void TRestEveEventViewer::Update ( )

Definition at line 188 of file TRestEveEventViewer.cxx.

Field Documentation

◆ fEnergyDeposits

TEvePointSet* TRestEveEventViewer::fEnergyDeposits
protected

Definition at line 61 of file TRestEveEventViewer.h.

◆ fMaxRadius

Double_t TRestEveEventViewer::fMaxRadius = 3.0
protected

Definition at line 66 of file TRestEveEventViewer.h.

◆ fMinRadius

Double_t TRestEveEventViewer::fMinRadius = 0.2
protected

Definition at line 65 of file TRestEveEventViewer.h.

◆ gEve

TEveManager* TRestEveEventViewer::gEve
protected

Definition at line 43 of file TRestEveEventViewer.h.

◆ pack

TEveWindowPack* TRestEveEventViewer::pack
protected

Definition at line 46 of file TRestEveEventViewer.h.

◆ pointName

char TRestEveEventViewer::pointName[256]
protected

Definition at line 63 of file TRestEveEventViewer.h.

◆ rhoz

TEveProjectionManager* TRestEveEventViewer::rhoz
protected

Definition at line 56 of file TRestEveEventViewer.h.

◆ rhozAxes

TEveProjectionAxes* TRestEveEventViewer::rhozAxes
protected

Definition at line 59 of file TRestEveEventViewer.h.

◆ rhozScene

TEveScene* TRestEveEventViewer::rhozScene
protected

Definition at line 53 of file TRestEveEventViewer.h.

◆ rhozViewer

TEveViewer* TRestEveEventViewer::rhozViewer
protected

Definition at line 50 of file TRestEveEventViewer.h.

◆ rphi

TEveProjectionManager* TRestEveEventViewer::rphi
protected

Definition at line 55 of file TRestEveEventViewer.h.

◆ rphiAxes

TEveProjectionAxes* TRestEveEventViewer::rphiAxes
protected

Definition at line 58 of file TRestEveEventViewer.h.

◆ rphiScene

TEveScene* TRestEveEventViewer::rphiScene
protected

Definition at line 52 of file TRestEveEventViewer.h.

◆ rphiViewer

TEveViewer* TRestEveEventViewer::rphiViewer
protected

Definition at line 49 of file TRestEveEventViewer.h.

◆ slot

TEveWindowSlot* TRestEveEventViewer::slot
protected

Definition at line 45 of file TRestEveEventViewer.h.

◆ viewer3D

TEveViewer* TRestEveEventViewer::viewer3D
protected

Definition at line 48 of file TRestEveEventViewer.h.


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