JERTool Class Reference

#include <JERTool.h>

Inheritance diagram for JERTool:
IJERTool asg::AsgMetadataTool asg::IAsgTool asg::AsgTool asg::IAsgTool

List of all members.

Public Member Functions

 JERTool (const std::string &name)
 Create a proper constructor for Athena.
 JERTool (const JERTool &)
 Copy constructor needed for reflex dictionary generation in Athena.
JERTooloperator= (const JERTool &)
 We shouldn't need assignment, but regardless it isn't implemented.
 ~JERTool ()
 Destructor.
Methods implementing the asg::IAsgTool interface

-----------------------------------------------------------------------



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

-----------------------------------------------------------------------



double getRelResolutionMC (const xAOD::Jet *jet)
 Read the resolution from the MC parameterization.
double getRelResolutionData (const xAOD::Jet *jet)
 Obtain the resolution for data (sigma_MC + offset).
double getUncertainty (const xAOD::Jet *jet, JER::Uncert errType=JER::JER_NP_ALL)
 Calculate resolution uncertainty.

Protected Member Functions

StatusCode autoConfigure ()
StatusCode parseConfiguration ()
 Helper method for parsing the configuration.
StatusCode loadJERInputs ()
 Helper method for loading the JER inputs.
int getEtaBin (const xAOD::Jet *jet)

Detailed Description

A dual-use tool which provides the jet energy resolution and associated uncertainties. For more information, see: https://twiki.cern.ch/twiki/bin/view/AtlasProtected/JetEnergyResolutionXAODTools

Resolution and uncertainty are retrieved using the getRelResolutionMC, getRelResolutionData, and getUncertainty methods.

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

Constructor & Destructor Documentation

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

Create a proper constructor for Athena.

Create a constructor for standalone usage


Member Function Documentation

StatusCode JERTool::autoConfigure (  )  [protected]

Attempt auto-configuration of tool using Metadata. This currently only works in Athena.

int JERTool::getEtaBin ( const xAOD::Jet jet  )  [protected]

Get eta bin corresponding for this jet. Indexing convention of eta regions is off-by-one with respect to the TAxis (etaBin = TAxisBin - 1)


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