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

Public Member Functions

 WaveformCombiner (int nantennas=15, int npad=3, bool useUnfiltered=true, bool deconvolve=false, const AnitaResponse::ResponseManager *response=0, bool enableALFAHack=true)
 
void setResponseManager (const AnitaResponse::ResponseManager *rm)
 
void combine (double phi, double theta, const FilteredAnitaEvent *event, AnitaPol::AnitaPol_t pol, ULong64_t disallowed=0, double t0=0, double t1=100, double *avg_of_peaks=0, bool use_hilbert=true)
 
const AnalysisWaveformgetCoherent () const
 
const AnalysisWaveformgetDeconvolved () const
 
const TGraph * getCoherentAvgSpectrum () const
 
const TGraph * getDeconvolvedAvgSpectrum () const
 
void setNPad (int new_npad)
 
void setNAntennas (int n)
 
void setDeconvolve (bool deconvolve)
 
void setUseUnfiltered (bool raw_opt)
 
void setGroupDelayFlag (bool opt)
 
void setRTimeShiftFlag (bool opt)
 
void setSimulationTimeShiftFlag (bool opt)
 
bool wasAlfaFiltered ()
 
int getNAntennas () const
 
const int * getUsedAntennas () const
 
void setBottomFirst (bool opt)
 
void setDelayToCenter (bool opt)
 
void setExtraFilters (FilterStrategy *extra)
 
void setExtraFiltersDeconvolved (FilterStrategy *extra)
 
void setCheckVpp (int opt)
 
double getMaxAntennaVpp ()
 

Static Public Member Functions

static double combineWaveforms (int nwf, const AnalysisWaveform *wfs, const double *delays, const double *scales=0, AnalysisWaveform *output=0, double t0=0, double t1=100, int checkvpp=0)
 

Detailed Description

Definition at line 26 of file WaveformCombiner.h.

Member Function Documentation

void UCorrelator::WaveformCombiner::combine ( double  phi,
double  theta,
const FilteredAnitaEvent event,
AnitaPol::AnitaPol_t  pol,
ULong64_t  disallowed = 0,
double  t0 = 0,
double  t1 = 100,
double *  avg_of_peaks = 0,
bool  use_hilbert = true 
)

Combines the waveforms from the given event

Definition at line 90 of file WaveformCombiner.cc.

double UCorrelator::WaveformCombiner::combineWaveforms ( int  nwf,
const AnalysisWaveform wfs,
const double *  delays,
const double *  scales = 0,
AnalysisWaveform output = 0,
double  t0 = 0,
double  t1 = 100,
int  checkvpp = 0 
)
static

Static helper used to combine arbitrary waveforms

Definition at line 202 of file WaveformCombiner.cc.

void UCorrelator::WaveformCombiner::setExtraFilters ( FilterStrategy extra)

function allowing extra filters to be applied to just the coherently summed waveforms

Definition at line 247 of file WaveformCombiner.cc.

void UCorrelator::WaveformCombiner::setExtraFiltersDeconvolved ( FilterStrategy extra)

function allowing extra filters to be applied to just the coherently summed deconvolved waveforms. these functions are useful for applying different filters to waveform combining and map making. mostly I think it should be used to add BH13filter in map making and not in deconvolved wf combining

Definition at line 253 of file WaveformCombiner.cc.

void UCorrelator::WaveformCombiner::setResponseManager ( const AnitaResponse::ResponseManager rm)
inline

Sets the responses used when deconvolving. If a response is 0, nothing is done. Responses may be set globally, globally for polarizations or per antenna

Definition at line 38 of file WaveformCombiner.h.


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