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

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
 

Detailed Description

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.

Inheritance diagram for Acclaim::NumPointsCut:
Inheritance graph
[legend]
Collaboration diagram for Acclaim::NumPointsCut:
Collaboration graph
[legend]

Constructor & Destructor Documentation

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.

Member Function Documentation

void Acclaim::NumPointsCut::apply ( const UsefulAnitaEvent useful,
AnitaEventSummary sum = NULL 
)
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.

Parameters
usefulis the event whose quality we wish to characterise
sumis the AnitaEventSummary

Implements Acclaim::QualityCut.

Definition at line 339 of file QualityCut.cxx.


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