Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Acclaim::Filters::Notch Class Reference

Filters contiguous frequency bins in the FourierDomain. More...

#include <AcclaimFilters.h>

Public Member Functions

 Notch (Double_t lowEdgeGHz, Double_t highEdgeGHz)
 Constructor for notch. More...
 
virtual const char * tag () const
 
virtual const char * description () const
 
virtual unsigned nOutputs () const
 
virtual const char * outputName (unsigned i) const
 
virtual unsigned outputLength (unsigned i) const
 
virtual void fillOutput (unsigned i, double *v) const
 
virtual void process (FilteredAnitaEvent *fe)
 Applies the notch to all waveforms in an event. More...
 
- Public Member Functions inherited from FilterOperation
virtual ~FilterOperation ()
 

Protected Member Functions

virtual void processOne (AnalysisWaveform *g, const RawAnitaHeader *header=0, int ant=0, int pol=0)
 applies the notch to a single waveform More...
 
- Protected Member Functions inherited from FilterOperation
AnalysisWaveformgetWf (FilteredAnitaEvent *ev, int i)
 
AnalysisWaveformgetWf (FilteredAnitaEvent *ev, int ant, AnitaPol::AnitaPol_t pol)
 

Protected Attributes

TString fTag
 
TString fDescription
 
TString fOutputName
 
Double_t fLowEdgeGHz
 
Double_t fHighEdgeGHz
 
Double_t fPowerRemovedByNotch [AnitaPol::kNotAPol][NUM_SEAVEYS]
 

Detailed Description

Filters contiguous frequency bins in the FourierDomain.

Notch

Definition at line 64 of file AcclaimFilters.h.

Inheritance diagram for Acclaim::Filters::Notch:
Inheritance graph
[legend]
Collaboration diagram for Acclaim::Filters::Notch:
Collaboration graph
[legend]

Constructor & Destructor Documentation

Acclaim::Filters::Notch::Notch ( Double_t  lowEdgeGHz,
Double_t  highEdgeGHz 
)

Constructor for notch.

Parameters
lowEdgeGHzis the frequency in GHz of the low edge of the notch (i.e. the high pass frequency)
highEdgeGHzis the frequency in GHz of the high edge of the notch (i.e. the low pass frequency)

Definition at line 179 of file AcclaimFilters.cxx.

Member Function Documentation

virtual const char* Acclaim::Filters::Notch::description ( ) const
inlinevirtual

human readable description, should provide sufficient information to understand what was done

Implements FilterOperation.

Definition at line 76 of file AcclaimFilters.h.

virtual void Acclaim::Filters::Notch::fillOutput ( unsigned  i,
double *  v 
) const
inlinevirtual

Fill the ith output

Reimplemented from FilterOperation.

Definition at line 80 of file AcclaimFilters.h.

virtual unsigned Acclaim::Filters::Notch::nOutputs ( ) const
inlinevirtual

The number of output variables (doubles or double arrays) defined by this operation

Reimplemented from FilterOperation.

Definition at line 77 of file AcclaimFilters.h.

virtual unsigned Acclaim::Filters::Notch::outputLength ( unsigned  i) const
inlinevirtual

The length of the ith output variable (it's a double array of this size)

Reimplemented from FilterOperation.

Definition at line 79 of file AcclaimFilters.h.

virtual const char* Acclaim::Filters::Notch::outputName ( unsigned  i) const
inlinevirtual

The name of the ith output variable

Reimplemented from FilterOperation.

Definition at line 78 of file AcclaimFilters.h.

void Acclaim::Filters::Notch::process ( FilteredAnitaEvent ev)
virtual

Applies the notch to all waveforms in an event.

Also stores the power removed from each channel

Parameters
evis the event to which the notch should be applied to all channels

Reimplemented from UniformFilterOperation.

Definition at line 230 of file AcclaimFilters.cxx.

void Acclaim::Filters::Notch::processOne ( AnalysisWaveform g,
const RawAnitaHeader header = 0,
int  ant = 0,
int  pol = 0 
)
protectedvirtual

applies the notch to a single waveform

Parameters
gis the waveform to which the notch filters should be applied

Implements UniformFilterOperation.

Definition at line 201 of file AcclaimFilters.cxx.

virtual const char* Acclaim::Filters::Notch::tag ( ) const
inlinevirtual

short name for operation, will be used for output tree name, if there is one

Implements FilterOperation.

Definition at line 75 of file AcclaimFilters.h.


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