Classes | |
class | UncertFuncBase |
class | UncertFuncV1 |
Public Member Functions | |
EGEtScaleSysModifier (const edm::ParameterSet &conf, edm::ConsumesCollector &) | |
void | modifyObject (pat::Electron &ele) const final |
void | modifyObject (pat::Photon &pho) const 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, |
edm::ConsumesCollector & | |||
) |
Definition at line 87 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, setEcalEnergy(), setEvent(), and setEventContent().
|
private |
Definition at line 176 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 112 of file EGEtScaleSysModifier.cc.
References pat::PATObject< ObjectType >::addUserFloat(), calCombinedMom(), corr, reco::GsfElectron::correctMomentum(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::ecalEnergyError(), 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 153 of file EGEtScaleSysModifier.cc.
References pat::PATObject< ObjectType >::addUserFloat(), corr, reco::LeafCandidate::energy(), reco::LeafCandidate::et(), EGEnergySysIndex::kEcalPostCorr, EGEnergySysIndex::kEcalPreCorr, EGEnergySysIndex::kScaleValue, EGEnergySysIndex::name(), uncertFunc_, and pat::PATObject< ObjectType >::userFloat().
|
private |
Definition at line 196 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 101 of file EGEtScaleSysModifier.cc.
Referenced by ~EGEtScaleSysModifier().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 106 of file EGEtScaleSysModifier.cc.
References epCombTool_, and EpCombinationTool::setEventContent().
Referenced by ~EGEtScaleSysModifier().
|
private |
Definition at line 83 of file EGEtScaleSysModifier.cc.
Referenced by calCombinedMom(), and setEventContent().
|
private |
Definition at line 84 of file EGEtScaleSysModifier.cc.
Referenced by EGEtScaleSysModifier(), and modifyObject().