15#ifndef RestCore_TRestEveEventViewer
16#define RestCore_TRestEveEventViewer
19#include <TEveBrowser.h>
20#include <TEveEventManager.h>
21#include <TEveGeoNode.h>
23#include <TEveManager.h>
24#include <TEveProjectionAxes.h>
25#include <TEveProjectionManager.h>
29#include <TEveViewer.h>
32#include <TGeoManager.h>
33#include <TGeoMaterial.h>
39#include "TRestEventViewer.h"
49 TEveViewer* rphiViewer;
50 TEveViewer* rhozViewer;
55 TEveProjectionManager* rphi;
56 TEveProjectionManager* rhoz;
58 TEveProjectionAxes* rphiAxes;
59 TEveProjectionAxes* rhozAxes;
61 TEvePointSet* fEnergyDeposits;
65 Double_t fMinRadius = 0.2;
66 Double_t fMaxRadius = 3.0;
69 virtual void Initialize();
71 virtual void Embed(TBrowser* b) {}
73 virtual void DeleteCurrentEvent();
74 void DeleteGeometry();
78 virtual void Plot(
const char* option) {}
80 void AddSphericalHit(
double x,
double y,
double z,
double radius,
double en);
84 void SetGeometry(TGeoManager* geo);
87 void SetMinRadius(Double_t rmin) { fMinRadius = rmin; }
88 void SetMaxRadius(Double_t rmax) { fMaxRadius = rmax; }
A base class for any REST event.