ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRec
JetRec
JetPseudojetCopier.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// JetPseudojetCopier.h
6
7
#ifndef JETREC_JetPseudojetCopier_H
8
#define JETREC_JetPseudojetCopier_H
9
25
26
#include <string>
27
#include "
AsgTools/AsgTool.h
"
28
#include "
AsgTools/ToolHandle.h
"
29
#include "
JetInterface/IJetConsumer.h
"
30
#include "
JetInterface/IJetPseudojetRetriever.h
"
31
32
class
JetPseudojetCopier
33
:
public
asg::AsgTool
,
34
virtual
public
IJetConsumer
{
35
36
ASG_TOOL_CLASS
(
JetPseudojetCopier
,
IJetConsumer
)
37
38
public
:
39
41
JetPseudojetCopier
(
const
std::string& myname);
42
44
StatusCode
initialize
();
45
47
int
copy
(
const
xAOD::JetContainer
& srcjets,
48
const
xAOD::JetContainer
& dstjets,
49
const
std::string&
label
=
"PseudojetMap"
)
const
;
50
52
int
copy
(
const
xAOD::JetContainer
& srcjets,
53
const
std::string& dstname,
const
std::string&
label
=
"PseudojetMap"
)
const
;
54
55
// Process the input jets using the
56
int
process
(
const
xAOD::JetContainer
& srcjets)
const
;
57
58
private
:
59
61
std::string
m_dstname
;
62
std::string
m_label
;
63
ToolHandle<IJetPseudojetRetriever>
m_hpjr
;
64
65
};
66
67
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IJetConsumer.h
IJetPseudojetRetriever.h
ToolHandle.h
IJetConsumer
Definition
IJetConsumer.h:21
JetPseudojetCopier::copy
int copy(const xAOD::JetContainer &srcjets, const xAOD::JetContainer &dstjets, const std::string &label="PseudojetMap") const
Copy pseudojets from srcjets to dstjets.
Definition
JetPseudojetCopier.cxx:77
JetPseudojetCopier::JetPseudojetCopier
JetPseudojetCopier(const std::string &myname)
Ctor from tool name.
Definition
JetPseudojetCopier.cxx:57
JetPseudojetCopier::initialize
StatusCode initialize()
Intialization.
Definition
JetPseudojetCopier.cxx:66
JetPseudojetCopier::m_dstname
std::string m_dstname
Properties.
Definition
JetPseudojetCopier.h:61
JetPseudojetCopier::m_hpjr
ToolHandle< IJetPseudojetRetriever > m_hpjr
Definition
JetPseudojetCopier.h:63
JetPseudojetCopier::m_label
std::string m_label
Definition
JetPseudojetCopier.h:62
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
process
const std::string process
Definition
fbtTestBasics.cxx:76
label
std::string label(const std::string &format, int i)
Definition
label.h:19
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