CMS 3D CMS Logo

CandidateCut.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_SelectorUtils_CandidateCut_h
2 #define PhysicsTools_SelectorUtils_CandidateCut_h
3 
6 
7 namespace candidate_functions {
8  class CandidateCut {
9  public:
11  using result_type = bool;
12 
14  virtual result_type operator()(const argument_type&) const = 0;
15  virtual ~CandidateCut() {}
16 
17  virtual double value(const reco::CandidatePtr&) const = 0;
18 
19  virtual const std::string& name() const = 0;
20  };
21 }
22 
23 #endif
virtual result_type operator()(const argument_type &) const =0
virtual double value(const reco::CandidatePtr &) const =0
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
Definition: CandidateFwd.h:25
virtual const std::string & name() const =0