AraEvent/UsefulAraEvent.h
00001 00002 00003 00004 00005 00006 00007 00008 00009 #ifndef USEFULARAEVENT_H 00010 #define USEFULARAEVENT_H 00011 00012 //Includes 00013 #include <TObject.h> 00014 #include <TGraph.h> 00015 #include <TH1.h> 00016 #include "araStructures.h" 00017 #include "araDefines.h" 00018 #include "RawAraEvent.h" 00019 #include "AraEventCalibrator.h" 00020 00022 00029 class UsefulAraEvent: public RawAraEvent 00030 { 00031 public: 00032 UsefulAraEvent(); 00033 UsefulAraEvent(RawAraEvent *rawEvent, AraCalType::AraCalType_t calType=AraCalType::kVoltageTime); 00034 ~UsefulAraEvent(); 00035 00036 Double_t fVolts[NUM_DIGITIZED_CHANNELS][MAX_NUMBER_SAMPLES]; 00037 Double_t fTimes[NUM_DIGITIZED_CHANNELS][MAX_NUMBER_SAMPLES]; 00038 Int_t fNumPoints[NUM_DIGITIZED_CHANNELS]; 00039 Double_t fVoltsRF[RFCHANS_PER_STATION][2*MAX_NUMBER_SAMPLES]; 00040 Double_t fTimesRF[RFCHANS_PER_STATION][2*MAX_NUMBER_SAMPLES]; 00041 Int_t fNumPointsRF[RFCHANS_PER_STATION]; 00042 00043 TGraph *getGraphFromElecChan(int chan); 00044 TGraph *getGraphFromRFChan(int chan); 00045 TGraph *getFFTForRFChan(int chan); 00046 TH1D *getFFTHistForRFChan(int chan); 00047 int fillFFTHistoForRFChan(int chan, TH1D *histFFT); 00048 int guessRCO(int chanIndex); 00049 int getRCO(int chanIndex) { return guessRCO(chanIndex);} 00050 TGraph *getFFTForClock(int clock_number); 00051 TH1D *getFFTHistForClock(int clock_number); 00052 int fillFFTHistoForClock(int clock_number, TH1D *histFFT); 00053 bool isCalPulserEvent( ); 00054 00055 Int_t getRawRCO(Int_t chanIndex) { 00056 return chan[chanIndex].getRCO(); 00057 } 00058 00059 00060 AraEventCalibrator *fCalibrator; 00061 00062 ClassDef(UsefulAraEvent,1); 00063 }; 00064 00065 00066 #endif //USEFULARAEVENT_H
Generated on Wed Aug 8 16:18:55 2012 for ARA ROOT Test Bed Software by
