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. | |
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.
CorrelationSummaryAnita3::CorrelationSummaryAnita3 | ( | int | teventNumber, |
int | tcentreAnt, | ||
int | nineAnts[9], | ||
double | deltaT = 0 |
||
) |
Assignment constructor.
teventNumber | The event number. |
tcentreAnt | The centre antenna used in the correlation. |
nineAnts | An array of the nine antennas used. |
deltaT | The sampling period used in the interpolation (or zero) |
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.
tPhiWave | The (payload centric) azimuthal angle of the plane wave. |
tThetaWave | The (payload centric) elevation angle of the plane wave. |
numAnts | The number of antennas to use in the test. |
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.
tPhiWave | The (payload centric) azimuthal angle of the plane wave. |
tThetaWave | The (payload centric) elevation angle of the plane wave. |
pairInd | The 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). |
Definition at line 91 of file CorrelationSummaryAnita3.cxx.
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:
Definition at line 135 of file CorrelationSummaryAnita3.h.