ATLAS Offline Software
JESCalibStep.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // EtaMassJESCalibStep.h
8 // Header file for class EtaMassJESCalibStep
9 // Author: Max Swiatlowski <mswiatlo@cern.ch>
11 #ifndef JETCALIBTOOLS_JESCALIBSTEP_H
12 #define JETCALIBTOOLS_JESCALIBSTEP_H 1
13 
14 #include <string.h>
15 
16 #include <TString.h>
17 #include <TEnv.h>
18 
19 #include "AsgTools/AsgTool.h"
20 #include "AsgTools/AsgToolMacros.h"
21 #include "AsgTools/ToolHandle.h"
22 
24 
27 
29 
31  : public asg::AsgTool,
32  virtual public IJetCalibStep {
33 
35 
36  public:
37  EtaMassJESCalibStep(const std::string& name = "EtaMassJESCalibStep");
38 
39  virtual StatusCode initialize() override;
40  virtual StatusCode calibrate(xAOD::JetContainer&) const override;
41 
42  private:
43  ToolHandle<JetHelper::IVarTool> m_textTool_JES {this, "JESReader", "TextInputMCJES", "TextInput for JES" };
44  ToolHandle<JetHelper::IVarTool> m_textTool_Eta {this, "EtaReader", "TextInputMCJES", "TextInput for JES" };
45  ToolHandle<JetHelper::IVarTool> m_textTool_EmaxJES {this, "EmaxReader", "TextInputMCJES", "TextInput for JES" };
46 
47 };
48 
49 #endif
EtaMassJESCalibStep::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: JESCalibStep.cxx:18
EtaMassJESCalibStep::m_textTool_EmaxJES
ToolHandle< JetHelper::IVarTool > m_textTool_EmaxJES
Definition: JESCalibStep.h:45
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
EtaMassJESCalibStep::EtaMassJESCalibStep
EtaMassJESCalibStep(const std::string &name="EtaMassJESCalibStep")
Definition: JESCalibStep.cxx:14
IVarTool.h
IJetCalibStep.h
EtaMassJESCalibStep::calibrate
virtual StatusCode calibrate(xAOD::JetContainer &) const override
Apply calibration to a jet container.
Definition: JESCalibStep.cxx:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
EtaMassJESCalibStep
Definition: JESCalibStep.h:32
EtaMassJESCalibStep::m_textTool_Eta
ToolHandle< JetHelper::IVarTool > m_textTool_Eta
Definition: JESCalibStep.h:44
IJetCalibTool.h
EtaMassJESCalibStep::m_textTool_JES
ToolHandle< JetHelper::IVarTool > m_textTool_JES
Definition: JESCalibStep.h:43
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
EventInfo.h
IJetCalibStep
Definition: IJetCalibStep.h:27
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
AsgToolMacros.h
ToolHandle.h
AsgTool.h