Classes | |
struct | Hists |
Public Member Functions | |
ParticleScaleFactorTool (const std::string &name) | |
virtual StatusCode | initialize () override |
Initialize is required by AsgTool base class. | |
virtual double | evaluate (const xAOD::IParticle *particle) const override |
returns: the value that was calculated from the xAOD::IParticle | |
bool | isAffectedBySystematic (const CP::SystematicVariation &systematic) const override |
The ISystematicsTool methods. | |
CP::SystematicSet | affectingSystematics () const override |
returns: the list of all systematics this tool can be affected by | |
CP::SystematicSet | recommendedSystematics () const override |
returns: the list of all systematics this tool recommends to use | |
CP::SystematicCode | applySystematicVariation (const CP::SystematicSet &systConfig) override |
Static Public Member Functions | |
static double | part_pt (const xAOD::IParticle &p) |
static double | part_pt_gev (const xAOD::IParticle &p) |
static double | part_eta (const xAOD::IParticle &p) |
static double | part_decor (const xAOD::IParticle &p, const std::string &varname) |
CP::SystematicCode ParticleScaleFactorTool::applySystematicVariation | ( | const CP::SystematicSet & | systConfig | ) | [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.