12 #ifndef CORRELATIONSUMMARYANITA3_H 13 #define CORRELATIONSUMMARYANITA3_H 19 #define NUM_CORRELATIONS_ANITA3 52 52 Double_t
getChiSquared(Double_t tPhiWave, Double_t tThetaWave, Int_t numAnts);
61 Double_t
getDeltaTExpected(Double_t tPhiWave, Double_t tThetaWave, Int_t pairInd);
63 void setFitResults(Double_t tPhi, Double_t tTheta, Double_t tPhiErr, Double_t tThetaErr, Double_t tChiSq);
161 Double_t
fAntR[NUM_CORRELATIONS_ANITA3][2];
162 Double_t
fAntZ[NUM_CORRELATIONS_ANITA3][2];
171 #endif //CORRELATIONSUMMARYANITA3_H void fillErrorsAndFit()
The worker function that actually does the fitting.
double thetaWave
The elevation 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).
void setFitResults(Double_t tPhi, Double_t tTheta, Double_t tPhiErr, Double_t tThetaErr, Double_t tChiSq)
Sets the result of an external fit.
int nextSixAnts[6]
The numbers of the six outside antennas.
double phiWave
The azimuthal angle of the plane wave (in payload centric coordinates).
Double_t fAntR[NUM_CORRELATIONS_ANITA3][2]
A lookup table for antenna postions.
ClassDef(CorrelationSummaryAnita3, 4)
One of ROOT's magic macros.
double secondCorTimes[NUM_CORRELATIONS_ANITA3][2]
The time of the next highest correlation values (tore both left and right vals).
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.
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 an...
int secondAnt[NUM_CORRELATIONS_ANITA3]
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).
int eventNumber
The eventNumber.
double secondCorVals[NUM_CORRELATIONS_ANITA3][2]
The peak of the next highest correlation values (tore both left and right vals).
double maxCorTimes[NUM_CORRELATIONS_ANITA3]
The time of the maximum correlation value for each of the 49 possible correlations (3 top-middle...
int ndf
The number of degrees of freedom – no frigging idea I just make it up.
This is a poorly thought out class that was meant to be a summary of peaks of the correlations of som...
double deltaTErr[NUM_CORRELATIONS_ANITA3]
The error on each of the 49 deltaTs (no idea right now what this means).
int firstAnt[NUM_CORRELATIONS_ANITA3]
There are 49 correlations formed from a set of 15 antennas (5-phi sectors).
double chiSq
The chi-squared of the fit.
CorrelationSummaryAnita3()
Default constructor.
double maxCorVals[NUM_CORRELATIONS_ANITA3]
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_t fAntZ[NUM_CORRELATIONS_ANITA3][2]
A lookup table for antenna postions.
~CorrelationSummaryAnita3()
Destructor.
int nineAnts[9]
The numbers of the nine central antennas.
Double_t fAntPhi[NUM_CORRELATIONS_ANITA3][2]
A lookup table for antenna postions.
int centreAntenna
The number of the centre antenna.
double rmsCorVals[NUM_CORRELATIONS_ANITA3]
The rms correlation value for each of the 49 possible correlations (3 top-middle, 3 middle-bottom...
double deltaT
The sampling period used.
double phiWaveErr
The error on the azimuthal angle of the plane wave (in payload centric coordinates).