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{
32
34 {
35
36 public:
37 TrackToTrackParticleCnvAlg(const std::string &name,
38 ISvcLocator *pSvcLocator);
39
40 virtual StatusCode initialize() override;
41 virtual StatusCode execute(const EventContext &ctx) const override;
42
43 private:
44 static std::shared_ptr<Acts::PerigeeSurface> makePerigeeSurface(const InDet::BeamSpotData *beamspotptr);
45 static std::shared_ptr<Acts::PerigeeSurface> makePerigeeSurface(const xAOD::Vertex&);
46
47 ToolHandle<ActsTrk::ITrackToTrackParticleCnvTool> m_cnvTool
48 {this, "TrackToTrackParticleCnvTool", ""};
49
51 {this, "ACTSTracksLocation", {},"Track collection (ActsTrk variant)"};
53 {this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot or empty." };
54
56 {this, "VertexContainerKey", "", "Name of the Primary Vertex Container"};
58 {this, "TrackParticlesOutKey","", "Name of the produced track particle collection" };
59
62 Gaudi::Property<std::string> m_perigeeExpression{this, "PerigeeExpression", "DontRecalculate"};
63
66 };
67
68}
69
70#endif
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.
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::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexHandle
ToolHandle< ActsTrk::ITrackToTrackParticleCnvTool > m_cnvTool
SG::ReadHandleKeyArray< ActsTrk::TrackContainer > m_tracksContainerKey
Gaudi::Property< std::string > m_perigeeExpression
TrackToTrackParticleCnvAlg(const std::string &name, ISvcLocator *pSvcLocator)
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.