JERSmearingTool Class Reference

#include <JERSmearingTool.h>

Inheritance diagram for JERSmearingTool:
asg::AsgTool IJERSmearingTool CP::CorrectionTool< xAOD::JetContainer > asg::IAsgTool CP::ISystematicsTool asg::IAsgTool

List of all members.

Public Member Functions

 JERSmearingTool (const std::string &name)
 Proper constructor for Athena.
 JERSmearingTool (const JERSmearingTool &other)
 Copy constructor for reflex in Athena.
JERSmearingTooloperator= (const JERSmearingTool &)
 We shouldn't need assignment; regardless, it's not implemented.
Methods implementing the asg::IAsgTool interface



virtual StatusCode initialize ()
 Initialize the tool.
Methods implementing the IJERSmearingTool interface



virtual CP::CorrectionCode applyCorrection (xAOD::Jet &jet)
 Apply the JER correction on a modifiable jet.
virtual CP::CorrectionCode correctedCopy (const xAOD::Jet &input, xAOD::Jet *&output)
 Create a JER-corrected copy from a const jet.
virtual void setRandomSeed (long int seed)
Methods implementing the ISystematicsTool interface



virtual bool isAffectedBySystematic (const CP::SystematicVariation &systematic) const
 Specify whether tool is affected by provided systematic.
virtual CP::SystematicSet affectingSystematics () const
 List of all systematics affecting this tool.
virtual CP::SystematicSet recommendedSystematics () const
 List of all systematics recommended for this tool.
virtual CP::SystematicCode applySystematicVariation (const CP::SystematicSet &systematics)
 Configure tool to apply systematic variation.

Protected Member Functions

double getSmearingFactorNom (const xAOD::Jet *jet)
 Get nominal smearing factor.
double getSmearingFactorSys (const xAOD::Jet *jet)
 Get the systematic uncert smearing factor.
double getSmearingFactor (const xAOD::Jet *jet, double sigma)
 Calculate the random gaussian smear factor for a requested sigma.

Detailed Description

Implementation of the dual-use JER smearing tool interface

This tool allows to smear the energy of jets either to correct the jet energy resolution or to evaluate systematic uncertainties. For information, see the Twiki: https://twiki.cern.ch/twiki/bin/view/AtlasProtected/JetEnergyResolutionXAODTools

Author:
Steve Farrell <steven.farrell@cern.ch>

Constructor & Destructor Documentation

JERSmearingTool::JERSmearingTool ( const std::string &  name  ) 

Proper constructor for Athena.

Standard constructor for standalone usage


Member Function Documentation

virtual void JERSmearingTool::setRandomSeed ( long int  seed  )  [inline, virtual]

Optional method to set random seed. Note that the tool already has a deterministic way to do this using the jet phi.

Implements IJERSmearingTool.


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