ATLAS Offline Software
Loading...
Searching...
No Matches
ITrackSelectorTool.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 TrkToolInterfaces_ITrackSelectorTool_H
6#define TrkToolInterfaces_ITrackSelectorTool_H
7
8#include "GaudiKernel/IAlgTool.h"
11
12namespace Trk
13{
14
15 static const InterfaceID IID_ITrackSelectorTool("Trk::ITrackSelectorTool", 1, 0);
16
17 class Track;
19 class Vertex;
20
21
22
32
33
34 class ITrackSelectorTool : virtual public IAlgTool
35 {
36 public:
37
38 static const InterfaceID& interfaceID()
39 {
41 }
42
43 virtual bool decision(const Trk::Track& track,const Vertex* vertex=0) const =0;
44
45 virtual bool decision(const Trk::TrackParticleBase& track,const Vertex* vertex=0) const =0;
46
47 virtual bool decision(const xAOD::TrackParticle& track,const xAOD::Vertex* vertex=0) const =0;
48
49 };//end of class definitions
50}//end of namespace definitions
51
52
53#endif
The abstract interface base class for track selector tools.
virtual bool decision(const Trk::TrackParticleBase &track, const Vertex *vertex=0) const =0
virtual bool decision(const Trk::Track &track, const Vertex *vertex=0) const =0
virtual bool decision(const xAOD::TrackParticle &track, const xAOD::Vertex *vertex=0) const =0
static const InterfaceID & interfaceID()
This class is a simplest representation of a vertex candidate.
Ensure that the ATLAS eigen extensions are properly loaded.
static const InterfaceID IID_ITrackSelectorTool("Trk::ITrackSelectorTool", 1, 0)
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Vertex_v1 Vertex
Define the latest version of the vertex class.