CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoTracker/MeasurementDet/interface/StripClusterAboveU.h

Go to the documentation of this file.
00001 #ifndef StripClusterAboveU_H
00002 #define StripClusterAboveU_H
00003 
00004 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
00005 
00011 class StripClusterAboveU {
00012 public:
00013   StripClusterAboveU( float u) : theU(u) {}
00014   bool operator()( const SiStripCluster& hit) const {
00015     return hit.barycenter() > theU; 
00016   }
00017 private:
00018   float theU;
00019 };
00020 
00021 #endif