EtMinSelector

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef RecoAlgos_EtMinSelector_h
#define RecoAlgos_EtMinSelector_h
/* \class EtMinSelector
 *
 * \author Luca Lista, INFN
 *
 * $Id: EtMinSelector.h,v 1.5 2007/06/18 18:33:53 llista Exp $
 */

struct EtMinSelector {
  EtMinSelector(double etMin) : etMin_(etMin) {}
  template <typename T>
  bool operator()(const T& t) const {
    return t.et() >= etMin_;
  }

private:
  double etMin_;
};

#endif