ATLAS Offline Software
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
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
xAOD::FlowElementsInConeTool
Definition:
FlowElementsInConeTool.h:20
xAOD::name
name
Definition:
TriggerMenuJson_v1.cxx:29
xAOD::FlowElementsInConeTool::particlesInCone
bool particlesInCone(float eta, float phi, float dr, std::vector< const FlowElement * > &output) const override
IFlowElementsInConeTool interface.
Definition:
FlowElementsInConeTool.cxx:57
FlowElementContainer.h
xAOD::FlowElementsInConeTool::finalize
StatusCode finalize() override
finalize
Definition:
FlowElementsInConeTool.cxx:33
xAOD::IFlowElementsInConeTool
interface for collecting pflow objects inside a cone
Definition:
IFlowElementsInConeTool.h:24
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
python.TurnDataReader.dr
dr
Definition:
TurnDataReader.py:112
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition:
StoreGate/StoreGate/ReadHandleKey.h:39
xAOD::FlowElementsInConeTool::FlowElementsInConeTool
FlowElementsInConeTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition:
FlowElementsInConeTool.cxx:18
xAOD::phi
setEt phi
Definition:
TrigEMCluster_v1.cxx:29
FlowElement.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
merge.output
output
Definition:
merge.py:17
xAOD::FlowElementsInConeTool::LookUpTable
IParticlesLookUpTable< FlowElement > LookUpTable
Definition:
FlowElementsInConeTool.h:37
xAOD::FlowElementsInConeTool::initialize
StatusCode initialize() override
initialize
Definition:
FlowElementsInConeTool.cxx:28
xAOD::FlowElementsInConeTool::~FlowElementsInConeTool
~FlowElementsInConeTool(void)
destructor
xAOD::FlowElementsInConeTool::m_pfokey
SG::ReadHandleKey< FlowElementContainer > m_pfokey
to retrieve pflow objects
Definition:
FlowElementsInConeTool.h:43
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
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:64
xAOD::IParticlesLookUpTable
2D look up table for iParticles
Definition:
IParticlesLookUpTable.h:17
xAOD::FlowElementsInConeTool::getTable
const LookUpTable * getTable() const
Definition:
FlowElementsInConeTool.cxx:38
IFlowElementsInConeTool.h
ToolHandle.h
AthAlgTool
Definition:
AthAlgTool.h:26
LookUpTable
Definition:
LookUpTable.h:21
IParticlesLookUpTable.h
Generated on Thu Nov 7 2024 21:15:21 for ATLAS Offline Software by
1.8.18