CP::JetCalibrationToolExample Class Reference

#include <JetCalibrationToolExample.h>

Inheritance diagram for CP::JetCalibrationToolExample:
CP::IJetCalibrationTool CP::ISystematicsTool CP::CorrectionTool< xAOD::JetContainer > asg::AsgTool asg::IAsgTool asg::IAsgTool asg::IAsgTool

List of all members.

Classes

struct  Calib

Public Member Functions

 JetCalibrationToolExample (const std::string &name)
 Create a proper constructor for Athena.
virtual bool isAffectedBySystematic (const SystematicVariation &systematic) const
 returns: whether this tool is affected by the given systematis
virtual SystematicSet affectingSystematics () const
 returns: the list of all systematics this tool can be affected by
virtual SystematicSet recommendedSystematics () const
 returns: the list of all systematics this tool recommends to use
virtual SystematicCode applySystematicVariation (const SystematicSet &systConfig)
Function(s) implementing the asg::IAsgTool interface



virtual StatusCode initialize ()
 Function initialising the tool.
Function(s) implementing the IJetCalibrationTool interface



virtual CorrectionCode applyCorrection (xAOD::Jet &object)
 Apply the correction on a modifyable object.
virtual CorrectionCode correctedCopy (const xAOD::Jet &input, xAOD::Jet *&output)
 Create a corrected copy from a constant jet.

Detailed Description

A simple implementation of the jet calibration tool interface

This tries to be a simple, but meaningful example of how correction tools should be implemented for Run 2.

Author:
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Iacopo Vivarelli <iacopo.vivarelli@cern.ch>
Revision
299883
Date
2014-03-28 18:34:16 +0100 (Fri, 28 Mar 2014)

Constructor & Destructor Documentation

CP::JetCalibrationToolExample::JetCalibrationToolExample ( const std::string &  name  ) 

Create a proper constructor for Athena.

Create a constructor for standalone usage


Member Function Documentation

SystematicCode CP::JetCalibrationToolExample::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.

SystematicSet CP::JetCalibrationToolExample::recommendedSystematics (  )  const [virtual]

returns: the list of all systematics this tool recommends to use

rationale: In the simple case that we recommend that all our affecting systematics be used we can do this. if we recommend to use only a subset, we have to create that separately.

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 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1