33 <<
"Invalid electronQuality parameter in PTDElectronID: must be tight, medium or loose.";
67 edm::LogError(
"PTDRElectronID") <<
"Error: unrecognized electron classification ";
77 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"EoverPInMax");
78 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"EoverPInMin");
79 if (value < mincut[icut] || value > maxcut[icut])
85 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"deltaEtaIn");
86 if (fabs(value) > maxcut[icut])
92 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"deltaPhiIn");
93 if (fabs(value) > maxcut[icut])
100 if (value > maxcut[icut])
106 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"EoverPOutMax");
107 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"EoverPOutMin");
108 if (value < mincut[icut] || value > maxcut[icut])
114 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"deltaPhiOut");
115 if (fabs(value) > maxcut[icut])
121 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"invEMinusInvP");
122 if (value > maxcut[icut])
128 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"bremFraction");
129 if (value < mincut[icut])
139 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"E9overE25");
140 if (fabs(value) < mincut[icut])
145 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"sigmaEtaEtaMax");
146 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"sigmaEtaEtaMin");
152 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"sigmaPhiPhiMin");
153 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"sigmaPhiPhiMax");
float sigmaIphiIphi() const
float eSuperClusterOverP() const
std::vector< int > useHoverE_
math::XYZVectorF trackMomentumAtVtx() const
std::vector< int > useInvEMinusInvP_
std::vector< int > useDeltaPhiOut_
Log< level::Error, false > LogError
std::vector< int > useSigmaPhiPhi_
double result(const reco::GsfElectron *, const edm::Event &, const edm::EventSetup &) override
float deltaEtaSuperClusterTrackAtVtx() const
float sigmaIetaIeta() const
float hadronicOverEm() const
std::vector< int > useEoverPIn_
float deltaPhiSeedClusterTrackAtCalo() const
math::XYZVectorF trackMomentumOut() const
float deltaPhiSuperClusterTrackAtVtx() const
float eSeedClusterOverPout() const
std::vector< int > useDeltaEtaIn_
std::vector< int > useEoverPOut_
std::vector< int > useSigmaEtaEta_
Classification classification() const
T getParameter(std::string const &) const
std::vector< int > useBremFraction_
std::vector< int > useDeltaPhiIn_
SuperClusterRef superCluster() const override
reference to a SuperCluster
std::vector< int > useE9overE25_
void setup(const edm::ParameterSet &conf) override
std::vector< int > acceptCracks_