Public Member Functions | |
DummyMuonTriggerScaleFactors (const std::string &name, double efficiency=0.7) | |
DummyMuonTriggerScaleFactors (const std::string &name, const std::map< std::string, double > &efficiencies) | |
virtual StatusCode | initialize (void) override |
virtual CP::CorrectionCode | getTriggerScaleFactor (const xAOD::MuonContainer &, Double_t &, const std::string &) override |
virtual CP::CorrectionCode | getTriggerEfficiency (const xAOD::Muon &, Double_t &efficiency, const std::string &trig, Bool_t) override |
virtual CP::CorrectionCode | setRunNumber (Int_t) 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 |
Protected Attributes | |
std::string | m_year |
virtual CP::SystematicCode DummyMuonTriggerScaleFactors::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.
virtual StatusCode DummyMuonTriggerScaleFactors::initialize | ( | void | ) | [inline, override, virtual] |
Dummy implementation of the initialisation function
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from asg::AsgTool.