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 
00008 #include "AtlfastAlgs/ICellSelector.h"
00009 #include "AtlfastEvent/Cell.h"
00010 
00011 namespace Atlfast {
00012   
00014   class CellsAboveThreshold:public ICellSelector {
00015   public:
00016     
00018     CellsAboveThreshold(double ET=0.):m_thresh(ET){}
00019     
00021     ~CellsAboveThreshold(){}
00022     
00024     virtual bool operator()(const ICell* cptr) const
00025       { return (cptr->eT()>m_thresh) ? true:false;}
00026 
00027   private:
00029     double m_thresh;
00030   };
00031   
00032 }
00033 #endif
00034 
00035 
00036 
00037 
00038 
00039 

Generated on Mon Sep 24 14:19:10 2007 for AtlfastAlgs by  doxygen 1.5.1