ATLAS Offline Software
IJetCalibrationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // IJetCalibrationTool.h
6 
13 
14 #ifndef JETCALIBTOOL_IJETCALIBRATIONTOOL_H
15 #define JETCALIBTOOL_IJETCALIBRATIONTOOL_H
16 
17 #include "AsgTools/IAsgTool.h"
19 
20 //EDM includes
21 #include "xAODJet/Jet.h"
22 
23 //Package includes
25 
26 class IJetCalibrationTool : virtual public IJetModifier {
27 
29 
30 public:
31 
33  virtual StatusCode modify(xAOD::JetContainer& jets) const override final {return applyCalibration(jets);}
34 
37 
38  // Get the nominal resolution
39  virtual StatusCode getNominalResolutionData(const xAOD::Jet&, double&) const { return StatusCode::FAILURE; }
40  virtual StatusCode getNominalResolutionMC( const xAOD::Jet&, double&) const { return StatusCode::FAILURE; }
41 
42 };
43 
44 #endif
Jet.h
IJetModifier.h
IJetCalibrationTool::getNominalResolutionMC
virtual StatusCode getNominalResolutionMC(const xAOD::Jet &, double &) const
Definition: IJetCalibrationTool.h:40
IJetCalibrationTool
class IJetCalibrationTool
Definition: IJetCalibrationTool.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
IJetCalibrationTool::modify
virtual StatusCode modify(xAOD::JetContainer &jets) const override final
Apply calibration to a jet container (for IJetModifier interface).
Definition: IJetCalibrationTool.h:33
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
JetCalibUtils.h
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
IJetCalibrationTool::applyCalibration
virtual StatusCode applyCalibration(xAOD::JetContainer &jets) const =0
Apply calibration to a jet container.
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
IJetCalibrationTool::getNominalResolutionData
virtual StatusCode getNominalResolutionData(const xAOD::Jet &, double &) const
Definition: IJetCalibrationTool.h:39
IJetModifier
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
Definition: IJetModifier.h:20