ATLAS Offline Software
Loading...
Searching...
No Matches
JetLArHVTool.h
Go to the documentation of this file.
1// this file is -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5*/
6
7
16
17#ifndef JETMOMENTTOOLS_JETLARHVTOOL_H
18#define JETMOMENTTOOLS_JETLARHVTOOL_H
19
20#include "AsgTools/ToolHandle.h"
21#include "AsgTools/AsgTool.h"
25
26
28 virtual public IJetDecorator{
30
31public:
32 JetLArHVTool(const std::string & name);
33
34 virtual StatusCode decorate(const xAOD::JetContainer& jets) const override;
35
36 virtual StatusCode initialize() override;
37
38 private:
39
40 Gaudi::Property<std::string> m_jetContainerName{this, "JetContainer", "",
41 "SG key for the input jet container"};
42
43 SG::WriteDecorHandleKey<xAOD::JetContainer> m_fracKey{this, "EnergyFracDecorKey", "LArBadHVEnergyFrac",
44 "SG key for energy fraction decoration (not including jet container name)"};
45 SG::WriteDecorHandleKey<xAOD::JetContainer> m_nCellKey{this, "NCellDecorKey", "LArBadHVNCell",
46 "SG key for nCell decoration (not including jet container name)"};
47};
48
49#endif
50// DoxygenDocumentation
#define ASG_TOOL_CLASS1
Interface for adding a decoration to a jet container.
SG::WriteDecorHandleKey< xAOD::JetContainer > m_fracKey
Gaudi::Property< std::string > m_jetContainerName
virtual StatusCode decorate(const xAOD::JetContainer &jets) const override
Decorate a jet collection without otherwise modifying it.
JetLArHVTool(const std::string &name)
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
SG::WriteDecorHandleKey< xAOD::JetContainer > m_nCellKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
JetContainer_v1 JetContainer
Definition of the current "jet container version".