ANITA Analysis Framework
|
Common analysis format between UCorrelator and Acclaim. More...
#include <AnitaEventSummary.h>
Classes | |
class | ChannelInfo |
class | EventFlags |
class | MCTruth |
class | PayloadLocation |
class | PointingHypothesis |
class | SourceHypothesis |
class | WaveformInfo |
Stores information about a coherently summed waveform (filtered/unfiltered/deconvolved) The coherent summing of the waveform corresponds to a direction stored in a PointingHypothesis Units are assumed to be in mV, ns,and GHz. More... | |
Public Member Functions | |
AnitaEventSummary () | |
Reduced GPS data. | |
AnitaEventSummary (const RawAnitaHeader *header) | |
AnitaEventSummary (const RawAnitaHeader *header, UsefulAdu5Pat *pat, const TruthAnitaEvent *truth=0) | |
Int_t | countChannelAboveThreshold (int threshold=100) const |
const WaveformInfo & | highestCoherent () const |
const WaveformInfo & | highestCoherentFiltered () const |
const WaveformInfo & | highestDeconvolved () const |
const WaveformInfo & | highestDeconvolvedFiltered () const |
const PointingHypothesis & | highestPeak () const |
Int_t | highestPeakInd () const |
AnitaPol::AnitaPol_t | highestPol () const |
Int_t | highestPolAsInt () const |
const WaveformInfo & | mostImpulsiveCoherent (int whichMetric=0) const |
const WaveformInfo & | mostImpulsiveCoherentFiltered (int whichMetric=0) const |
const WaveformInfo & | mostImpulsiveDeconvolved (int whichMetric=0) const |
const WaveformInfo & | mostImpulsiveDeconvolvedFiltered (int whichMetric=0) const |
Int_t | mostImpulsiveInd (int whichMetric=0) const |
const PointingHypothesis & | mostImpulsivePeak (int whichMetric=0) const |
AnitaPol::AnitaPol_t | mostImpulsivePol (int whichMetric=0) const |
value between 0 and 1, will find the brightest peak that is within threshold as impulsive as the most impulsive peak | |
Int_t | mostImpulsivePolAsInt (int whichMetric=0) const |
void | setSourceInformation (UsefulAdu5Pat *pat, const TruthAnitaEvent *truth=0) |
void | setTriggerInfomation (const RawAnitaHeader *header) |
const WaveformInfo & | trainingCoherent () const |
const WaveformInfo & | trainingCoherentFiltered () const |
const WaveformInfo & | trainingDeconvolved () const |
const WaveformInfo & | trainingDeconvolvedFiltered () const |
const PointingHypothesis & | trainingPeak () const |
Int_t | trainingPeakInd () const |
AnitaPol::AnitaPol_t | trainingPol () const |
Return the weight of the event, always returns 1 for data, the weight from MCTruth otherwise. | |
Int_t | trainingPolAsInt () const |
Bool_t | update () const |
Double_t | weight () |
void | zeroInternals () |
Static Public Member Functions | |
static void | setThresholdForMostImpulsive (double threshold) |
Public Attributes | |
PayloadLocation | anitaLocation |
Contains summary information about MC truth, if real data then this filled with constant, unphysical values. | |
ChannelInfo | channels [AnitaPol::kNotAPol][NUM_SEAVEYS] |
Summaries of the filtered, de-dispersed, coherently summed waveforms, array index correponds to entry in peak[][]. | |
WaveformInfo | coherent [AnitaPol::kNotAPol][maxDirectionsPerPol] |
Summaries of the event peak directions (indices of all WaveformInfo member arrays match peak index) | |
WaveformInfo | coherent_filtered [AnitaPol::kNotAPol][maxDirectionsPerPol] |
Summaries of the (unfiltered) de-dispersed coherently summed waveforms, array index correponds to entry in peak[][]. | |
WaveformInfo | deconvolved [AnitaPol::kNotAPol][maxDirectionsPerPol] |
Summaries of the (unfiltered) coherently summed waveforms, array index correponds to entry in peak[][]. | |
WaveformInfo | deconvolved_filtered [AnitaPol::kNotAPol][maxDirectionsPerPol] |
Summaries of the filtered, coherently summed waveforms, array index correponds to entry in peak[][]. | |
UInt_t | eventNumber |
Run. | |
EventFlags | flags |
Summaries of each channel's waveform. | |
SourceHypothesis | ldb |
Contains location of WAIS divide cal pulser in map coordinates at time of event. | |
MCTruth | mc |
Contains location of LDB cal pulser in map coordinates at time of event. | |
Int_t | nPeaks [AnitaPol::kNotAPol] |
Time of the event. | |
PointingHypothesis | peak [AnitaPol::kNotAPol][maxDirectionsPerPol] |
Number of peaks stored in this AnitaEventSummary (might be less than maxDirectionsPerPol) | |
UInt_t | realTime |
Event number. | |
Int_t | run |
SourceHypothesis | sun |
Flags corresponding the event quality, trigger type, calibration pulser timing, etc. | |
SourceHypothesis | wais |
Contains location of sun in map coordinates at time of event. | |
Static Public Attributes | |
static const Int_t | maxDirectionsPerPol = 5 |
static const Int_t | numBlastPowerBands = 3 |
static const Int_t | numFracPowerWindows = 5 |
The maximum number of frequency peaks per waveform spectrum. | |
static const Int_t | peaksPerSpectrum = 3 |
The maximum number of hypotheses storable per polarization */. | |
Common analysis format between UCorrelator and Acclaim.
Two independent analyses will fill most of the variables in these trees. Needless to say, there's no guarantee that everything will be filled, so be wary if something is 0 (it may not have been filled). Also, member variables that have been filled may have slightly different definitions between analyses. You have been warned.
This class and its subclasses have utility functions that can be used inside TTree::Draw(). For example, with a TTree (called sumTree) of AnitaEventSummaries (called sum) doing
sumTree->Draw("sum.highestPeak().dPhiWais()")
Should produce a histogram of the reconstructed phi-angle from the WAIS divide cal pulser.
Definition at line 32 of file AnitaEventSummary.h.