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 (pat::Jet &) const |
virtual void | modifyObject (pat::Muon &) const |
virtual void | modifyObject (pat::Tau &) const |
virtual void | modifyObject (reco::BaseTau &) const |
virtual void | modifyObject (reco::GsfElectron &) const |
virtual void | modifyObject (reco::Jet &) const |
virtual void | modifyObject (reco::Muon &) const |
virtual void | modifyObject (reco::Photon &) 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 28 of file EGEtScaleSysModifier.cc.
EGEtScaleSysModifier::EGEtScaleSysModifier | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | |||
) |
Definition at line 89 of file EGEtScaleSysModifier.cc.
References Exception, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and uncertFunc_.
|
inlineoverride |
Definition at line 31 of file EGEtScaleSysModifier.cc.
|
private |
Definition at line 165 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(), Scenarios_cff::scale, reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::setCorrectedEcalEnergyError(), setEcalEnergy(), and reco::GsfElectron::trackMomentumError().
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 105 of file EGEtScaleSysModifier.cc.
References pat::PATObject< ObjectType >::addUserFloat(), calCombinedMom(), alignCSCRings::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().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 144 of file EGEtScaleSysModifier.cc.
References pat::PATObject< ObjectType >::addUserFloat(), alignCSCRings::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 183 of file EGEtScaleSysModifier.cc.
References reco::GsfElectron::ecalEnergy(), reco::GsfElectron::ecalEnergyError(), Scenarios_cff::scale, reco::GsfElectron::setCorrectedEcalEnergy(), and reco::GsfElectron::setCorrectedEcalEnergyError().
Referenced by calCombinedMom().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 101 of file EGEtScaleSysModifier.cc.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 103 of file EGEtScaleSysModifier.cc.
References epCombTool_, and EpCombinationTool::setEventContent().
|
private |
Definition at line 85 of file EGEtScaleSysModifier.cc.
Referenced by calCombinedMom(), and setEventContent().
|
private |
Definition at line 86 of file EGEtScaleSysModifier.cc.
Referenced by EGEtScaleSysModifier(), and modifyObject().