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

Detailed Description




         RESTSoft : Software for Rare Event Searches with TPCs

         TRestDetectorHitsEventViewer.h inherited from TRestEveEventViewer

         nov 2015:   First concept
             Viewer class for a TRestHitEvent
             JuanAn Garcia

Definition at line 21 of file TRestDetectorHitsEventViewer.h.

#include <TRestDetectorHitsEventViewer.h>

Inheritance diagram for TRestDetectorHitsEventViewer:
TRestEveEventViewer TRestEventViewer

Public Member Functions

void AddEvent (TRestEvent *ev)
 
void DeleteCurrentEvent ()
 
void Initialize ()
 
- Public Member Functions inherited from TRestEveEventViewer
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)
 

Private Attributes

TRestDetectorHitsEventfHitsEvent
 

Additional Inherited Members

virtual void Initialize ()
 
- Protected Attributes inherited from TRestEveEventViewer
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
 

Constructor & Destructor Documentation

◆ TRestDetectorHitsEventViewer()

TRestDetectorHitsEventViewer::TRestDetectorHitsEventViewer ( )

Definition at line 22 of file TRestDetectorHitsEventViewer.cxx.

◆ ~TRestDetectorHitsEventViewer()

TRestDetectorHitsEventViewer::~TRestDetectorHitsEventViewer ( )

Definition at line 24 of file TRestDetectorHitsEventViewer.cxx.

Member Function Documentation

◆ AddEvent()

void TRestDetectorHitsEventViewer::AddEvent ( TRestEvent ev)
virtual

Implements TRestEveEventViewer.

Definition at line 38 of file TRestDetectorHitsEventViewer.cxx.

◆ DeleteCurrentEvent()

void TRestDetectorHitsEventViewer::DeleteCurrentEvent ( )
virtual

Reimplemented from TRestEveEventViewer.

Definition at line 33 of file TRestDetectorHitsEventViewer.cxx.

◆ Initialize()

void TRestDetectorHitsEventViewer::Initialize ( )
virtual

Reimplemented from TRestEveEventViewer.

Definition at line 28 of file TRestDetectorHitsEventViewer.cxx.

Field Documentation

◆ fHitsEvent

TRestDetectorHitsEvent* TRestDetectorHitsEventViewer::fHitsEvent
private

Definition at line 23 of file TRestDetectorHitsEventViewer.h.


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