ATLAS Offline Software
Loading...
Searching...
No Matches
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
15#include "xAODPFlow/PFO.h"
17
18namespace 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
42
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
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.
interface for collecting pflow objects inside a cone
2D look up table for iParticles
const LookUpTable * getTable() const
PFlowObjectsInConeTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
bool particlesInCone(float eta, float phi, float dr, std::vector< const PFO * > &output) const override
IPFlowObjectsInConeTool interface.
StatusCode initialize() override
initialize
IParticlesLookUpTable< PFO > LookUpTable
~PFlowObjectsInConeTool(void)
destructor
StatusCode finalize() override
finalize
SG::ReadHandleKey< PFOContainer > m_pfokey
to retrieve pflow objects
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.