ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
VKalVrt
TrkToLeptonPVTool
TrkToLeptonPVTool
ITrkToLeptonPV.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
//
5
// ITrkToLeptonPV.h - Description
6
//
7
#ifndef ITrkToLeptonPV_H
8
#define ITrkToLeptonPV_H
9
10
#include <vector>
11
#include <utility>
12
#include <memory>
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "
xAODTracking/TrackParticleContainer.h
"
15
#include "
xAODTracking/VertexContainer.h
"
16
#include "
xAODEventInfo/EventInfo.h
"
17
18
class
EventContext;
19
20
//------------------------------------------------------------------------
21
33
34
class
ITrkToLeptonPV
:
virtual
public
IAlgTool {
35
public
:
36
DeclareInterfaceID
(
ITrkToLeptonPV
, 1, 0);
37
41
virtual
std::unique_ptr<xAOD::Vertex>
matchTrkToPV
(
const
EventContext& ctx,
const
xAOD::TrackParticle
*,
const
xAOD::Vertex
*,
const
xAOD::EventInfo
* =0)
const
=0;
42
47
virtual
std::unique_ptr<xAOD::Vertex>
npartVertex
(
const
EventContext& ctx,
const
std::vector<const xAOD::TrackParticle*>&,
const
xAOD::EventInfo
* =0)
const
=0;
48
};
49
50
51
#endif
AthAlgTool.h
TrackParticleContainer.h
VertexContainer.h
ITrkToLeptonPV
Interaface class for xAOD/DAOD tools to match a track to a vertex assumed to be a Primary Vertex.
Definition
ITrkToLeptonPV.h:34
ITrkToLeptonPV::npartVertex
virtual std::unique_ptr< xAOD::Vertex > npartVertex(const EventContext &ctx, const std::vector< const xAOD::TrackParticle * > &, const xAOD::EventInfo *=0) const =0
Method to create a Primary Vertex using N(>=2) identified tracks (e.g.
ITrkToLeptonPV::matchTrkToPV
virtual std::unique_ptr< xAOD::Vertex > matchTrkToPV(const EventContext &ctx, const xAOD::TrackParticle *, const xAOD::Vertex *, const xAOD::EventInfo *=0) const =0
Method to match any tracks to a known Primary Vertex.
ITrkToLeptonPV::DeclareInterfaceID
DeclareInterfaceID(ITrkToLeptonPV, 1, 0)
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0