Public Member Functions | List of all members
PrettyAnalysisWaveform Class Reference

Public Member Functions

 PrettyAnalysisWaveform (UsefulAnitaEvent *uae, FilterStrategy *strategy, Adu5Pat *pat, RawAnitaHeader *header)
 
int getMaxAntenna (AnitaPol::AnitaPol_t pol, Double_t *peakPtr=0)
 Calls getMaxAntennaCorrelation. More...
 
int getMaxAntennaVSquared (AnitaPol::AnitaPol_t pol, Double_t *peakPtr=0)
 Select the antenna with the maximum voltage squared. More...
 
int getMaxAntennaCorrelation (AnitaPol::AnitaPol_t pol, Double_t *peakPtr=0)
 Select the upper antenna with the maximum correlation (defined as peak/rms of the correlation) with it's pair in the lower ring. More...
 
int getMaxAntennaCorrelationRollingAvg (AnitaPol::AnitaPol_t pol, Double_t *peakPtr=0)
 Select the upper antenna with the maximum correlation (defined as peak/rms of the correlation) with it's pair in the lower ring. More...
 
CorrelationSummaryAnita4getCorrelationSummaryAnita4 (Int_t centreAnt, AnitaPol::AnitaPol_t pol, Int_t deltaT, Int_t eventNumber)
 Generates a CorrelationSummaryAnita3 object for a set of 15 antennas. More...
 
AnalysisWaveformgetCorrelation (int chanIndex1, int chanIndex2)
 Wrapper around FFTtools::getCorrelationGraph. More...
 
AnalysisWaveformgetCorrelationInterpolated (int chanIndex1, int chanIndex2, AnitaPol::AnitaPol_t pol, Int_t npadfreq=8)
 Wrapper around FFTtools::getInterpolatedCorrelationGraph.
 
void fillSixAntArrays (int ant, int topAnts[3], int bottomAnts[3])
 Utility to get neighbouring antenna numbers.
 
void fillNextFourAntArrays (int ant, int nextFourAnts[4])
 Utility to get next to neighbouring antenna numbers.
 
void fillNadirArrays (int ant, int nadirAnts[9])
 
void fillNineAntArrays (int ant, int nineAnts[9])
 Utility to get neighbouring antenna numbers ( Top 0-2, Middle 3-5, Bottom 6-8)
 
void fillNextSixAntArrays (int ant, int nextFourAnts[4])
 Utility to get next to neighbouring antenna numbers.
 
double getHighestSnr (int centreAntenna)
 
 ClassDef (PrettyAnalysisWaveform, 1)
 ROOT's magic macro.
 
void setPassBandFilterFlag (int flag)
 
void setNotchFilterFlag (int numNotches)
 
void setPassBandLimits (Double_t low, Double_t high)
 
void setNotchBandLimits (Int_t notchNum, Double_t low, Double_t high)
 
- Public Member Functions inherited from FilteredAnitaEvent
 FilteredAnitaEvent (const UsefulAnitaEvent *event, FilterStrategy *strategy, const Adu5Pat *pat, const RawAnitaHeader *header, bool keep_all_stages=false)
 
 FilteredAnitaEvent (const FilteredAnitaEvent *fEv, FilterStrategy *strategy, bool keep_all_stages=false)
 
 FilteredAnitaEvent ()
 
virtual ~FilteredAnitaEvent ()
 
const AnalysisWaveformgetRawGraph (UInt_t i) const
 
const AnalysisWaveformgetRawGraph (UInt_t ant, AnitaPol::AnitaPol_t pol) const
 
const AnalysisWaveformgetRawGraph (UInt_t phi, AnitaRing::AnitaRing_t ring, AnitaPol::AnitaPol_t pol) const
 
const AnalysisWaveformgetFilteredGraph (UInt_t i) const
 
const AnalysisWaveformgetFilteredGraph (UInt_t ant, AnitaPol::AnitaPol_t pol) const
 
const AnalysisWaveformgetFilteredGraph (UInt_t phi, AnitaRing::AnitaRing_t ring, AnitaPol::AnitaPol_t pol) const
 
const AnalysisWaveformgetFilteredGraphAtStage (UInt_t ant, AnitaPol::AnitaPol_t pol, UInt_t stage) const
 
const UsefulAnitaEventgetUsefulAnitaEvent () const
 
const UsefulAdu5PatgetGPS () const
 
const RawAnitaHeadergetHeader () const
 
const FilterStrategygetStrategy () const
 
void plotSummary (TCanvas *chpol=0, TCanvas *cvpol=0) const
 
int checkSaturation (ULong64_t *save_hsat=0, ULong64_t *save_vsat=0, double threshold=1500) const
 
int checkStepFunction (Int_t lab=1, AnitaRing::AnitaRing_t ring=AnitaRing::kMiddleRing, Int_t phiSector=8, AnitaPol::AnitaPol_t pol=AnitaPol::kVertical) const
 
int checkSurfForGlitch (Int_t surf=0, Int_t lab=-1, double glitchThreshold=800) const
 
void getAverageSpectrum (TGraph *target, AnitaPol::AnitaPol_t pol=AnitaPol::kNotAPol) const
 
void getMedianSpectrum (TGraph *target, AnitaPol::AnitaPol_t pol=AnitaPol::kNotAPol, double pctile=0.5) const
 
double getAveragePower (AnitaPol::AnitaPol_t pol=AnitaPol::kNotAPol, AnitaRing::AnitaRing_t ring=AnitaRing::kNotARing, bool filtered=false) const
 
double getMedianPower (AnitaPol::AnitaPol_t pol=AnitaPol::kNotAPol, AnitaRing::AnitaRing_t ring=AnitaRing::kNotARing, bool filtered=false) const
 
void getMinMaxRatio (AnitaPol::AnitaPol_t pol, double *max_ratio, double *min_ratio, int *max_sector, int *min_sector, AnitaRing::AnitaRing_t ring1=AnitaRing::kBottomRing, AnitaRing::AnitaRing_t ring2=AnitaRing::kTopRing, int nth=0, int *n_greater=0) const
 
int getAnitaVersion () const
 

Additional Inherited Members

- Protected Member Functions inherited from FilteredAnitaEvent
void saveStage (int nreserve)
 
- Protected Attributes inherited from FilteredAnitaEvent
AnalysisWaveformrawGraphs [NUM_SEAVEYS *AnitaPol::kNotAPol]
 
AnalysisWaveformrawGraphsByAntPol [AnitaPol::kNotAPol][NUM_SEAVEYS]
 
AnalysisWaveformfilteredGraphs [NUM_SEAVEYS *AnitaPol::kNotAPol]
 
AnalysisWaveformfilteredGraphsByAntPol [AnitaPol::kNotAPol][NUM_SEAVEYS]
 
const UsefulAnitaEventuseful
 
const FilterStrategystrategy
 
UsefulAdu5Pat pat
 
const RawAnitaHeaderheader
 
int anitaVersion
 
bool keep_all_stages
 
std::vector< AnalysisWaveform * > all_stages [AnitaPol::kNotAPol][NUM_SEAVEYS]
 

Detailed Description

Definition at line 42 of file PrettyAnalysisWaveform.h.

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

Member Function Documentation

AnalysisWaveform * PrettyAnalysisWaveform::getCorrelation ( int  chanIndex1,
int  chanIndex2 
)

Wrapper around FFTtools::getCorrelationGraph.

AnalysisWaveform* wf2 = new AnalysisWaveform(gr2->GetN(), gr2->GetX(), gr2->GetY(), 1./2.6);

Definition at line 34 of file PrettyAnalysisWaveform.cc.

CorrelationSummaryAnita4 * PrettyAnalysisWaveform::getCorrelationSummaryAnita4 ( Int_t  centreAnt,
AnitaPol::AnitaPol_t  pol,
Int_t  deltaT,
Int_t  eventNumber 
)

Generates a CorrelationSummaryAnita3 object for a set of 15 antennas.

Parameters
centreAntThe number of one of the antennas in the centre of the set of 10.
polWhich polarisation to use?
deltaTAn optional value to use if interpolation is required. This value is taking as being the desired sampling period of the interpolated waveforms.
Returns
A pointer to the CorrelationSummaryAnita3 object that is created.

comment out ended.

Definition at line 489 of file PrettyAnalysisWaveform.cc.

int PrettyAnalysisWaveform::getMaxAntenna ( AnitaPol::AnitaPol_t  pol,
Double_t *  peakPtr = 0 
)

Calls getMaxAntennaCorrelation.

Parameters
polWhich polarisation to use?
peakPtrAn optional pointer to a double in which to store the peak/rms value.
Returns
The antenna number of the antenna with the largest signal.

Definition at line 329 of file PrettyAnalysisWaveform.cc.

int PrettyAnalysisWaveform::getMaxAntennaCorrelation ( AnitaPol::AnitaPol_t  pol,
Double_t *  peakPtr = 0 
)

Select the upper antenna with the maximum correlation (defined as peak/rms of the correlation) with it's pair in the lower ring.

Parameters
polWhich polarisation to use?
peakPtrAn optional pointer to a double in which to store the peak/rms correlation value.
Returns
The antenna number of the antenna with the largest peak/rms correlation value.

Definition at line 359 of file PrettyAnalysisWaveform.cc.

int PrettyAnalysisWaveform::getMaxAntennaCorrelationRollingAvg ( AnitaPol::AnitaPol_t  pol,
Double_t *  peakPtr = 0 
)

Select the upper antenna with the maximum correlation (defined as peak/rms of the correlation) with it's pair in the lower ring.

Parameters
polWhich polarisation to use?
peakPtrAn optional pointer to a double in which to store the peak/rms correlation value.
Returns
The antenna number of the antenna with the largest peak/rms correlation value.

Definition at line 392 of file PrettyAnalysisWaveform.cc.

int PrettyAnalysisWaveform::getMaxAntennaVSquared ( AnitaPol::AnitaPol_t  pol,
Double_t *  peakPtr = 0 
)

Select the antenna with the maximum voltage squared.

Parameters
polWhich polarisation to use?
peakPtrAn optional pointer to a double in which to store the peak V^2 value.
Returns
The antenna number of the antenna with the largest V^2.

Definition at line 337 of file PrettyAnalysisWaveform.cc.


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