REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
TRestGeant4EventViewer.h
1
14
15#ifndef RestCore_TRestGeant4EventViewer
16#define RestCore_TRestGeant4EventViewer
17
18#include "TRestEveEventViewer.h"
19#include "TRestGeant4Event.h"
20
22 private:
23 std::vector<TEveLine*> fHitConnectors;
24
25 TRestGeant4Event* fG4Event = nullptr;
26 const TRestGeant4Metadata* fG4Metadata = nullptr;
27
28 public:
29 void Initialize();
30 void DeleteCurrentEvent();
31 void AddEvent(TRestEvent* event);
32
33 void NextTrackVertex(Int_t trkID, TVector3 to);
34 void AddTrack(Int_t trkID, Int_t parentID, TVector3 from, TString name);
35 void AddParentTrack(Int_t trkID, TVector3 from, TString name);
36
37 void AddText(TString text, TVector3 at);
38 void AddMarker(Int_t trkID, TVector3 at, TString name);
39
40 // Constructor
42 // Destructor
44
45 ClassDef(TRestGeant4EventViewer, 2); // class inherited from TRestEventViewer
46};
47#endif
A base class for any REST event.
Definition: TRestEvent.h:38
An event class to store geant4 generated event information.
The main class to store the Geant4 simulation conditions that will be used by restG4.