ATLAS Offline Software
HIJetConstituentModifierTool.h
Go to the documentation of this file.
1 // This file is -*- C++ -*-
2 /*
3  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4  */
5 
6 #ifndef HIJETREC_HIJETCONSTITUENTMODIFIERTOOL_H
7 #define HIJETREC_HIJETCONSTITUENTMODIFIERTOOL_H
8 
17 #include "JetRec/JetModifierBase.h"
20 
23 
25 
27 
28  public:
29 
30  // Constructor from tool name.
31  HIJetConstituentModifierTool(const std::string& myname);
32 
33  virtual StatusCode initialize() override;
34  // Inherited method to modify a jet.
35  virtual int modifyJet(xAOD::Jet& jet) const override;
36 
37  private:
39  SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey { this, "ClusterKey", "ClusterKey", "Name of the input Cluster Container"};
41  ToolHandle<IHISubtractorTool> m_subtractorTool { this, "Subtractor", "HIJetSubtractorToolBase", "" };
43  Gaudi::Property< bool > m_originCorrection { this, "ApplyOriginCorrection", false, "Apply Origin Correction boolean switch"};
44 
45 };
46 
47 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HIJetConstituentModifierTool::m_clusterKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
Name of input cluster container.
Definition: HIJetConstituentModifierTool.h:39
SG::ReadHandleKey< xAOD::CaloClusterContainer >
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HIJetConstituentModifierTool::ASG_TOOL_CLASS
ASG_TOOL_CLASS(HIJetConstituentModifierTool, IJetModifier)
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
JetModifierBase.h
IHISubtractorTool.h
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
HIJetConstituentModifierTool::m_originCorrection
Gaudi::Property< bool > m_originCorrection
|brief boolean switch to drive the JetScale settings after constituents are added
Definition: HIJetConstituentModifierTool.h:43
HIJetConstituentModifierTool::modifyJet
virtual int modifyJet(xAOD::Jet &jet) const override
Modify a single jet. This is obsolete and set to be removed.
Definition: HIJetConstituentModifierTool.cxx:27
CaloClusterContainer.h
HIJetConstituentModifierTool
Definition: HIJetConstituentModifierTool.h:24
HIJetConstituentModifierTool::HIJetConstituentModifierTool
HIJetConstituentModifierTool(const std::string &myname)
Definition: HIJetConstituentModifierTool.cxx:15
JetModifierBase
Definition: JetModifierBase.h:22
IJetModifier
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
Definition: IJetModifier.h:20
HIJetConstituentModifierTool::m_subtractorTool
ToolHandle< IHISubtractorTool > m_subtractorTool
handle to IHISubtractorTool that determines the subtracted kinematics for each constituent
Definition: HIJetConstituentModifierTool.h:41
HIJetConstituentModifierTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: HIJetConstituentModifierTool.cxx:19