Public Member Functions | |
DummyElectronEfficiencyCorrectionTool (const std::string &name, double efficiency=0.8) | |
virtual CP::CorrectionCode | getEfficiencyScaleFactor (const xAOD::Electron &, double &efficiencyScaleFactor) const override |
The interface for Scale Factors. | |
virtual CP::CorrectionCode | applyEfficiencyScaleFactor (const xAOD::Electron &) const override |
virtual bool | isAffectedBySystematic (const CP::SystematicVariation &) const override |
returns: whether this tool is affected by the given systematics | |
virtual CP::SystematicSet | affectingSystematics () const override |
returns: the list of all systematics this tool can be affected by | |
virtual CP::SystematicSet | recommendedSystematics () const override |
returns: the list of all systematics this tool recommends to use | |
virtual CP::SystematicCode | applySystematicVariation (const CP::SystematicSet &) override |
virtual CP::SystematicCode DummyElectronEfficiencyCorrectionTool::applySystematicVariation | ( | const CP::SystematicSet & | systConfig | ) | [inline, override, virtual] |
effects: configure this tool for the given list of systematic variations. any requested systematics that are not affecting this tool will be silently ignored (unless they cause other errors). failures: systematic unknown failures: requesting multiple variations on the same systematic (e.g. up & down) failures: requesting an unsupported variation on an otherwise supported systematic (e.g. a 2 sigma variation and the tool only supports 1 sigma variations) failures: unsupported combination of supported systematic failures: other tool specific errors
Implements CP::ISystematicsTool.