[CMSSW] / CMSSW / PhysicsTools / Utilities / interface / PtMinSelector.h Repository:
ViewVC logotype

Diff of /CMSSW/PhysicsTools/Utilities/interface/PtMinSelector.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Tue Jul 25 09:02:56 2006 UTC revision 1.2, Tue Jul 25 17:21:31 2006 UTC
# Line 14  Line 14 
14      ptMin_( ptMin ) { }      ptMin_( ptMin ) { }
15    PtMinSelector( const edm::ParameterSet & cfg ) :    PtMinSelector( const edm::ParameterSet & cfg ) :
16      ptMin_( cfg.template getParameter<double>( "ptMin" ) ) { }      ptMin_( cfg.template getParameter<double>( "ptMin" ) ) { }
17    bool operator()( const T & t ) { return t.pt() > ptMin_; }    bool operator()( const T & t ) const { return t.pt() > ptMin_; }
18  private:  private:
19    double ptMin_;    double ptMin_;
20  };  };

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CERN LCG CVS service
ViewVC Help
Powered by ViewVC 1.0.9