Public Member Functions | List of all members
UCorrelator::Correlator Class Reference

#include <Correlator.h>

Public Member Functions

 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 compute (const FilteredAnitaEvent *event, AnitaPol::AnitaPol_t pol)
 
const TH2D * getHist () const
 
const TH2D * getNorm () const
 
TH2D * computeZoomed (double phi, double theta, int nphi, double dphi, int ntheta, double dtheta, int nant=0, TH2D *useme=0)
 
void setDisallowedAntennas (ULong64_t disallowed)
 
void setAllowedAntennas (ULong64_t allowed)
 
void setMaxAntennaMaxPhiDistance (double max_ant_phi)
 
void setGroupDelayFlag (bool flag)
 
const AnalysisWaveformgetCorrelationGraph (int ant1, int ant2)
 
void setPadFactor (int pad)
 
void dumpDeltaTs (const char *file) const
 

Detailed Description

This creates the inteferometric map for an ANITA event

Definition at line 22 of file Correlator.h.

Constructor & Destructor Documentation

UCorrelator::Correlator::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 
)

Create a correlator with the following options for the rough map

Definition at line 131 of file Correlator.cc.

Member Function Documentation

void UCorrelator::Correlator::compute ( const FilteredAnitaEvent event,
AnitaPol::AnitaPol_t  pol 
)

Compute the rough correlation map for the event and pol

Definition at line 660 of file Correlator.cc.

TH2D * UCorrelator::Correlator::computeZoomed ( double  phi,
double  theta,
int  nphi,
double  dphi,
int  ntheta,
double  dtheta,
int  nant = 0,
TH2D *  useme = 0 
)

Compute a zoomed in map around phi and theta. nphi,dphi,ntheta,dtheta. If nant is non-zero, only the nearest nant antennas are used. You can use useme to avoid allocating a new TH2.

Definition at line 341 of file Correlator.cc.

void UCorrelator::Correlator::dumpDeltaTs ( const char *  file) const

Debugging method to dump out some info to a file

Definition at line 784 of file Correlator.cc.

const AnalysisWaveform* UCorrelator::Correlator::getCorrelationGraph ( int  ant1,
int  ant2 
)
inline

Get the correlation between two antennas

Definition at line 55 of file Correlator.h.

const TH2D* UCorrelator::Correlator::getHist ( ) const
inline

Get the rough correlation map

Definition at line 32 of file Correlator.h.

const TH2D* UCorrelator::Correlator::getNorm ( ) const
inline

Get the rough correlation map normalization

Definition at line 35 of file Correlator.h.

void UCorrelator::Correlator::setAllowedAntennas ( ULong64_t  allowed)
inline

Enable only the antennas given by the bitmap

Definition at line 45 of file Correlator.h.

void UCorrelator::Correlator::setDisallowedAntennas ( ULong64_t  disallowed)
inline

Disable the antennas given by the bitmap

Definition at line 42 of file Correlator.h.

void UCorrelator::Correlator::setGroupDelayFlag ( bool  flag)
inline

Use the group delay in computing the delay

Definition at line 51 of file Correlator.h.

void UCorrelator::Correlator::setMaxAntennaMaxPhiDistance ( double  max_ant_phi)
inline

An antenna only contributes to an angle if it's within max_phi of it

Definition at line 48 of file Correlator.h.

void UCorrelator::Correlator::setPadFactor ( int  pad)
inline

Set the supersampling factor

Definition at line 58 of file Correlator.h.


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