Public Member Functions | Public Attributes | List of all members
CorrelationSummaryAnita3 Class Reference

This is a poorly thought out class that was meant to be a summary of peaks of the correlations of some antennas for ANITA-3. More...

#include <CorrelationSummaryAnita3.h>

Public Member Functions

 CorrelationSummaryAnita3 ()
 Default constructor.
 
 ~CorrelationSummaryAnita3 ()
 Destructor.
 
 CorrelationSummaryAnita3 (int teventNumber, int tcentreAnt, int nineAnts[9], double deltaT=0)
 Assignment constructor. More...
 
void fillErrorsAndFit ()
 The worker function that actually does the fitting.
 
Double_t getChiSquared (Double_t tPhiWave, Double_t tThetaWave, Int_t numAnts)
 Tests a given plane wave hypothesis using a either six or ten antennas. More...
 
Double_t getDeltaTExpected (Double_t tPhiWave, Double_t tThetaWave, Int_t pairInd)
 For a given plane wave hypothesis returns the expected time difference between one of the pairs of antennas. More...
 
void setFitResults (Double_t tPhi, Double_t tTheta, Double_t tPhiErr, Double_t tThetaErr, Double_t tChiSq)
 Sets the result of an external fit.
 
 ClassDef (CorrelationSummaryAnita3, 4)
 One of ROOT's magic macros.
 

Public Attributes

int eventNumber
 The eventNumber.
 
int centreAntenna
 The number of the centre antenna.
 
int nineAnts [9]
 The numbers of the nine central antennas.
 
int nextSixAnts [6]
 The numbers of the six outside antennas.
 
double deltaT
 The sampling period used.
 
int firstAnt [52]
 There are 49 correlations formed from a set of 15 antennas (5-phi sectors). More...
 
int secondAnt [52]
 The index of the second antenna in the 49 possible pairs (3 top-middle, 3 middle-bottom, 6 left-right, 6 diagonal, 6 outside-centre, 6 outside-neighbour, 4 diagonal with neighbour, 13 top-bottom combinations).
 
double maxCorVals [52]
 The maximum correlation value for each of the 49 possible correlations (3 top-middle, 3 middle-bottom, 6 left-right, 6 diagonal, 6 outside-centre, 6 outside-neighbour, 4 diagonal with neighbour, 13 top-bottom combinations).
 
double maxCorTimes [52]
 The time of the maximum correlation value for each of the 49 possible correlations (3 top-middle, 3 middle-bottom, 6 left-right, 6 diagonal, 6 outside-centre, 6 outside-neighbour, 4 diagonal with neighbour, 13 top-bottom combinations).
 
double rmsCorVals [52]
 The rms correlation value for each of the 49 possible correlations (3 top-middle, 3 middle-bottom, 6 left-right, 6 diagonal, 6 outside-centre, 6 outside-neighbour, 4 diagonal with neighbour, 13 top-bottom combinations).
 
double secondCorVals [52][2]
 The peak of the next highest correlation values (tore both left and right vals).
 
double secondCorTimes [52][2]
 The time of the next highest correlation values (tore both left and right vals).
 
double deltaTErr [52]
 The error on each of the 49 deltaTs (no idea right now what this means).
 
double phiWave
 The azimuthal angle of the plane wave (in payload centric coordinates).
 
double thetaWave
 The elevation angle of the plane wave (in payload centric coordinates).
 
double phiWaveErr
 The error on the azimuthal angle of the plane wave (in payload centric coordinates).
 
double thetaWaveErr
 The error on the elevation angle of the plane wave (in payload centric coordinates).
 
double chiSq
 The chi-squared of the fit.
 
int ndf
 The number of degrees of freedom – no frigging idea I just make it up.
 
Double_t fAntPhi [52][2]
 A lookup table for antenna postions.
 
Double_t fAntR [52][2]
 A lookup table for antenna postions.
 
Double_t fAntZ [52][2]
 A lookup table for antenna postions.
 

Detailed Description

This is a poorly thought out class that was meant to be a summary of peaks of the correlations of some antennas for ANITA-3.

This is a poorly thought outclass that was meant to be a summary of peaks of the correlations of some antennas for ANITA-3.

Definition at line 27 of file CorrelationSummaryAnita3.h.

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

Constructor & Destructor Documentation

CorrelationSummaryAnita3::CorrelationSummaryAnita3 ( int  teventNumber,
int  tcentreAnt,
int  nineAnts[9],
double  deltaT = 0 
)

Assignment constructor.

Parameters
teventNumberThe event number.
tcentreAntThe centre antenna used in the correlation.
nineAntsAn array of the nine antennas used.
deltaTThe sampling period used in the interpolation (or zero)

Member Function Documentation

Double_t CorrelationSummaryAnita3::getChiSquared ( Double_t  tPhiWave,
Double_t  tThetaWave,
Int_t  numAnts 
)

Tests a given plane wave hypothesis using a either six or ten antennas.

Parameters
tPhiWaveThe (payload centric) azimuthal angle of the plane wave.
tThetaWaveThe (payload centric) elevation angle of the plane wave.
numAntsThe number of antennas to use in the test.
Returns
The chi-squared of this plane wave hypothesis.

Definition at line 78 of file CorrelationSummaryAnita3.cxx.

Double_t CorrelationSummaryAnita3::getDeltaTExpected ( Double_t  tPhiWave,
Double_t  tThetaWave,
Int_t  pairInd 
)

For a given plane wave hypothesis returns the expected time difference between one of the pairs of antennas.

Parameters
tPhiWaveThe (payload centric) azimuthal angle of the plane wave.
tThetaWaveThe (payload centric) elevation angle of the plane wave.
pairIndThe index of the pair (the numbering system is the 3 top bottom pairs, 4 left-right pairs, 4 diagonal pairs, plus the 4 'neighbour' + the 4 (next phi to neighbour).
Returns
The expected deltaT for this plane wave and this pair of antennas.

Definition at line 91 of file CorrelationSummaryAnita3.cxx.

Member Data Documentation

int CorrelationSummaryAnita3::firstAnt[52]

There are 49 correlations formed from a set of 15 antennas (5-phi sectors).

For clarity in the list below the antennas are described using the following names, for cases where there is a nadir antenna in the centre phi sector we have:

  • LLT LT CT RT RRT
  • LLM LM CM RM RRM
  • LLB LB CB RB RRB In this scheme the 49 correlations are:
  • "[0]" LT - LM
  • "[1]" CT - CM
  • "[2]" RT - RM
  • "[3]" LM - LB
  • "[4]" CM - CB
  • "[5]" RM - RB
  • "[6]" LT - CT
  • "[7]" CT - RT
  • "[8]" LM - CM
  • "[9]" CM - RM
  • "[10]" LB - CB
  • "[11]" CB - RB
  • "[12]" LT - CM
  • "[13]" RT - CM
  • "[14]" LB - CM
  • "[15]" RB - CM
  • "[16]" LM - CT
  • "[17]" RM - CT
  • "[18]" LM - CB
  • "[19]" RM - CB
  • "[20]" LLT - CT
  • "[21]" CT - RRT
  • "[22]" LLM - CM
  • "[23]" CM - RRM
  • "[24]" LLB - CB
  • "[25]" CB - RRB
  • "[26]" LLT - LT
  • "[27]" RT - RRT
  • "[28]" LLM - LM
  • "[29]" RM - RRM
  • "[30]" LLB - LB
  • "[31]" RB - RRT
  • "[32]" LLT - LM
  • "[33]" LLB - LM
  • "[34]" RM - RRT
  • "[35]" RM - RRB
  • "[36]" LLB - LLT
  • "[37]" LB - LT
  • "[38]" CB - CT
  • "[39]" RB - RT
  • "[40]" RRB - RRT
  • "[41]" LLT - LB
  • "[42]" LT - CB
  • "[43]" CT - RB
  • "[44]" RB - RRB
  • "[45]" LT - LLB
  • "[46]" CT - LB
  • "[47]" RT - CB
  • "[48]" RRT - RB

Definition at line 135 of file CorrelationSummaryAnita3.h.


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