CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GsfEleSigmaIEtaIEtaCut.cc
Go to the documentation of this file.
3 
5 public:
8  _sigmaIEtaIEtaCutValueEB(c.getParameter<double>("sigmaIEtaIEtaCutValueEB")),
9  _sigmaIEtaIEtaCutValueEE(c.getParameter<double>("sigmaIEtaIEtaCutValueEE")),
10  _barrelCutOff(c.getParameter<double>("barrelCutOff")) {}
11 
13 
14  double value(const reco::CandidatePtr& cand) const final;
15 
17 
18 private:
20 };
21 
23 
25  const float sigmaIEtaIEtaCutValue =
26  (std::abs(cand->superCluster()->position().eta()) < _barrelCutOff ? _sigmaIEtaIEtaCutValueEB
28  return cand->sigmaIetaIeta() < sigmaIEtaIEtaCutValue;
29 }
30 
32  reco::GsfElectronPtr ele(cand);
33  return ele->sigmaIetaIeta();
34 }
const edm::EventSetup & c
double value(const reco::CandidatePtr &cand) const final
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
CandidateType candidateType() const final
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
Definition: CandidateFwd.h:25
#define DEFINE_EDM_PLUGIN(factory, type, name)
result_type operator()(const reco::GsfElectronPtr &) const final
GsfEleSigmaIEtaIEtaCut(const edm::ParameterSet &c)