27 "GsfEleEInverseMinusPInverseCut");
29 CutApplicatorBase::result_type
32 const float ooemoopCutValue =
35 const float ecal_energy_inverse = 1.0/cand->ecalEnergy();
36 const float eSCoverP = cand->eSuperClusterOverP();
37 return std::abs(1.0 - eSCoverP)*ecal_energy_inverse < ooemoopCutValue;
43 const float ecal_energy_inverse = 1.0/ele->ecalEnergy();
44 const float eSCoverP = ele->eSuperClusterOverP();
45 return std::abs(1.0 - eSCoverP)*ecal_energy_inverse;
const double _ooemoopCutValueEB
GsfEleEInverseMinusPInverseCut(const edm::ParameterSet &c)
CandidateType candidateType() const overridefinal
result_type operator()(const reco::GsfElectronPtr &) const overridefinal
double value(const reco::CandidatePtr &cand) const overridefinal
Abs< T >::type abs(const T &t)
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
const double _barrelCutOff
#define DEFINE_EDM_PLUGIN(factory, type, name)
const double _ooemoopCutValueEE