ATLAS Offline Software
Loading...
Searching...
No Matches
JMSCalibStep.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JETCALIBTOOLS_JMSCALIBSTEP_H
6#define JETCALIBTOOLS_JMSCALIBSTEP_H 1
7
9// Header file for class JMSCalibStep
10// Implementation of the MC-based jet mass scale calibration
11// Primarily used for large-R jets
13
14#include <string>
15
16#include "AsgTools/AsgTool.h"
18#include "AsgTools/ToolHandle.h"
20
23
25 : public asg::AsgTool,
26 virtual public IJetCalibStep {
27
29
30 public:
31 JMSCalibStep(const std::string& name = "JMSCalibStep");
32
33 virtual StatusCode initialize() override;
34 virtual StatusCode calibrate(xAOD::JetContainer&) const override;
35
36private:
37
38 Gaudi::Property<std::string> m_jetInScale {this, "InScale", "JetEtaJESScaleMomentum", "Starting jet scale"};
39 Gaudi::Property<std::string> m_jetOutScale {this, "OutScale", "JetJMSScaleMomentum", "Ending jet scale"};
40
42 Gaudi::Property< float > m_minValue_JMS = {this, "MinValueForJMS", 180., "min pT or energy value for calibration [GeV]"};
43 Gaudi::Property< bool > m_pTfixed = {this, "pTfixed", false, ""};
44
46 ToolHandle<JetHelper::IVarTool> m_histTool {this, "histoReaderJMS", "HistoInput3D", "3D mass calibration histograms"};
48 ToolHandle<JetHelper::IVarTool> m_varToolX {this, "varToolX", "VarTool", "input variable for E or pT threshold cut"};
50 ToolHandle<JetHelper::IVarTool> m_varToolZ {this, "varToolZ", "VarTool", "input variable for eta cut"};
51
52 float m_maxEta = 0.0;
53
54};
55
56#endif
57
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
ToolHandle< JetHelper::IVarTool > m_varToolZ
Variable used to enforce eta threshold.
ToolHandle< JetHelper::IVarTool > m_histTool
3D histogram containing mass calibration values
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Gaudi::Property< std::string > m_jetInScale
Gaudi::Property< bool > m_pTfixed
Gaudi::Property< std::string > m_jetOutScale
JMSCalibStep(const std::string &name="JMSCalibStep")
ToolHandle< JetHelper::IVarTool > m_varToolX
Variable used to enforce minimum pT or energy for calibration.
virtual StatusCode calibrate(xAOD::JetContainer &) const override
Apply calibration to a jet container.
Gaudi::Property< float > m_minValue_JMS
Properties.
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
JetContainer_v1 JetContainer
Definition of the current "jet container version".