AraDisplay/AraWaveformGraph.h
00001 #ifndef ARAWAVEFORMGRAPH_H 00002 #define ARAWAVEFORMGRAPH_H 00003 #include "TGraph.h" 00004 #include "TH1.h" 00005 00006 00007 class TObject; 00008 class TGaxis; 00009 00011 00014 class AraWaveformGraph : public TGraph 00015 { 00016 00017 public: 00018 AraWaveformGraph(); 00019 AraWaveformGraph(int n, const Int_t *x, const Int_t *y); 00020 AraWaveformGraph(int n, const Float_t *x, const Float_t *y); 00021 AraWaveformGraph(int n, const Double_t *x, const Double_t *y); 00022 virtual ~AraWaveformGraph(); 00023 00025 void DrawFFT(); // *MENU* 00026 void DrawHilbert(); // *MENU* 00027 void AddToCorrelation(); // *MENU* 00028 TGraph *getFFT(); 00029 TH1D *getFFTHisto(); 00030 TGraph *getHilbert(); 00031 00032 void setElecChan(int elecChan); 00033 Int_t fElecChan; 00034 void setRFChan(int rfChan, int stationId); 00035 Int_t fRFChan; 00036 00037 private: 00038 00039 00040 void ExecuteEvent(Int_t event, Int_t px, Int_t py); 00041 void ClearSelection(void); 00042 void ApplySelectionToButtons(); 00043 void drawInNewCanvas(); 00044 00045 Int_t fNewCanvas; 00046 00047 00048 ClassDef(AraWaveformGraph,2) 00049 }; // end of class AraWaveformGraph 00050 00051 00052 #endif // ARAWAVEFORMGRAPH_H
Generated on Mon Jun 3 16:10:04 2013 for ARA ROOT v3.9 Software by
