Public Member Functions | |
ElectronChargeEfficiencyCorrectionTool (const std::string name) | |
Standard constructor. | |
virtual | ~ElectronChargeEfficiencyCorrectionTool () |
Standard destructor. | |
virtual StatusCode | initialize () |
Gaudi Service Interface method implementations. | |
virtual StatusCode | finalize () |
Gaudi Service Interface method implementations. | |
virtual CP::CorrectionCode | getEfficiencyScaleFactor (const xAOD::IParticle &part, double &sf) const |
Retrieve the Scale factor. | |
virtual CP::CorrectionCode | applyEfficiencyScaleFactor (const xAOD::IParticle &part) const |
Decorate the electron. | |
virtual bool | isAffectedBySystematic (const SystematicVariation &systematic) const |
Systematics. | |
virtual SystematicSet | affectingSystematics () const |
Returns the list of all systematics this tool can be affected by. | |
virtual CP::SystematicSet | recommendedSystematics () const |
Returns the list of all systematics this tool recommends to use. | |
virtual CP::SystematicCode | applySystematicVariation (const SystematicSet &systConfig) |
CP::SystematicCode | registerSystematics () |
const CP::SystematicSet & | appliedSystematics () const |
returns: the currently applied systematics |
CP::SystematicCode ElectronChargeEfficiencyCorrectionTool::applySystematicVariation | ( | const SystematicSet & | systConfig | ) | [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.
CP::CorrectionCode ElectronChargeEfficiencyCorrectionTool::getEfficiencyScaleFactor | ( | const xAOD::IParticle & | part, | |
double & | sf | |||
) | const [virtual] |
StatusCode ElectronChargeEfficiencyCorrectionTool::initialize | ( | void | ) | [virtual] |
Gaudi Service Interface method implementations.
STAT ERROR
STAT ERROR
end // if ( name.find(Form("SYST") ) != std::string::npos)
here: need to use iterator over map!!!
Reimplemented from asg::AsgTool.
bool ElectronChargeEfficiencyCorrectionTool::isAffectedBySystematic | ( | const SystematicVariation & | systematic | ) | const [virtual] |
Systematics.
Returns whether this tool is affected by the given systematics
Implements CP::ISystematicsTool.