CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/RecoTracker/MeasurementDet/plugins/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