#include <TemplatedSoftLeptonTagInfo.h>
|
template<typename T > |
static T | byName (const char *name) |
|
|
static const float | undef = -999.0 |
|
◆ Electron
enum reco::SoftLeptonProperties::Quality::Electron |
◆ Generic
enum reco::SoftLeptonProperties::Quality::Generic |
◆ Muon
enum reco::SoftLeptonProperties::Quality::Muon |
◆ byName()
template<typename T >
static T reco::SoftLeptonProperties::Quality::byName |
( |
const char * |
name | ) |
|
|
inlinestatic |
◆ internalByName()
unsigned int reco::SoftLeptonProperties::Quality::internalByName |
( |
const char * |
name | ) |
|
|
staticprivate |
Definition at line 14 of file TemplatedSoftLeptonTagInfo.cc.
References edm::errors::Configuration, Exception, HLT_2022v15_cff::leptonId, and Skims_PA_cff::name.
Referenced by byName().
15 if (std::strcmp(
name,
"") == 0)
18 if (std::strcmp(
name,
"leptonId") == 0)
20 else if (std::strcmp(
name,
"btagLeptonCands") == 0)
23 if (std::strcmp(
name,
"pfElectronId") == 0)
25 else if (std::strcmp(
name,
"btagElectronCands") == 0)
28 if (std::strcmp(
name,
"muonId") == 0)
30 else if (std::strcmp(
name,
"btagMuonCands") == 0)
34 <<
"Requested lepton quality \"" <<
name <<
"\" not found in SoftLeptonProperties::Quality::byName"
◆ undef
const float reco::SoftLeptonProperties::Quality::undef = -999.0 |
|
static |