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

Detailed Description




         RESTSoft : Software for Rare Event Searches with TPCs

         TRestGeant4EventViewer.h inherited from TRestEveEventViewer

         nov 2015:   First concept
             Viewer class for a TRestGeant4Event
             Javier Galan/JuanAn Garcia

Definition at line 22 of file TRestGeant4EventViewer.h.

#include <TRestGeant4EventViewer.h>

Inheritance diagram for TRestGeant4EventViewer:
TRestEveEventViewer TRestEventViewer

Public Member Functions

void AddEvent (TRestEvent *event)
 
void AddMarker (Int_t trkID, TVector3 at, TString name)
 
void AddParentTrack (Int_t trkID, TVector3 from, TString name)
 
void AddText (TString text, TVector3 at)
 
void AddTrack (Int_t trkID, Int_t parentID, TVector3 from, TString name)
 
void DeleteCurrentEvent ()
 
void Initialize ()
 
void NextTrackVertex (Int_t trkID, TVector3 to)
 
- Public Member Functions inherited from TRestEveEventViewer
void AddSphericalHit (double x, double y, double z, double radius, double en)
 
void DeleteGeometry ()
 
void DrawTab ()
 
virtual void Embed (TBrowser *b)
 
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
TRestEventGetEvent ()
 
TGeoManager * GetGeometry ()
 
Double_t GetGeomScale () const
 
void SetEvent (TRestEvent *event)
 
void SetGeomScale (Double_t scale)
 

Private Member Functions

TEveStraightLineSet * GetTrackEveDrawable (const TRestGeant4Track &track)
 

Private Attributes

TRestGeant4EventfG4Event = nullptr
 
const TRestGeant4MetadatafG4Metadata = nullptr
 
std::vector< TEveLine * > fHitConnectors
 

Additional Inherited Members

- 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
 

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