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

CellsAboveThreshold.h

Go to the documentation of this file.
00001 //===========================================================
00002 // Select cells above threshold
00003 //===========================================================
00004 
00005 #ifndef ATLFAST_CELLSABOVETHRESHOLD_H
00006 #define ATLFAST_CELLSABOVETHRESHOLD_H
00007 #include "AtlfastAlgs/ICellSelector.h"
00008 #include "AtlfastEvent/Cell.h"
00009 
00010 namespace Atlfast {
00015   class CellsAboveThreshold:public ICellSelector {
00016   public:
00021     CellsAboveThreshold(double ET=0.):m_thresh(ET){}
00022     ~CellsAboveThreshold(){}
00027     virtual bool operator()(const ICell* cptr) const
00028       { return (cptr->eT()>m_thresh) ? true:false;}
00029   private:
00031     double m_thresh;
00032   };
00033   
00034 }
00035 #endif
00036 
00037 
00038 
00039 
00040 
00041 

Generated on Tue Mar 18 11:18:22 2003 for AtlfastAlgs by doxygen1.3-rc1