ATLAS Offline Software
Loading...
Searching...
No Matches
ITrackCollectionCnvTool.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef XAODTRACKINGCNV_ITRACKCOLLECTIONCNVTOOL_H
8#define XAODTRACKINGCNV_ITRACKCOLLECTIONCNVTOOL_H
9
10// Gaudi/Athena include(s):
11#include "GaudiKernel/IAlgTool.h"
12
13// EDM include(s):
16#include "xAODTracking/Vertex.h"
17// Forward declaration(s):
18//class TrackCollection; - no - typedef
20
21namespace Trk {
23}
24
25namespace xAODMaker {
26
27 class ITrackCollectionCnvTool : public virtual IAlgTool {
28
29 public:
32
34 virtual StatusCode convert( const EventContext& ctx, const TrackCollection* aod,
35 xAOD::TrackParticleContainer* xaod, const xAOD::Vertex* vtx = nullptr ) const = 0;
36
38 virtual StatusCode convertAndAugment( const EventContext& ctx, const TrackCollection* aod,
39 xAOD::TrackParticleContainer* xaod, const ObservedTrackMap* trk_map, const xAOD::Vertex* vtx = nullptr ) const = 0;
40
41 virtual StatusCode setParticleCreatorTool(ToolHandle<Trk::ITrackParticleCreatorTool> *tool) = 0;
42
43 };//class definition
44
45} // xAODMaker namespace
46
47
48#endif // XAODTRACKINGCNV_ITRACKCOLLECTIONCNVTOOL_H
std::map< int, std::tuple< Trk::Track *, double, xAOD::RejectionStep, xAOD::RejectionReason, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, float, float, int, std::vector< xAOD::RejectionStep >, std::vector< xAOD::RejectionReason > > > ObservedTrackMap
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
Interface for constructing TrackParticles from complete tracks.
virtual StatusCode convert(const EventContext &ctx, const TrackCollection *aod, xAOD::TrackParticleContainer *xaod, const xAOD::Vertex *vtx=nullptr) const =0
Function that fills an existing xAOD::TrackParticleContainer.
virtual StatusCode setParticleCreatorTool(ToolHandle< Trk::ITrackParticleCreatorTool > *tool)=0
virtual StatusCode convertAndAugment(const EventContext &ctx, const TrackCollection *aod, xAOD::TrackParticleContainer *xaod, const ObservedTrackMap *trk_map, const xAOD::Vertex *vtx=nullptr) const =0
Function that fills an existing xAOD::TrackParticleContainer and augments track particles.
DeclareInterfaceID(ITrackCollectionCnvTool, 1, 0)
The interface provided by ITrackCollectionCnvTool.
Ensure that the ATLAS eigen extensions are properly loaded.
Vertex_v1 Vertex
Define the latest version of the vertex class.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".