CP::ElectronChargeEfficiencyCorrectionTool Class Reference

Inheritance diagram for CP::ElectronChargeEfficiencyCorrectionTool:
CP::IEfficiencyScaleFactorTool asg::AsgTool CP::ISystematicsTool asg::IAsgTool asg::IAsgTool

List of all members.

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::SystematicSetappliedSystematics () const
 returns: the currently applied systematics

Member Function Documentation

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]

Retrieve the Scale factor.

STAT

STAT

Implements CP::IEfficiencyScaleFactorTool.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1