#include <ClassBasedElectronID.h>
Definition at line 6 of file ClassBasedElectronID.h.
◆ ClassBasedElectronID()
ClassBasedElectronID::ClassBasedElectronID |
( |
| ) |
|
|
inline |
◆ ~ClassBasedElectronID()
ClassBasedElectronID::~ClassBasedElectronID |
( |
| ) |
|
|
inlineoverride |
◆ result()
Reimplemented from ElectronIDAlgo.
Definition at line 27 of file ClassBasedElectronID.cc.
References reco::GsfElectron::BIGBREM, cuts_, HPSPFTauProducerPuppi_cfi::electron, reco::GsfElectron::GAP, edm::ParameterSet::getParameter(), reco::GsfElectron::GOLDEN, reco::GsfElectron::SHOWERING, reco::GsfElectron::UNKNOWN, HLT_2024v13_cff::value1, and HLT_2024v13_cff::value2.
31 int elClass =
electron->classification();
55 edm::LogError(
"ClassBasedElectronID") <<
"Error: unrecognized electron classification ";
59 bool useDeltaEtaIn =
true;
60 bool useSigmaIetaIeta =
true;
61 bool useHoverE =
true;
62 bool useEoverPOut =
true;
63 bool useDeltaPhiInCharge =
true;
68 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"deltaEtaIn");
69 if (fabs(
value) > maxcut[icut])
74 if (useSigmaIetaIeta) {
76 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"sigmaIetaIetaMax");
77 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"sigmaIetaIetaMin");
78 if (
value < mincut[icut] ||
value > maxcut[icut])
86 if (
value > maxcut[icut])
93 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"EoverPOutMax");
94 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"EoverPOutMin");
95 if (
value < mincut[icut] ||
value > maxcut[icut])
100 if (useDeltaPhiInCharge) {
104 std::vector<double> maxcut =
cuts_.
getParameter<std::vector<double> >(
"deltaPhiInChargeMax");
105 std::vector<double> mincut =
cuts_.
getParameter<std::vector<double> >(
"deltaPhiInChargeMin");
106 if (
value < mincut[icut] ||
value > maxcut[icut])
T getParameter(std::string const &) const
Log< level::Error, false > LogError
◆ setup()
◆ cuts_
◆ quality_
std::string ClassBasedElectronID::quality_ |
|
private |