19#ifndef RestCore_TRestEventViewer
20#define RestCore_TRestEventViewer
24#include <TGTextEntry.h>
25#include <TGeoManager.h>
30#include "TRestEvent.h"
35 TGeoManager* fGeometry =
nullptr;
38 Double_t fGeomScale = 0.1;
41 TCanvas* fCanvas =
nullptr;
43 virtual void Initialize();
46 virtual void Embed(TBrowser* b);
50 virtual void Plot(
const char* option);
52 virtual void DeleteCurrentEvent();
54 virtual void SetGeometry(TGeoManager* geo) { fGeometry = geo; }
55 void SetEvent(
TRestEvent* event) { fEvent = event; }
57 TGeoManager* GetGeometry() {
return fGeometry; }
60 void SetGeomScale(Double_t scale) { fGeomScale = scale; }
61 Double_t GetGeomScale()
const {
return fGeomScale; }
Event browser for different input file.
A base class for any REST event.