Removes events which have short waveforms. More...
#include <QualityCut.h>
Public Member Functions | |
NumPointsCut () | |
Constructor for the number of points cut, contains some hard coded numbers. More... | |
virtual void | apply (const UsefulAnitaEvent *useful, AnitaEventSummary *sum=NULL) |
Apply the number of points cut. More... | |
Protected Attributes | |
int | numPointsCutLow |
int | minNumPoints |
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 |
Removes events which have short waveforms.
Very simple, just counts the number of points in each chanel of a UsefulAnitaEvent
Definition at line 126 of file QualityCut.h.
Acclaim::NumPointsCut::NumPointsCut | ( | ) |
Constructor for the number of points cut, contains some hard coded numbers.
If the values are changed please increment the ClassDef counter in the header file.
Definition at line 318 of file QualityCut.cxx.
|
virtual |
Apply the number of points cut.
This cut was really only designed to prevent core dumps when the gsl akima interpolator than ROOT wraps fails, The failure occurs when n < 5.
useful | is the event whose quality we wish to characterise |
sum | is the AnitaEventSummary |
Implements Acclaim::QualityCut.
Definition at line 339 of file QualityCut.cxx.