ATLAS Offline Software
Loading...
Searching...
No Matches
TrackToTrackParticleCnvAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ACTSTRKFINDING_TRACKTOTRACKPARTICLECNVALG_H
6#define ACTSTRKFINDING_TRACKTOTRACKPARTICLECNVALG_H 1
7
9
10#include "Gaudi/Property.h"
11
16
18
20
23
24#include "Acts/Surfaces/PerigeeSurface.hpp"
25
27
29
30namespace ActsTrk {
31
35
36 public:
37 using AthReentrantAlgorithm::AthReentrantAlgorithm;
38
39 virtual StatusCode initialize() override;
40 virtual StatusCode execute(const EventContext &ctx) const override;
41
42 private:
43 static std::shared_ptr<Acts::PerigeeSurface> makePerigeeSurface(const InDet::BeamSpotData *beamspotptr);
44 static std::shared_ptr<Acts::PerigeeSurface> makePerigeeSurface(const xAOD::Vertex&);
45
46 ToolHandle<ActsTrk::ITrackToTrackParticleCnvTool> m_cnvTool
47 {this, "TrackToTrackParticleCnvTool", ""};
48
50 {this, "ACTSTracksLocation", {},"Track collection (ActsTrk variant)"};
52 {this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot or empty." };
53
55 {this, "VertexContainerKey", "", "Name of the Primary Vertex Container"};
57 "ChangeMe", "Name of the produced track particle collection" };
58
60 Gaudi::Property<std::string> m_perigeeExpression{this, "PerigeeExpression", "DontRecalculate"};
61
64 };
65
66}
67
68#endif
boost::graph_traits< boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS > >::vertex_descriptor Vertex
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Handle class for adding a decoration to an object.
Property holding a SG store/key/clid from which a WriteHandle is made.
Conversion algorithm to translate multiple transient Acts track containers to an xAOD track particle ...
static std::shared_ptr< Acts::PerigeeSurface > makePerigeeSurface(const InDet::BeamSpotData *beamspotptr)
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decorator_actsTracks
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_trackParticlesOutKey
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
ToolHandle< ActsTrk::ITrackToTrackParticleCnvTool > m_cnvTool
SG::ReadHandleKeyArray< ActsTrk::TrackContainer > m_tracksContainerKey
Gaudi::Property< std::string > m_perigeeExpression
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Vertex_v1 Vertex
Define the latest version of the vertex class.