ATLAS Offline Software
IVertexSelectionTool.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 // IVertexSelectionTool.h, (c) ATLAS Detector software 2009
8 
9 #ifndef TRK_IVertexSelectionTool_H
10 #define TRK_IVertexSelectionTool_H
11 
12 #include "GaudiKernel/IAlgTool.h"
13 
14 // xAOD Includes
16 
17 namespace Trk
18 {
19 
20  static const InterfaceID IID_IVertexSelectionTool("IVertexSelectionTool", 1, 0);
21 
38  class IVertexSelectionTool : virtual public IAlgTool {
39 
40  public:
41 
43  virtual ~IVertexSelectionTool(){};
44 
46  static const InterfaceID& interfaceID() { return IID_IVertexSelectionTool; };
47 
48 
50  virtual unsigned int findVertexInContainer(const xAOD::VertexContainer * ) const = 0;
51 
52 
53  };//end of class definitions
54 }//end of namespace definitions
55 
56 #endif //TRK_IVertexSelectionTool_H
Trk::IVertexSelectionTool::findVertexInContainer
virtual unsigned int findVertexInContainer(const xAOD::VertexContainer *) const =0
Selection method returning the position of selected the PV in the container.
Trk::IVertexSelectionTool
Interface class for vertex Container Sorting.
Definition: IVertexSelectionTool.h:38
Trk::IVertexSelectionTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition: IVertexSelectionTool.h:46
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
VertexContainer.h
Trk::IVertexSelectionTool::~IVertexSelectionTool
virtual ~IVertexSelectionTool()
Virtual destructor.
Definition: IVertexSelectionTool.h:43