ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetMomentTools
JetMomentTools
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
"
22
#include "
AsgTools/PropertyWrapper.h
"
23
#include "
AsgDataHandles/WriteDecorHandleKey.h
"
24
#include "
JetInterface/IJetDecorator.h
"
25
26
27
class
JetLArHVTool
:
public
asg::AsgTool
,
28
virtual
public
IJetDecorator
{
29
ASG_TOOL_CLASS1
(
JetLArHVTool
,
IJetDecorator
)
30
31
public
:
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
ASG_TOOL_CLASS1
#define ASG_TOOL_CLASS1
Definition
AsgToolMacros.h:75
AsgTool.h
WriteDecorHandleKey.h
IJetDecorator.h
PropertyWrapper.h
ToolHandle.h
IJetDecorator
Interface for adding a decoration to a jet container.
Definition
IJetDecorator.h:21
JetLArHVTool::m_fracKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_fracKey
Definition
JetLArHVTool.h:43
JetLArHVTool::m_jetContainerName
Gaudi::Property< std::string > m_jetContainerName
Definition
JetLArHVTool.h:40
JetLArHVTool::decorate
virtual StatusCode decorate(const xAOD::JetContainer &jets) const override
Decorate a jet collection without otherwise modifying it.
Definition
JetLArHVTool.cxx:33
JetLArHVTool::JetLArHVTool
JetLArHVTool(const std::string &name)
Definition
JetLArHVTool.cxx:10
JetLArHVTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
JetLArHVTool.cxx:16
JetLArHVTool::m_nCellKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_nCellKey
Definition
JetLArHVTool.h:45
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0