ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecoTools
ParticlesInConeTools
src
FlowElementsInConeTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PARTICLESINCONETOOLS_FLOWELEMENTSINCONETOOL_H
6
#define PARTICLESINCONETOOLS_FLOWELEMENTSINCONETOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "
AsgTools/ToolHandle.h
"
11
#include "
StoreGate/ReadHandleKey.h
"
12
13
#include "
ParticlesInConeTools/IFlowElementsInConeTool.h
"
14
#include "
IParticlesLookUpTable.h
"
15
#include "
xAODPFlow/FlowElement.h
"
16
#include "
xAODPFlow/FlowElementContainer.h
"
17
18
namespace
xAOD
{
19
20
class
FlowElementsInConeTool
:
public
AthAlgTool
,
virtual
public
IFlowElementsInConeTool
{
21
public
:
23
FlowElementsInConeTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface* parent);
24
26
~FlowElementsInConeTool
(
void
);
27
29
StatusCode
initialize
()
override
;
30
32
StatusCode
finalize
()
override
;
33
35
bool
particlesInCone
(
float
eta
,
float
phi
,
float
dr, std::vector<const FlowElement*>& output )
const override
;
36
37
typedef
IParticlesLookUpTable<FlowElement>
LookUpTable
;
38
39
private
:
40
42
43
SG::ReadHandleKey<FlowElementContainer>
m_pfokey
{
this
,
44
"PFlowKey"
,
"CHSNeutralParticleFlowObjects"
,
45
"StoreGate key for FlowElements"
};
46
47
// init look-up table
48
const
LookUpTable
*
getTable
()
const
;
49
};
50
51
}
// end of namespace
52
53
CLASS_DEF
(
xAOD::FlowElementsInConeTool::LookUpTable
, 251336768, 1 )
54
55
#endif
56
57
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
AthAlgTool.h
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
FlowElementContainer.h
FlowElement.h
IFlowElementsInConeTool.h
IParticlesLookUpTable.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ToolHandle.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
LookUpTable
Generic lookup table.
Definition
LookUpTable.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
xAOD::FlowElementsInConeTool::FlowElementsInConeTool
FlowElementsInConeTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition
FlowElementsInConeTool.cxx:18
xAOD::FlowElementsInConeTool::initialize
StatusCode initialize() override
initialize
Definition
FlowElementsInConeTool.cxx:28
xAOD::FlowElementsInConeTool::LookUpTable
IParticlesLookUpTable< FlowElement > LookUpTable
Definition
FlowElementsInConeTool.h:37
xAOD::FlowElementsInConeTool::m_pfokey
SG::ReadHandleKey< FlowElementContainer > m_pfokey
to retrieve pflow objects
Definition
FlowElementsInConeTool.h:43
xAOD::FlowElementsInConeTool::getTable
const LookUpTable * getTable() const
Definition
FlowElementsInConeTool.cxx:38
xAOD::FlowElementsInConeTool::finalize
StatusCode finalize() override
finalize
Definition
FlowElementsInConeTool.cxx:33
xAOD::FlowElementsInConeTool::particlesInCone
bool particlesInCone(float eta, float phi, float dr, std::vector< const FlowElement * > &output) const override
IFlowElementsInConeTool interface.
Definition
FlowElementsInConeTool.cxx:57
xAOD::FlowElementsInConeTool::~FlowElementsInConeTool
~FlowElementsInConeTool(void)
destructor
xAOD::IFlowElementsInConeTool
interface for collecting pflow objects inside a cone
Definition
IFlowElementsInConeTool.h:24
xAOD::IParticlesLookUpTable
2D look up table for iParticles
Definition
IParticlesLookUpTable.h:17
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
xAOD::phi
setEt phi
Definition
TrigEMCluster_v1.cxx:29
type
Generated on
for ATLAS Offline Software by
1.17.0