#include <Analyzer.h>
Public Member Functions | |
Analyzer (const AnalysisConfig *cfg=0, bool interactive=false) | |
virtual | ~Analyzer () |
void | analyze (const FilteredAnitaEvent *event, AnitaEventSummary *summary, const TruthAnitaEvent *truth=0) |
Correlator * | getCorrelator () |
WaveformCombiner * | getWaveformCombiner () |
WaveformCombiner * | getXPolWaveformCombiner () |
const gui::Map * | getCorrelationMap (AnitaPol::AnitaPol_t pol) const |
const gui::Map * | getZoomedCorrelationMap (AnitaPol::AnitaPol_t pol, int i) const |
const AnalysisWaveform * | getCoherent (AnitaPol::AnitaPol_t pol, int i, bool filtered=false) const |
const AnalysisWaveform * | getDeconvolved (AnitaPol::AnitaPol_t pol, int i, bool filtered=false) const |
const AnalysisWaveform * | getCoherentXpol (AnitaPol::AnitaPol_t pol, int i, bool filtered=false) const |
const AnalysisWaveform * | getDeconvolvedXpol (AnitaPol::AnitaPol_t pol, int i, bool filtered=false) const |
const TGraphAligned * | getCoherentPower (AnitaPol::AnitaPol_t pol, int i, bool filtered=false) const |
const TGraphAligned * | getDeconvolvedPower (AnitaPol::AnitaPol_t pol, int i, bool filtered=false) const |
AnitaResponse::ResponseManager * | getResponseManager () |
const AnitaEventSummary * | getSummary () const |
void | drawSummary (TPad *chpol=0, TPad *cvpol=0, int draw_filtered=0) const |
double | getRoughPhi (AnitaPol::AnitaPol_t pol, int i) const |
double | getRoughTheta (AnitaPol::AnitaPol_t pol, int i) const |
void | clearInteractiveMemory (double frac=0.5) const |
void | setDisallowedAntennas (ULong64_t hpol=0, ULong64_t vpol=0) |
void | setExcludePhiRange (double phiMin, double phiMax) |
void | setExcludeThetaRange (double thetaMin, double thetaMax) |
void | setExcludeThetaPhiRange (double thetaMin, double thetaMax, double phiMin, double phiMax) |
void | setPhiRange (double phiMin, double phiMax) |
void | setThetaRange (double thetaMin, double thetaMax) |
void | setThetaPhiRange (double thetaMin, double thetaMax, double phiMin, double phiMax) |
void | setTrackSource (double setLon, double setLat, double setAlt, double setdTheta=2.5, double setdPhi=5., bool blockOut=false) |
void | setTrackSun (double setdTheta=2.5, double setdPhi=5., bool blockOut=false) |
void | setTrackWAIS (double setdTheta=2.5, double setdPhi=5., bool blockOut=false) |
void | setTrackLDB (double setdTheta=2.5, double setdPhi=5., bool blockOut=false) |
void | setExtraFilters (FilterStrategy *extra) |
void | setExtraFiltersDeconvolved (FilterStrategy *extra) |
The analyzer is the main workhorse of UCorrelator. It plumbs together various other parts of UCorrelator to do stuff.
Definition at line 34 of file Analyzer.h.
UCorrelator::Analyzer::Analyzer | ( | const AnalysisConfig * | cfg = 0 , |
bool | interactive = false |
||
) |
Create an Analyzer. By default, the default AnalysisConfig parameters are used, but one may be passed. If interactive is passed, more internal state will be accessible
Definition at line 62 of file Analyzer.cc.
|
virtual |
Destructor
Definition at line 879 of file Analyzer.cc.
void UCorrelator::Analyzer::analyze | ( | const FilteredAnitaEvent * | event, |
AnitaEventSummary * | summary, | ||
const TruthAnitaEvent * | truth = 0 |
||
) |
Analyze the event and put the results into the summary. The summary is reinitialized, clobbering everything. MCTruth may be passed to initalize truth part of summary.
Definition at line 177 of file Analyzer.cc.
void UCorrelator::Analyzer::drawSummary | ( | TPad * | chpol = 0 , |
TPad * | cvpol = 0 , |
||
int | draw_filtered = 0 |
||
) | const |
Populate the pads with a summary of the pointing. Only makes sense if interactive mode is on. If the analyzer wasn't instructed to do both polarities, then it won't populate any it wasn't instructed to do. If 0 or NULL is passed, a new canvas is made. Added a flag to allow you to draw and populate the info from the filtered waveforms (off by default)
Definition at line 944 of file Analyzer.cc.
|
inline |
Return the ith coherent waveform for the polarization. For this to work, Analyzer must have been constructed with interactive= true and the polarization asked for must have been enabled in the config.
Definition at line 70 of file Analyzer.h.
|
inline |
Return the ith coherent averaged power for the polarization. For this to work, Analyzer must have been constructed with interactive= true and the polarization asked for must have been enabled in the config.
Definition at line 82 of file Analyzer.h.
|
inline |
Return the ith coherent xpol waveform for the polarization. For this to work, Analyzer must have been constructed with interactive= true and the polarization asked for must have been enabled in the config.
Definition at line 76 of file Analyzer.h.
|
inline |
Return the correlation map for the polarization. For this to work, Analyzer must have been constructed with interactive= true and the polarization asked for must have been enabled in the config.
Definition at line 64 of file Analyzer.h.
|
inline |
Retrieve the internal correlator. Note that if multiple polarizations are analyzed, the Correlator's internal state will be related to the last polarization used.
Definition at line 52 of file Analyzer.h.
|
inline |
Return the ith deconvolved waveform for the polarization. For this to work, Analyzer must have been constructed with interactive= true and the polarization asked for must have been enabled in the config.
Definition at line 73 of file Analyzer.h.
|
inline |
Return the ith deconvolved averaged power for the polarization. For this to work, Analyzer must have been constructed with interactive= true and the polarization asked for must have been enabled in the config.
Definition at line 85 of file Analyzer.h.
|
inline |
Return the ith deconvolved xpol waveform for the polarization. For this to work, Analyzer must have been constructed with interactive= true and the polarization asked for must have been enabled in the config.
Definition at line 79 of file Analyzer.h.
|
inline |
Retrieve the internal waveform combiner. Note that if multiple polarizations are analyzed, the WaveformCombiner's internal state will be related to the last polarization used.
Definition at line 56 of file Analyzer.h.
|
inline |
Retrieve the internal xpol waveform combiner. Note that if multiple polarizations are analyzed, the WaveformCombiner's internal state will be related to the last polarization used.
Definition at line 60 of file Analyzer.h.
|
inline |
Return the ith zoomed correlation map for the polarization. For this to work, Analyzer must have been constructed with interactive= true and the polarization asked for must have been enabled in the config.
Definition at line 67 of file Analyzer.h.
|
inline |
Sets disallowed antennas with a bitmask
Definition at line 103 of file Analyzer.h.
|
inline |
Excludes the range for finding peaks in phi (full range is 0 -> 360)
Definition at line 106 of file Analyzer.h.
|
inline |
Excludes the phi and theta range for finding peaks
Definition at line 110 of file Analyzer.h.
|
inline |
Excludes the range for finding peaks in theta (full range is -60 -> 40)
Definition at line 108 of file Analyzer.h.
void UCorrelator::Analyzer::setExtraFilters | ( | FilterStrategy * | extra | ) |
Allows you to set extra filters used only for combining waveforms
Definition at line 1251 of file Analyzer.cc.
void UCorrelator::Analyzer::setExtraFiltersDeconvolved | ( | FilterStrategy * | extra | ) |
Allows you to set extra filters used only for combining deconvolved waveforms
Definition at line 1257 of file Analyzer.cc.
|
inline |
Looks only at the specified phi range for finding peaks (full phi range is 0 -> 360)
Definition at line 113 of file Analyzer.h.
|
inline |
Looks only at the specified range in phi and theta for finding peaks
Definition at line 117 of file Analyzer.h.
|
inline |
Looks only at the specified theta range for finding peaks (full theta range is -60 -> 40)
Definition at line 115 of file Analyzer.h.
|
inline |
Tracks LDB for peak finding
Definition at line 125 of file Analyzer.h.
|
inline |
Set to look exclusively around a source for peaks or to exclude the angular area around a source from peak finding
Definition at line 119 of file Analyzer.h.
|
inline |
Tracks the sun for peak finding, can be set to exclude or include the sun
Definition at line 121 of file Analyzer.h.
|
inline |
Tracks WAIS for peak finding, include or exclude
Definition at line 123 of file Analyzer.h.