ANITA Analysis Framework
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
AnitaEventSummary Class Reference

Common analysis format between UCorrelator and Acclaim. More...

#include <AnitaEventSummary.h>

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

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 WaveformInfohighestCoherent () const
 
const WaveformInfohighestCoherentFiltered () const
 
const WaveformInfohighestDeconvolved () const
 
const WaveformInfohighestDeconvolvedFiltered () const
 
const PointingHypothesishighestPeak () const
 
Int_t highestPeakInd () const
 
AnitaPol::AnitaPol_t highestPol () const
 
Int_t highestPolAsInt () const
 
const WaveformInfomostImpulsiveCoherent (int whichMetric=0) const
 
const WaveformInfomostImpulsiveCoherentFiltered (int whichMetric=0) const
 
const WaveformInfomostImpulsiveDeconvolved (int whichMetric=0) const
 
const WaveformInfomostImpulsiveDeconvolvedFiltered (int whichMetric=0) const
 
Int_t mostImpulsiveInd (int whichMetric=0) const
 
const PointingHypothesismostImpulsivePeak (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 WaveformInfotrainingCoherent () const
 
const WaveformInfotrainingCoherentFiltered () const
 
const WaveformInfotrainingDeconvolved () const
 
const WaveformInfotrainingDeconvolvedFiltered () const
 
const PointingHypothesistrainingPeak () 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 */.
 

Detailed Description

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.


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