ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecoTools
ParticlesInConeTools
src
PFlowObjectsInConeTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PARTICLESINCONETOOLS_PFLOWOBJECTSINCONETOOL_H
6
#define PARTICLESINCONETOOLS_PFLOWOBJECTSINCONETOOL_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/IPFlowObjectsInConeTool.h
"
14
#include "
IParticlesLookUpTable.h
"
15
#include "
xAODPFlow/PFO.h
"
16
#include "
xAODPFlow/PFOContainer.h
"
17
18
namespace
xAOD
{
19
20
class
PFlowObjectsInConeTool
:
public
AthAlgTool
,
virtual
public
IPFlowObjectsInConeTool
{
21
public
:
23
PFlowObjectsInConeTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface* parent);
24
26
~PFlowObjectsInConeTool
(
void
);
27
29
StatusCode
initialize
()
override
;
30
32
StatusCode
finalize
()
override
;
33
35
bool
particlesInCone
(
float
eta
,
float
phi
,
float
dr, std::vector<const PFO*>& output )
const override
;
36
37
typedef
IParticlesLookUpTable<PFO>
LookUpTable
;
38
39
private
:
40
42
43
SG::ReadHandleKey<PFOContainer>
m_pfokey
{
this
,
44
"PFlowKey"
,
"CHSNeutralParticleFlowObjects"
,
45
"StoreGate key for PFOs"
};
46
47
// init look-up table
48
const
LookUpTable
*
getTable
()
const
;
49
};
50
51
}
// end of namespace
52
53
CLASS_DEF
(
xAOD::PFlowObjectsInConeTool::LookUpTable
, 209511245, 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
IPFlowObjectsInConeTool.h
IParticlesLookUpTable.h
PFOContainer.h
PFO.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::IPFlowObjectsInConeTool
interface for collecting pflow objects inside a cone
Definition
IPFlowObjectsInConeTool.h:24
xAOD::IParticlesLookUpTable
2D look up table for iParticles
Definition
IParticlesLookUpTable.h:17
xAOD::PFlowObjectsInConeTool::getTable
const LookUpTable * getTable() const
Definition
PFlowObjectsInConeTool.cxx:39
xAOD::PFlowObjectsInConeTool::PFlowObjectsInConeTool
PFlowObjectsInConeTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition
PFlowObjectsInConeTool.cxx:19
xAOD::PFlowObjectsInConeTool::particlesInCone
bool particlesInCone(float eta, float phi, float dr, std::vector< const PFO * > &output) const override
IPFlowObjectsInConeTool interface.
Definition
PFlowObjectsInConeTool.cxx:58
xAOD::PFlowObjectsInConeTool::initialize
StatusCode initialize() override
initialize
Definition
PFlowObjectsInConeTool.cxx:29
xAOD::PFlowObjectsInConeTool::LookUpTable
IParticlesLookUpTable< PFO > LookUpTable
Definition
PFlowObjectsInConeTool.h:37
xAOD::PFlowObjectsInConeTool::~PFlowObjectsInConeTool
~PFlowObjectsInConeTool(void)
destructor
xAOD::PFlowObjectsInConeTool::finalize
StatusCode finalize() override
finalize
Definition
PFlowObjectsInConeTool.cxx:34
xAOD::PFlowObjectsInConeTool::m_pfokey
SG::ReadHandleKey< PFOContainer > m_pfokey
to retrieve pflow objects
Definition
PFlowObjectsInConeTool.h:43
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