1 #ifndef UCORRELATOR_CORRELATOR_H 2 #define UCORRELATOR_CORRELATOR_H 5 #include "AnitaConventions.h" 11 #define NANTENNAS NUM_SEAVEYS 19 class CorrelatorLocks;
26 Correlator(
int nphi,
double phimin,
double phimax,
int ntheta,
double theta_lowest,
double theta_highest,
bool use_bin_center =
false,
bool scale_by_cos_theta =
false,
double baseline_weight = 0,
double gain_sigma = 0);
32 const TH2D *
getHist()
const {
return hist; }
35 const TH2D *
getNorm()
const {
return norm; }
39 TH2D*
computeZoomed(
double phi,
double theta,
int nphi,
double dphi,
int ntheta,
double dtheta,
int nant = 0, TH2D * useme = 0);
71 std::vector<TH2D*> hists;
72 std::vector<TH2D*> norms;
78 double rms[NANTENNAS];
80 double max_phi, max_phi2;
81 ULong64_t disallowed_antennas;
88 double baselineWeight;
92 void doAntennas(
int ant1,
int ant2, TH2D ** hist, TH2D ** norm,
const UCorrelator::TrigCache * tc,
const double * center_point = 0);
void dumpDeltaTs(const char *file) const
TH2D * computeZoomed(double phi, double theta, int nphi, double dphi, int ntheta, double dtheta, int nant=0, TH2D *useme=0)
Correlator(int nphi, double phimin, double phimax, int ntheta, double theta_lowest, double theta_highest, bool use_bin_center=false, bool scale_by_cos_theta=false, double baseline_weight=0, double gain_sigma=0)
void setDisallowedAntennas(ULong64_t disallowed)
void setGroupDelayFlag(bool flag)
void setPadFactor(int pad)
const TH2D * getHist() const
const TH2D * getNorm() const
void setAllowedAntennas(ULong64_t allowed)
const AnalysisWaveform * getCorrelationGraph(int ant1, int ant2)
void setMaxAntennaMaxPhiDistance(double max_ant_phi)
This class is intended to store all the necessary data about an ANITA event for filtering and analysi...
void compute(const FilteredAnitaEvent *event, AnitaPol::AnitaPol_t pol)
enum AnitaPol::EAnitaPol AnitaPol_t
Polarisation enumeration.