AraEvent/UsefulAtriStationEvent.h
00001 00002 00003 00004 00005 00006 00007 00008 00009 #ifndef USEFULATRISTATIONEVENT_H 00010 #define USEFULATRISTATIONEVENT_H 00011 00012 //Includes 00013 #include <TObject.h> 00014 #include <TGraph.h> 00015 #include <TH1.h> 00016 #include <vector> 00017 #include <map> 00018 00019 #include "UsefulAraStationEvent.h" 00020 #include "RawAtriStationEvent.h" 00021 #include "AraEventCalibrator.h" 00022 00023 00025 00032 class UsefulAtriStationEvent: public RawAtriStationEvent, public UsefulAraStationEvent 00033 { 00034 public: 00035 UsefulAtriStationEvent(); 00036 UsefulAtriStationEvent(RawAtriStationEvent *rawEvent, AraCalType::AraCalType_t calType=AraCalType::kVoltageTime); 00037 ~UsefulAtriStationEvent(); 00038 00039 00040 Int_t getNumElecChannels() {return fNumChannels;} 00041 Int_t getNumRFChannels() {return fNumChannels;} 00042 TGraph *getGraphFromElecChan(int chanId); 00043 TGraph *getGraphFromRFChan(int chanId); 00044 00045 //Calibrated data 00046 Int_t fNumChannels; 00047 std::map< Int_t, std::vector <Double_t> > fTimes; 00048 std::map< Int_t, std::vector <Double_t> > fVolts; 00049 00050 00051 ClassDef(UsefulAtriStationEvent,1); 00052 }; 00053 00054 00055 #endif //USEFULATRISTATIONEVENT_H
Generated on Wed Aug 8 16:20:07 2012 for ARA ROOT Test Bed Software by
