1 #ifndef _ots_MonicelliFileReader_h
2 #define _ots_MonicelliFileReader_h
5 #include <TApplication.h>
26 bool openGeoFile (std::string fileName);
27 bool openEventsFile (std::string fileName);
28 void closeGeoFile (
void);
29 void closeEventsFile (
void);
30 unsigned int getNumberOfEvents (
void);
31 std::string getFileName (
void);
32 void readEvent (
unsigned int event);
40 TApplication theApp_ ;
42 TFile* theEventsFile_ ;
43 TTree* inputGeometryTree_;
44 TTree* inputEventTree_ ;
45 TTree* inputEventHeader_ ;
50 TBranch* theEventBranch_ ;
51 TTree* theEventTree_ ;