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... | |
CorrelationSummaryAnita4 * | getCorrelationSummaryAnita4 (Int_t centreAnt, AnitaPol::AnitaPol_t pol, Int_t deltaT, Int_t eventNumber) |
Generates a CorrelationSummaryAnita3 object for a set of 15 antennas. More... | |
AnalysisWaveform * | getCorrelation (int chanIndex1, int chanIndex2) |
Wrapper around FFTtools::getCorrelationGraph. More... | |
AnalysisWaveform * | getCorrelationInterpolated (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 AnalysisWaveform * | getRawGraph (UInt_t i) const |
const AnalysisWaveform * | getRawGraph (UInt_t ant, AnitaPol::AnitaPol_t pol) const |
const AnalysisWaveform * | getRawGraph (UInt_t phi, AnitaRing::AnitaRing_t ring, AnitaPol::AnitaPol_t pol) const |
const AnalysisWaveform * | getFilteredGraph (UInt_t i) const |
const AnalysisWaveform * | getFilteredGraph (UInt_t ant, AnitaPol::AnitaPol_t pol) const |
const AnalysisWaveform * | getFilteredGraph (UInt_t phi, AnitaRing::AnitaRing_t ring, AnitaPol::AnitaPol_t pol) const |
const AnalysisWaveform * | getFilteredGraphAtStage (UInt_t ant, AnitaPol::AnitaPol_t pol, UInt_t stage) const |
const UsefulAnitaEvent * | getUsefulAnitaEvent () const |
const UsefulAdu5Pat * | getGPS () const |
const RawAnitaHeader * | getHeader () const |
const FilterStrategy * | getStrategy () 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 | |
AnalysisWaveform * | rawGraphs [NUM_SEAVEYS *AnitaPol::kNotAPol] |
AnalysisWaveform * | rawGraphsByAntPol [AnitaPol::kNotAPol][NUM_SEAVEYS] |
AnalysisWaveform * | filteredGraphs [NUM_SEAVEYS *AnitaPol::kNotAPol] |
AnalysisWaveform * | filteredGraphsByAntPol [AnitaPol::kNotAPol][NUM_SEAVEYS] |
const UsefulAnitaEvent * | useful |
const FilterStrategy * | strategy |
UsefulAdu5Pat | pat |
const RawAnitaHeader * | header |
int | anitaVersion |
bool | keep_all_stages |
std::vector< AnalysisWaveform * > | all_stages [AnitaPol::kNotAPol][NUM_SEAVEYS] |
Definition at line 42 of file PrettyAnalysisWaveform.h.
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.
centreAnt | The number of one of the antennas in the centre of the set of 10. |
pol | Which polarisation to use? |
deltaT | An optional value to use if interpolation is required. This value is taking as being the desired sampling period of the interpolated waveforms. |
comment out ended.
Definition at line 489 of file PrettyAnalysisWaveform.cc.
int PrettyAnalysisWaveform::getMaxAntenna | ( | AnitaPol::AnitaPol_t | pol, |
Double_t * | peakPtr = 0 |
||
) |
Calls getMaxAntennaCorrelation.
pol | Which polarisation to use? |
peakPtr | An optional pointer to a double in which to store the peak/rms value. |
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.
pol | Which polarisation to use? |
peakPtr | An optional pointer to a double in which to store the 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.
pol | Which polarisation to use? |
peakPtr | An optional pointer to a double in which to store the 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.
pol | Which polarisation to use? |
peakPtr | An optional pointer to a double in which to store the peak V^2 value. |
Definition at line 337 of file PrettyAnalysisWaveform.cc.