ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
ASG_TOOL_CLASS(HIJetConstituentModifierTool, IJetModifier)
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
Name of input cluster container.
HIJetConstituentModifierTool(const std::string &myname)
Gaudi::Property< bool > m_originCorrection
|brief boolean switch to drive the JetScale settings after constituents are added
virtual int modifyJet(xAOD::Jet &jet) const override
Modify a single jet. This is obsolete and set to be removed.
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
ToolHandle< IHISubtractorTool > m_subtractorTool
handle to IHISubtractorTool that determines the subtracted kinematics for each constituent
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
JetModifierBase(const std::string &myname)
Ctor.
Jet_v1 Jet
Definition of the current "jet version".