ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRec
JetRec
JetConstituentsRetriever.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
// JetConstituentsRetriever.h
6
7
#ifndef JetConstituentsRetriever_H
8
#define JetConstituentsRetriever_H
9
22
23
#include "
AsgTools/AsgTool.h
"
24
#include "
JetInterface/IJetConstituentsRetriever.h
"
25
#include "
JetInterface/IJetPseudojetRetriever.h
"
26
#include "
AsgTools/ToolHandle.h
"
27
28
class
JetConstituentsRetriever
29
:
public
asg::AsgTool
,
30
virtual
public
IJetConstituentsRetriever
{
31
ASG_TOOL_CLASS
(
JetConstituentsRetriever
,
IJetConstituentsRetriever
)
32
33
public
:
34
35
// Ctor.
36
JetConstituentsRetriever
(
const
std::string& name);
37
38
// Initialization.
39
StatusCode
initialize
();
40
42
int
constituents
(
const
xAOD::Jet
&
jet
,
PseudoJetVector
& cons,
43
NameList
* pghostlabs =
nullptr
)
const
;
44
45
// Dump to log.
46
void
print
()
const
;
47
48
private
:
49
50
bool
m_usepj
;
51
bool
m_usejetcons
;
52
ToolHandle<IJetPseudojetRetriever>
m_hpjr
;
53
NameList
m_glabs
;
54
double
m_gscale
;
55
56
};
57
58
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IJetConstituentsRetriever.h
IJetPseudojetRetriever.h
ToolHandle.h
IJetConstituentsRetriever
Definition
IJetConstituentsRetriever.h:27
IJetConstituentsRetriever::NameList
std::vector< std::string > NameList
Definition
IJetConstituentsRetriever.h:33
IJetConstituentsRetriever::PseudoJetVector
std::vector< fastjet::PseudoJet > PseudoJetVector
Definition
IJetConstituentsRetriever.h:32
JetConstituentsRetriever::m_hpjr
ToolHandle< IJetPseudojetRetriever > m_hpjr
Definition
JetConstituentsRetriever.h:52
JetConstituentsRetriever::constituents
int constituents(const xAOD::Jet &jet, PseudoJetVector &cons, NameList *pghostlabs=nullptr) const
Append constituents to the supplied vector.
Definition
JetConstituentsRetriever.cxx:49
JetConstituentsRetriever::JetConstituentsRetriever
JetConstituentsRetriever(const std::string &name)
Definition
JetConstituentsRetriever.cxx:26
JetConstituentsRetriever::m_glabs
NameList m_glabs
Definition
JetConstituentsRetriever.h:53
JetConstituentsRetriever::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
JetConstituentsRetriever.cxx:37
JetConstituentsRetriever::m_gscale
double m_gscale
Definition
JetConstituentsRetriever.h:54
JetConstituentsRetriever::m_usejetcons
bool m_usejetcons
Definition
JetConstituentsRetriever.h:51
JetConstituentsRetriever::print
void print() const
Print the state of the tool.
Definition
JetConstituentsRetriever.cxx:201
JetConstituentsRetriever::m_usepj
bool m_usepj
Definition
JetConstituentsRetriever.h:50
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
Generated on
for ATLAS Offline Software by
1.17.0