readEDepSim.h
Go to the documentation of this file.
1 // TEST MACRO FOR USE WITH OLDER ROOT. DOESN"T WORK WHEN CLING KNOWS ABOUT
2 // THE DATA CLASSES.
3 #ifndef readEDepSim_h
4 #define readEDepSim_h
5 
6 #include <TTree.h>
7 #include "TG4Event.h"
8 
9 /// Return a pointer to the EDepSimEvents Tree found in the geometry file.
10 TTree* EDepSimTree();
11 
12 /// Return a pointer to the i'th entry in the tree. This is an event.
13 TG4Event* EDepSimEvent(int i);
14 
15 /// Return a pointer to the last event read.
17 
18 /// Dump the current event in memory.
19 void EDepSimDumpEvent();
20 #endif
void EDepSimDumpEvent()
Dump the current event in memory.
TTree * EDepSimTree()
Return a pointer to the EDepSimEvents Tree found in the geometry file.
TG4Event * EDepSimEvent(int i)
Return a pointer to the i&#39;th entry in the tree. This is an event.