CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GsfEleE2x5OverE5x5Cut.cc
Go to the documentation of this file.
4 
6 public:
8  CutApplicatorBase(params),
9  minE1x5OverE5x5_(params,"minE1x5OverE5x5"),
10  minE2x5OverE5x5_(params,"minE2x5OverE5x5"){}
11 
12  result_type operator()(const reco::GsfElectronPtr&) const override final;
13 
14  CandidateType candidateType() const override final {
15  return ELECTRON;
16  }
17 
18 private:
21 
22 
23 };
24 
27  "GsfEleE2x5OverE5x5Cut");
28 
29 CutApplicatorBase::result_type
31 operator()(const reco::GsfElectronPtr& cand) const{
32 
33  return cand->e2x5Max() > minE2x5OverE5x5_(cand)*cand->e5x5() ||
34  cand->e1x5() > minE1x5OverE5x5_(cand)*cand->e5x5();
35 
36 }
result_type operator()(const reco::GsfElectronPtr &) const overridefinal
GsfEleE2x5OverE5x5Cut(const edm::ParameterSet &params)
string const
Definition: compareJSON.py:14
#define DEFINE_EDM_PLUGIN(factory, type, name)
CandidateType candidateType() const overridefinal