ARA ROOT Test BEd Software

AraEvent/AraFileUtility.h

00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 #ifndef ARAFILEUTILITY_H
00011 #define ARAFILEUTILITY_H
00012 
00013 //Includes
00014 #include "TObject.h"
00015 #include "TTree.h"
00016 #include "TChain.h"
00017 
00018 #include "RawAtriStationEvent.h"
00019 #include "RawIcrrStationEvent.h"
00020 #include "UsefulAtriStationEvent.h"
00021 #include "UsefulIcrrStationEvent.h"
00022 #include "UsefulAraStationEvent.h"
00023 #include "RawAraStationEvent.h"
00024 
00026 
00033 class AraFileUtility
00034 {
00035  public:
00036 
00037   AraFileUtility(); //default constructor
00038   AraFileUtility(TTree *theRawTreePtr); 
00039   AraFileUtility(TChain *theRawChainPtr); 
00040 
00041   ~AraFileUtility(); //default destructor
00042 
00043   RawAraStationEvent *getRawStationEvent(int entry);
00044 
00045  private:
00046 
00047   TTree *rawTreePtr;
00048   TChain *rawChainPtr;
00049   RawAraStationEvent *rawEvPtr;
00050   RawAtriStationEvent *rawAtriEvPtr;
00051   RawIcrrStationEvent *rawIcrrEvPtr;
00052 
00053   UInt_t stationId;
00054   UInt_t treeEntries;
00055 
00056   ClassDef(AraFileUtility,1)
00057 };
00058 
00059 
00060 #endif //ARAFILEUTILITY_H

Generated on Wed Aug 8 16:20:07 2012 for ARA ROOT Test Bed Software by doxygen 1.4.7