|
||||
File indexing completed on 2024-04-06 12:01:18
0001 #ifndef RecoAlgos_PtMinSelector_h 0002 #define RecoAlgos_PtMinSelector_h 0003 /* \class PtMinSelector 0004 * 0005 * \author Luca Lista, INFN 0006 * 0007 * $Id: PtMinSelector.h,v 1.6 2007/06/18 18:33:54 llista Exp $ 0008 */ 0009 0010 struct PtMinSelector { 0011 PtMinSelector(double ptMin) : ptMin_(ptMin) {} 0012 template <typename T> 0013 bool operator()(const T& t) const { 0014 return t.pt() >= ptMin_; 0015 } 0016 0017 private: 0018 double ptMin_; 0019 }; 0020 0021 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |