ATLAS Offline Software
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 
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "AsgTools/ToolHandle.h"
12 
14 #include "IParticlesLookUpTable.h"
15 #include "xAODPFlow/PFO.h"
16 #include "xAODPFlow/PFOContainer.h"
17 
18 namespace xAOD {
19 
21  public:
23  PFlowObjectsInConeTool(const std::string& type, const std::string& name, const IInterface* parent);
24 
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 
38 
39  private:
40 
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 
54 
55 #endif
56 
57 
xAOD::PFlowObjectsInConeTool::m_pfokey
SG::ReadHandleKey< PFOContainer > m_pfokey
to retrieve pflow objects
Definition: PFlowObjectsInConeTool.h:43
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
xAOD::name
name
Definition: TriggerMenuJson_v1.cxx:29
xAOD::IPFlowObjectsInConeTool
interface for collecting pflow objects inside a cone
Definition: IPFlowObjectsInConeTool.h:24
xAOD::PFlowObjectsInConeTool::~PFlowObjectsInConeTool
~PFlowObjectsInConeTool(void)
destructor
PFOContainer.h
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::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
PFO.h
xAOD::PFlowObjectsInConeTool
Definition: PFlowObjectsInConeTool.h:20
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::PFlowObjectsInConeTool::initialize
StatusCode initialize() override
initialize
Definition: PFlowObjectsInConeTool.cxx:29
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::PFlowObjectsInConeTool::getTable
const LookUpTable * getTable() const
Definition: PFlowObjectsInConeTool.cxx:39
IPFlowObjectsInConeTool.h
ToolHandle.h
AthAlgTool
Definition: AthAlgTool.h:26
xAOD::PFlowObjectsInConeTool::finalize
StatusCode finalize() override
finalize
Definition: PFlowObjectsInConeTool.cxx:34
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
LookUpTable
Definition: LookUpTable.h:21
xAOD::PFlowObjectsInConeTool::LookUpTable
IParticlesLookUpTable< PFO > LookUpTable
Definition: PFlowObjectsInConeTool.h:37
IParticlesLookUpTable.h