ATLAS Offline Software
ITrackParticlesInConeTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ITracksInConeTool.h, (c) ATLAS Detector software
8 #ifndef PARTICLESINCONETOOLS_ITRACKPARTICLESINCONETOOL_H
9 #define PARTICLESINCONETOOLS_ITRACKPARTICLESINCONETOOL_H
10 
11 #include "GaudiKernel/IAlgTool.h"
13 #include <vector>
14 
15 namespace xAOD {
16 
17  static const InterfaceID IID_ITrackParticlesInConeTool("xAOD::ITrackParticlesInConeTool", 1, 0);
18 
24  class ITrackParticlesInConeTool : virtual public IAlgTool {
25  public:
26 
27  static const InterfaceID& interfaceID( ) ;
28 
36  virtual bool particlesInCone( float eta, float phi, float dr, std::vector< const TrackParticle*>& output ) const = 0;
37  };
38 
39  inline const InterfaceID& ITrackParticlesInConeTool::interfaceID() {
40  return IID_ITrackParticlesInConeTool;
41  }
42 
43 } // end of namespace
44 
45 #endif
xAOD::ITrackParticlesInConeTool::particlesInCone
virtual bool particlesInCone(float eta, float phi, float dr, std::vector< const TrackParticle * > &output) const =0
ITrackParticlesInConeTool interface:
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
xAOD::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
merge.output
output
Definition: merge.py:17
xAOD::ITrackParticlesInConeTool
interface for collecting tracks inside a code
Definition: ITrackParticlesInConeTool.h:24
TrackParticle.h
xAOD::ITrackParticlesInConeTool::interfaceID
static const InterfaceID & interfaceID()
Definition: ITrackParticlesInConeTool.h:39