#include <EleEnergyRetriever.h>
Public Types | |
enum | EnergyType { EnergyType::EcalTrk, EnergyType::Ecal, EnergyType::SuperCluster, EnergyType::SuperClusterRaw } |
Public Member Functions | |
EleEnergyRetriever (const std::string &typeStr) | |
float | operator() (const reco::GsfElectron &ele) const |
Static Public Member Functions | |
static EnergyType | convertFromStr (const std::string &typeStr) |
Private Attributes | |
EnergyType | type_ |
Definition at line 7 of file EleEnergyRetriever.h.
|
strong |
Enumerator | |
---|---|
EcalTrk | |
Ecal | |
SuperCluster | |
SuperClusterRaw |
Definition at line 9 of file EleEnergyRetriever.h.
|
inline |
Definition at line 11 of file EleEnergyRetriever.h.
|
inlinestatic |
Definition at line 13 of file EleEnergyRetriever.h.
References Ecal, EcalTrk, Exception, SuperCluster, and SuperClusterRaw.
|
inline |
Definition at line 28 of file EleEnergyRetriever.h.
References Ecal, reco::GsfElectron::ecalEnergy(), EcalTrk, reco::LeafCandidate::energy(), SuperCluster, reco::GsfElectron::superCluster(), SuperClusterRaw, and type_.
|
private |
Definition at line 43 of file EleEnergyRetriever.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and operator()().