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

Tries to determine whether an event is a payload blast. More...

#include <QualityCut.h>

Public Member Functions

 PayloadBlastCut ()
 
virtual void apply (const UsefulAnitaEvent *useful, AnitaEventSummary *sum=NULL)
 

Protected Attributes

double ratioCutHigh
 
double ratioCutLow
 
double maxRatio
 
int maxRatioPhi
 
AnitaPol::AnitaPol_t maxRatioPol
 

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

Tries to determine whether an event is a payload blast.

Payload blasts tend to have lots of power in the bottom ring, but not the top. The cut comparse the peak-to-peak voltages in the top and bottom rings in matching phi-sectors

Definition at line 98 of file QualityCut.h.

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

Constructor & Destructor Documentation

Acclaim::PayloadBlastCut::PayloadBlastCut ( )

Constructor for the payload blast cut, contains some hard coded numbers

If the values are changed please increment the ClassDef counter in the header file.

Definition at line 194 of file QualityCut.cxx.

Member Function Documentation

void Acclaim::PayloadBlastCut::apply ( const UsefulAnitaEvent useful,
AnitaEventSummary sum = NULL 
)
virtual

Applies the payload blast cut.

Sets the pre-existings flag isPayloadBlast to true if the event does not pass the cut

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

Implements Acclaim::QualityCut.

Definition at line 217 of file QualityCut.cxx.


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