Tries to find unphysical spikes in a waveform that are characteristic of a kind of digitiser corruption. More...
#include <QualityCut.h>
Public Member Functions | |
SurfSaturationCut () | |
Constructor for the SurfSaturation cut, sets some hard coded default values. More... | |
virtual void | apply (const UsefulAnitaEvent *useful, AnitaEventSummary *sum=NULL) |
Applies the SurfSaturation cut. More... | |
Protected Attributes | |
double | maxLimit |
double | minLimit |
double | asymLimit |
double | maxVolts |
int | maxVoltsAnt |
AnitaPol::AnitaPol_t | maxVoltsPol |
double | minVolts |
int | minVoltsAnt |
AnitaPol::AnitaPol_t | minVoltsPol |
double | asymVolts |
int | asymVoltsAnt |
AnitaPol::AnitaPol_t | asymVoltsPol |
Additional Inherited Members | |
Static Public Member Functions inherited from Acclaim::QualityCut | |
static Bool_t | applyAll (const UsefulAnitaEvent *usefulEvent, AnitaEventSummary *sum=NULL) |
Applies all the event quality cuts in succession, this should be the primary interface. More... | |
static Bool_t | passedAll (const AnitaEventSummary *sum, bool describe=false) |
Reads the flags set in AnitaEventSummary, returns true if the event passed all quality cuts. More... | |
Public Attributes inherited from Acclaim::QualityCut | |
TString | description |
Bool_t | eventPassesCut |
Tries to find unphysical spikes in a waveform that are characteristic of a kind of digitiser corruption.
Currently comparses the maximum, minimum voltages and the difference in their magnitude to try to find spikes
Definition at line 59 of file QualityCut.h.
Acclaim::SurfSaturationCut::SurfSaturationCut | ( | ) |
Constructor for the SurfSaturation cut, sets some hard coded default values.
If the values are changed please increment the ClassDef counter in the header file.
Definition at line 93 of file QualityCut.cxx.
|
virtual |
Applies the SurfSaturation cut.
If the event does not pass this quality cut the summary flag isVarner is set to true. (This wasn't the original use of this flag in Abby's analysis, but I'm coopting the flag for this purpose)
useful | is the event whose quality we wish to characterise |
sum | is the AnitaEventSummary |
Implements Acclaim::QualityCut.
Definition at line 125 of file QualityCut.cxx.