ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
InDetRecToolInterfaces
InDetRecToolInterfaces
IVertexFinder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
IVertexFinder.h - Description
7
-------------------
8
begin : 14-02-2006
9
authors : Andreas Wildauer (CERN PH-ATC)
10
: Giacinto Piacquadio (Freiburg University), Kirill Prokofiev
11
(Sheffield University) email : andreas.wildauer@cern.ch
12
giacinto.piacquadio@physik.uni-freiburg.de
13
changes : David Shope <david.richard.shope@cern.ch> (2016-04-26)
14
15
EDM Migration to xAOD - from Trk::VxCandidate to xAOD::Vertex
16
17
findVertex will now always return an xAOD::VertexContainer,
18
even when using a TrackCollection or a
19
TrackParticleBaseCollection as input.
20
21
: Christos Anastopoulos Athena MT
22
***************************************************************************/
23
33
34
#ifndef InDetRecToolInterfaces_IVertexFinder_H
35
#define InDetRecToolInterfaces_IVertexFinder_H
36
#include "GaudiKernel/AlgTool.h"
37
#include "GaudiKernel/EventContext.h"
38
#include "
TrkParticleBase/TrackParticleBaseCollection.h
"
39
#include "
TrkTrack/TrackCollection.h
"
40
41
// xAOD includes
42
#include "
xAODTracking/TrackParticleAuxContainer.h
"
43
#include "
xAODTracking/TrackParticleContainerFwd.h
"
44
#include "
xAODTracking/TrackParticleFwd.h
"
45
#include "
xAODTracking/VertexAuxContainer.h
"
46
#include "
xAODTracking/VertexContainerFwd.h
"
47
#include "
xAODTracking/VertexFwd.h
"
48
49
namespace
InDet
{
50
static
const
InterfaceID
IID_IVertexFinder
(
"IVertexFinder"
, 1, 0);
51
class
IVertexFinder
:
virtual
public
IAlgTool
52
{
53
public
:
54
virtual
~IVertexFinder
(){};
55
static
const
InterfaceID&
interfaceID
() {
return
IID_IVertexFinder
; }
56
62
virtual
std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*>
63
findVertex
(
const
EventContext& ctx,
64
const
TrackCollection
* trackTES)
const
= 0;
65
71
virtual
std::pair<xAOD::VertexContainer*, xAOD::VertexAuxContainer*>
72
findVertex
(
const
EventContext& ctx,
73
const
xAOD::TrackParticleContainer
* trackParticles)
const
= 0;
74
};
75
}
76
#endif
TrackCollection.h
TrackCollection
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
Definition
TrackCollection.h:19
TrackParticleAuxContainer.h
TrackParticleBaseCollection.h
TrackParticleContainerFwd.h
TrackParticleFwd.h
VertexAuxContainer.h
VertexContainerFwd.h
VertexFwd.h
InDet::IVertexFinder
Definition
IVertexFinder.h:52
InDet::IVertexFinder::findVertex
virtual std::pair< xAOD::VertexContainer *, xAOD::VertexAuxContainer * > findVertex(const EventContext &ctx, const xAOD::TrackParticleContainer *trackParticles) const =0
Find vertex from xAOD::TrackParticleContainer.
InDet::IVertexFinder::findVertex
virtual std::pair< xAOD::VertexContainer *, xAOD::VertexAuxContainer * > findVertex(const EventContext &ctx, const TrackCollection *trackTES) const =0
Find vertex from Trk::TrackCollection.
InDet::IVertexFinder::interfaceID
static const InterfaceID & interfaceID()
Definition
IVertexFinder.h:55
InDet::IVertexFinder::~IVertexFinder
virtual ~IVertexFinder()
Definition
IVertexFinder.h:54
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
InDet::IID_IVertexFinder
static const InterfaceID IID_IVertexFinder("IVertexFinder", 1, 0)
xAOD::TrackParticleContainer
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticleContainer.h:14
Generated on
for ATLAS Offline Software by
1.17.0