Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

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 Methods

 CellsAboveThreshold (double ET=0.)
 Constructor taking energy threshold.

 ~CellsAboveThreshold ()
virtual bool operator() (const ICell *cptr) const
 Returns true if Cell's energy sum is above energy threshold.


Private Attributes

double m_thresh
 Energy threshold.


Detailed Description

Helper class to select cells above an energy threshold.

Definition at line 15 of file CellsAboveThreshold.h.


Constructor & Destructor Documentation

Atlfast::CellsAboveThreshold::CellsAboveThreshold double    ET = 0. [inline]
 

Constructor taking energy threshold.

Definition at line 21 of file CellsAboveThreshold.h.

References m_thresh.

00021 :m_thresh(ET){}

Atlfast::CellsAboveThreshold::~CellsAboveThreshold   [inline]
 

Definition at line 22 of file CellsAboveThreshold.h.

00022 {}

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 27 of file CellsAboveThreshold.h.

References m_thresh.

00028       { return (cptr->eT()>m_thresh) ? true:false;}

Member Data Documentation

double Atlfast::CellsAboveThreshold::m_thresh [private]
 

Energy threshold.

Definition at line 31 of file CellsAboveThreshold.h.

Referenced by CellsAboveThreshold(), and operator()().


The documentation for this class was generated from the following file:
Generated on Tue Mar 18 11:18:53 2003 for AtlfastAlgs by doxygen1.3-rc1