Atlfast::CellsAboveThreshold Class Reference

Helper class to select cells above an energy threshold. More...

#include <CellsAboveThreshold.h>

Inheritance diagram for Atlfast::CellsAboveThreshold:

Inheritance graph
[legend]
Collaboration diagram for Atlfast::CellsAboveThreshold:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CellsAboveThreshold (double ET=0.)
 ~CellsAboveThreshold ()
virtual bool operator() (const ICell *cptr) const

Private Attributes

double m_thresh

Detailed Description

Helper class to select cells above an energy threshold.

Definition at line 14 of file CellsAboveThreshold.h.


Constructor & Destructor Documentation

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]

Empty destructor

Definition at line 21 of file CellsAboveThreshold.h.

00021 {}


Member Function Documentation

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;}


Member Data Documentation

double Atlfast::CellsAboveThreshold::m_thresh [private]

Energy threshold

Definition at line 29 of file CellsAboveThreshold.h.


The documentation for this class was generated from the following file:
Generated on Mon Sep 24 14:19:36 2007 for AtlfastAlgs by  doxygen 1.5.1