ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticlesInConeTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PARTICLESINCONETOOLS_TRACKSINCONETOOL_H
6#define PARTICLESINCONETOOLS_TRACKSINCONETOOL_H
7
9#include "GaudiKernel/ServiceHandle.h"
11
17
18namespace xAOD {
19
21 public:
23 TrackParticlesInConeTool(const std::string& type, const std::string& name, const IInterface* parent);
24
27
29 virtual StatusCode initialize() override;
30
32 virtual StatusCode finalize() override;
33
35 virtual
36 bool particlesInCone( float eta, float phi, float dr, std::vector< const TrackParticle*>& output ) const override;
37
39
40 private:
41 // init look-up table
42 const LookUpTable* getTable() const;
43
46 "TrackParticleLocation", "InDetTrackParticles"};
47 };
48
49} // end of namespace
50
52
53#endif
54
55
Scalar eta() const
pseudorapidity method
macros to associate a CLID to a type
#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:
Property holding a SG store/key/clid from which a ReadHandle is made.
2D look up table for iParticles
interface for collecting tracks inside a code
TrackParticlesInConeTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
virtual bool particlesInCone(float eta, float phi, float dr, std::vector< const TrackParticle * > &output) const override
ITrackParticlesInConeTool interface.
virtual StatusCode finalize() override
finalize
SG::ReadHandleKey< TrackParticleContainer > m_indetTrackParticleLocation
ID track collection name.
IParticlesLookUpTable< TrackParticle > LookUpTable
virtual StatusCode initialize() override
initialize
virtual ~TrackParticlesInConeTool(void)
destructor
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.