Public Member Functions | List of all members
AnitaAveragePowerSpectrum Class Reference

Essentially a wrapper around a whole payload of AveragePowerSpectrum. More...

#include <AnitaAveragePowerSpectrum.h>

Public Member Functions

 AnitaAveragePowerSpectrum ()
 Constructor. More...
 
 AnitaAveragePowerSpectrum (TString name, TString title)
 Constructor. More...
 
 ~AnitaAveragePowerSpectrum ()
 Destructor.
 
AveragePowerSpectrumget (AnitaPol::AnitaPol_t pol, Int_t ant)
 Access internal AveragePowerSpectrum. More...
 
void add (AnitaPol::AnitaPol_t pol, Int_t ant, TGraph *gr)
 Add a waveform TGraph to an internal AveragePowerSpectrum. More...
 
void reset ()
 Deletes and reinitializes all internal AveragePowerSpectrums.
 
TMultiGraph * drawSpectralSummary (AnitaPol::AnitaPol_t pol, AnitaRing::AnitaRing_t ring)
 Get a ring of TGraphs of a single polarization as a TMultiGraph. More...
 

Detailed Description

Essentially a wrapper around a whole payload of AveragePowerSpectrum.

I used to write these into TTrees, but the way the data was packed made access so slow that now I don't. However, this class is still used in some spectral analysis code in some places.

Definition at line 27 of file AnitaAveragePowerSpectrum.h.

Inheritance diagram for AnitaAveragePowerSpectrum:

Constructor & Destructor Documentation

AnitaAveragePowerSpectrum::AnitaAveragePowerSpectrum ( )

Constructor.

Inserts default names for internal parameters and NULL pointers for avePowSpecs

Definition at line 12 of file AnitaAveragePowerSpectrum.cxx.

AnitaAveragePowerSpectrum::AnitaAveragePowerSpectrum ( TString  name,
TString  title 
)

Constructor.

Parameters
nameis the name of the AnitaAveragePowerSpectrum
titleis the title of the AnitaAveragePowerSpectrum

Definition at line 36 of file AnitaAveragePowerSpectrum.cxx.

Member Function Documentation

void AnitaAveragePowerSpectrum::add ( AnitaPol::AnitaPol_t  pol,
Int_t  ant,
TGraph *  gr 
)

Add a waveform TGraph to an internal AveragePowerSpectrum.

Parameters
polis polarization of interest.
antis the antenna of interest.
gris the waveform TGraph.

Definition at line 137 of file AnitaAveragePowerSpectrum.cxx.

TMultiGraph * AnitaAveragePowerSpectrum::drawSpectralSummary ( AnitaPol::AnitaPol_t  pol,
AnitaRing::AnitaRing_t  ring 
)

Get a ring of TGraphs of a single polarization as a TMultiGraph.

Parameters
polis polarization of interest.
ringis the ring of interest.
Returns
TMultiGraph containing NUM_PHI TGraphs.

NUM_PHI (16) seems like enough to examine at once.

Definition at line 171 of file AnitaAveragePowerSpectrum.cxx.

AveragePowerSpectrum * AnitaAveragePowerSpectrum::get ( AnitaPol::AnitaPol_t  pol,
Int_t  ant 
)

Access internal AveragePowerSpectrum.

Parameters
polis polarization of interest.
antis the antenna of interest.

Definition at line 116 of file AnitaAveragePowerSpectrum.cxx.


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