#include <CellsAboveThreshold.h>
Inheritance diagram for Atlfast::CellsAboveThreshold:
Public Member Functions | |
CellsAboveThreshold (double ET=0.) | |
~CellsAboveThreshold () | |
virtual bool | operator() (const ICell *cptr) const |
Private Attributes | |
double | m_thresh |
Definition at line 14 of file CellsAboveThreshold.h.
Atlfast::CellsAboveThreshold::CellsAboveThreshold | ( | double | ET = 0. |
) | [inline] |
Constructor taking energy threshold
Definition at line 18 of file CellsAboveThreshold.h.
00018 :m_thresh(ET){}
Atlfast::CellsAboveThreshold::~CellsAboveThreshold | ( | ) | [inline] |
virtual bool Atlfast::CellsAboveThreshold::operator() | ( | const ICell * | cptr | ) | const [inline, virtual] |
Returns true if Cell's energy sum is above energy threshold
Implements Atlfast::ICellSelector.
Definition at line 24 of file CellsAboveThreshold.h.
00025 { return (cptr->eT()>m_thresh) ? true:false;}
double Atlfast::CellsAboveThreshold::m_thresh [private] |
Energy threshold
Definition at line 29 of file CellsAboveThreshold.h.