Public Member Functions | Public Attributes | List of all members
WaveformGraph Class Reference

The graph class that inherits from ROOT's TGraph. More...

#include <WaveformGraph.h>

Public Member Functions

 WaveformGraph ()
 Constructor.
 
 WaveformGraph (int n, const Int_t *x, const Int_t *y)
 Int_t constructor.
 
 WaveformGraph (int n, const Float_t *x, const Float_t *y)
 Float_t constructor.
 
 WaveformGraph (int n, const Double_t *x, const Double_t *y)
 Double_t constructor.
 
virtual ~WaveformGraph ()
 Destructor.
 
void DrawFFT ()
 Draws the PSD of the waveform in a new window (NB: It is the MENU desigination that ROOT uses to add it to the right click list).
 
void DrawHilbert ()
 
void AddToCorrelation ()
 
TGraph * getFFT ()
 Returns a pointer to a TGraph containing the PSD of the waveform.
 
TGraph * getHilbert ()
 Returns a pointer to a TGraph containing the hilbert envelope of the waveform.
 
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.
 

Public Attributes

Int_t fSurf
 Used in labelling.
 
Int_t fChan
 Used in labelling.
 
Int_t fPhi
 Used in labelling.
 
Int_t fAnt
 Used in labelling.
 
AnitaRing::AnitaRing_t fRing
 Used in labelling.
 
AnitaPol::AnitaPol_t fPol
 Used in labelling.
 

Detailed Description

The graph class that inherits from ROOT's TGraph.

The WaveformGraph is one of the things that makes MagicDisplay purr. It's really quite simple but allows for the fucntionality to click on a graph and have it draw in a new window, and also allows the right click DrawFFT option.

Definition at line 14 of file WaveformGraph.h.

Inheritance diagram for WaveformGraph:
Inheritance graph
[legend]
Collaboration diagram for WaveformGraph:
Collaboration graph
[legend]

The documentation for this class was generated from the following files: