Classes | |
class | UncertFuncBase |
class | UncertFuncV1 |
Public Member Functions | |
EGEtScaleSysModifier (const edm::ParameterSet &conf) | |
void | modifyObject (pat::Electron &ele) const final |
void | modifyObject (pat::Photon &pho) const final |
void | setConsumes (edm::ConsumesCollector &) final |
void | setEvent (const edm::Event &) final |
void | setEventContent (const edm::EventSetup &) final |
~EGEtScaleSysModifier () override | |
Public Member Functions inherited from ModifyObjectValueBase | |
virtual void | modifyObject (reco::GsfElectron &) const |
virtual void | modifyObject (reco::Photon &) const |
virtual void | modifyObject (reco::Muon &) const |
virtual void | modifyObject (reco::BaseTau &) const |
virtual void | modifyObject (reco::Jet &) const |
virtual void | modifyObject (pat::Muon &) const |
virtual void | modifyObject (pat::Tau &) const |
virtual void | modifyObject (pat::Jet &) const |
ModifyObjectValueBase (const edm::ParameterSet &conf) | |
const std::string & | name () const |
virtual | ~ModifyObjectValueBase () |
Private Member Functions | |
std::pair< float, float > | calCombinedMom (reco::GsfElectron &ele, const float scale, const float smear) const |
void | setEcalEnergy (reco::GsfElectron &ele, const float scale, const float smear) const |
Private Attributes | |
EpCombinationTool | epCombTool_ |
std::unique_ptr< UncertFuncBase > | uncertFunc_ |
Definition at line 29 of file EGEtScaleSysModifier.cc.
EGEtScaleSysModifier::EGEtScaleSysModifier | ( | const edm::ParameterSet & | conf | ) |
Definition at line 88 of file EGEtScaleSysModifier.cc.
References Exception, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and uncertFunc_.
|
inlineoverride |
Definition at line 32 of file EGEtScaleSysModifier.cc.
References calCombinedMom(), modifyObject(), Scenarios_cff::scale, setConsumes(), setEcalEnergy(), setEvent(), and setEventContent().
|
private |
Definition at line 182 of file EGEtScaleSysModifier.cc.
References EpCombinationTool::combine(), reco::GsfElectron::correctMomentum(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::ecalEnergyError(), epCombTool_, reco::GsfElectron::p4(), reco::GsfElectron::P4_COMBINATION, reco::GsfElectron::p4Error(), reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::setCorrectedEcalEnergyError(), setEcalEnergy(), and reco::GsfElectron::trackMomentumError().
Referenced by modifyObject(), and ~EGEtScaleSysModifier().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 118 of file EGEtScaleSysModifier.cc.
References pat::PATObject< ObjectType >::addUserFloat(), calCombinedMom(), corr, reco::GsfElectron::correctMomentum(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::ecalEnergyError(), photons_cff::ecalEnergyPostCorr, photons_cff::ecalEnergyPreCorr, reco::LeafCandidate::energy(), reco::LeafCandidate::et(), EGEnergySysIndex::kEcalErrPreCorr, EGEnergySysIndex::kEcalPostCorr, EGEnergySysIndex::kEcalPreCorr, EGEnergySysIndex::kScaleValue, EGEnergySysIndex::kSmearValue, EGEnergySysIndex::name(), reco::GsfElectron::p4(), reco::GsfElectron::P4_COMBINATION, reco::GsfElectron::p4Error(), reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::setCorrectedEcalEnergyError(), reco::GsfElectron::trackMomentumError(), uncertFunc_, and pat::PATObject< ObjectType >::userFloat().
Referenced by ~EGEtScaleSysModifier().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 159 of file EGEtScaleSysModifier.cc.
References pat::PATObject< ObjectType >::addUserFloat(), corr, photons_cff::ecalEnergyPostCorr, photons_cff::ecalEnergyPreCorr, reco::LeafCandidate::energy(), reco::LeafCandidate::et(), EGEnergySysIndex::kEcalPostCorr, EGEnergySysIndex::kEcalPreCorr, EGEnergySysIndex::kScaleValue, EGEnergySysIndex::name(), uncertFunc_, and pat::PATObject< ObjectType >::userFloat().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 102 of file EGEtScaleSysModifier.cc.
Referenced by ~EGEtScaleSysModifier().
|
private |
Definition at line 202 of file EGEtScaleSysModifier.cc.
References DEFINE_EDM_PLUGIN, reco::GsfElectron::ecalEnergy(), reco::GsfElectron::ecalEnergyError(), reco::GsfElectron::setCorrectedEcalEnergy(), and reco::GsfElectron::setCorrectedEcalEnergyError().
Referenced by calCombinedMom(), and ~EGEtScaleSysModifier().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 107 of file EGEtScaleSysModifier.cc.
Referenced by ~EGEtScaleSysModifier().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 112 of file EGEtScaleSysModifier.cc.
References epCombTool_, and EpCombinationTool::setEventContent().
Referenced by ~EGEtScaleSysModifier().
|
private |
Definition at line 84 of file EGEtScaleSysModifier.cc.
Referenced by calCombinedMom(), and setEventContent().
|
private |
Definition at line 85 of file EGEtScaleSysModifier.cc.
Referenced by EGEtScaleSysModifier(), and modifyObject().