This is a poorly thought out class that was meant to be a summary of peaks of the correlations of some antennas for ANITA-4. More...
#include <CorrelationSummaryAnita4.h>
Public Member Functions | |
CorrelationSummaryAnita4 () | |
Default constructor. | |
~CorrelationSummaryAnita4 () | |
Destructor. | |
CorrelationSummaryAnita4 (int teventNumber, int tcentreAnt, int nineAnts[6], int deltaT=0, AnitaPol::AnitaPol_t pol=AnitaPol::kVertical) | |
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. | |
void | setSnr (Double_t s) |
ClassDef (CorrelationSummaryAnita4, 5) | |
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. | |
int | deltaT |
The sampling period used. | |
AnitaPol::AnitaPol_t | pol |
The polarization. // added by peng, since phase center is relavent to the pol. | |
double | snr |
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 | expectedDeltaT [52] |
double | deltaTErr [52] |
The expected time delay for a pair of ants. More... | |
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-4.
This is a poorly thought outclass that was meant to be a summary of peaks of the correlations of some antennas for ANITA-4.
Definition at line 18 of file CorrelationSummaryAnita4.h.
CorrelationSummaryAnita4::CorrelationSummaryAnita4 | ( | int | teventNumber, |
int | tcentreAnt, | ||
int | nineAnts[6], | ||
int | deltaT = 0 , |
||
AnitaPol::AnitaPol_t | pol = AnitaPol::kVertical |
||
) |
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 CorrelationSummaryAnita4::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 CorrelationSummaryAnita4.cc.
Double_t CorrelationSummaryAnita4::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 CorrelationSummaryAnita4.cc.
double CorrelationSummaryAnita4::deltaTErr[52] |
The expected time delay for a pair of ants.
The error on each of the 49 deltaTs (no idea right now what this means).
Definition at line 145 of file CorrelationSummaryAnita4.h.
int CorrelationSummaryAnita4::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 130 of file CorrelationSummaryAnita4.h.