ARA ROOT v3.4 Software

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 
00024 
00033 class UsefulAtriStationEvent: public RawAtriStationEvent, public UsefulAraStationEvent
00034 {
00035  public:
00036    UsefulAtriStationEvent(); 
00037    UsefulAtriStationEvent(RawAtriStationEvent *rawEvent, AraCalType::AraCalType_t calType=AraCalType::kVoltageTime); 
00038    ~UsefulAtriStationEvent(); 
00039 
00040 
00041    Int_t getNumElecChannels() {return fNumChannels;} 
00042    Int_t getNumRFChannels() {return fNumChannels;} 
00043    TGraph *getGraphFromElecChan(int chanId); 
00044    TGraph *getGraphFromRFChan(int chanId); 
00045 
00046    //Calibrated data
00047    Int_t fNumChannels; 
00048    std::map< Int_t, std::vector <Double_t> > fTimes; 
00049    std::map< Int_t, std::vector <Double_t> > fVolts; 
00050 
00051 
00052   ClassDef(UsefulAtriStationEvent,1);
00053 };
00054 
00055 
00056 #endif //USEFULATRISTATIONEVENT_H

Generated on Mon Mar 18 16:00:44 2013 for ARA ROOT v3.4 Software by doxygen 1.4.7