FFTGraph.h
1 #ifndef FFTGRAPH_H
2 #define FFTGRAPH_H
3 #include "TGraph.h"
4 
5 #include "AnitaConventions.h"
6 
7 class TObject;
8 class TGaxis;
9 
11 
14 class FFTGraph : public TGraph
15 {
16 
17  public:
18  FFTGraph();
19  FFTGraph(int n, const Int_t *x, const Int_t *y);
20  FFTGraph(int n, const Float_t *x, const Float_t *y);
21  FFTGraph(int n, const Double_t *x, const Double_t *y);
22  int AddFFT(FFTGraph *otherGraph);
23  virtual ~FFTGraph();
24 
25 
26  void setSurfChanPhiAntPolRing(Int_t surf, Int_t chan, Int_t phi,
27  Int_t ant, AnitaPol::AnitaPol_t pol,
29  {fSurf=surf; fChan=chan; fPhi=phi; fAnt=ant; fPol=pol; fRing=ring;}
30 
31  private:
32  Int_t fSurf;
33  Int_t fChan;
34  Int_t fPhi;
35  Int_t fAnt;
38 
39 
40  void ExecuteEvent(Int_t event, Int_t px, Int_t py);
41  void ClearSelection(void);
42  void ApplySelectionToButtons();
43  void drawInNewCanvas();
44 
45  Int_t fNewCanvas;
46  Int_t fNumInAverage;
47 
48 
49  ClassDef(FFTGraph,2)
50 }; // end of class FFTGraph
51 
52 
53 #endif // FFTGRAPH_H
FFTGraph()
Constructor.
Definition: FFTGraph.cxx:15
enum AnitaRing::EAnitaRing AnitaRing_t
Ring enumeration.
void setSurfChanPhiAntPolRing(Int_t surf, Int_t chan, Int_t phi, Int_t ant, AnitaPol::AnitaPol_t pol, AnitaRing::AnitaRing_t ring)
These are just used for labelling.
Definition: FFTGraph.h:26
The PSD display graph class that inherits from ROOT's TGraph.
Definition: FFTGraph.h:14
int AddFFT(FFTGraph *otherGraph)
Adds an FFT to an average.
Definition: FFTGraph.cxx:109
enum AnitaPol::EAnitaPol AnitaPol_t
Polarisation enumeration.
virtual ~FFTGraph()
Destructor.
Definition: FFTGraph.cxx:46