ATLAS Offline Software
Loading...
Searching...
No Matches
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
9#include "GaudiKernel/ServiceHandle.h"
10#include "AsgTools/ToolHandle.h"
12
17
18namespace xAOD {
19
21 public:
23 FlowElementsInConeTool(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 FlowElement*>& output ) const override;
36
38
39 private:
40
42
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
54
55#endif
56
57
Scalar eta() const
pseudorapidity method
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Generic lookup table.
Definition LookUpTable.h:21
Property holding a SG store/key/clid from which a ReadHandle is made.
FlowElementsInConeTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
StatusCode initialize() override
initialize
IParticlesLookUpTable< FlowElement > LookUpTable
SG::ReadHandleKey< FlowElementContainer > m_pfokey
to retrieve pflow objects
const LookUpTable * getTable() const
StatusCode finalize() override
finalize
bool particlesInCone(float eta, float phi, float dr, std::vector< const FlowElement * > &output) const override
IFlowElementsInConeTool interface.
~FlowElementsInConeTool(void)
destructor
interface for collecting pflow objects inside a cone
2D look up table for iParticles
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.