5#ifndef ACTSEVENTCNV_ACTSTOTRK_CONVERTER_ALG_H
6#define ACTSEVENTCNV_ACTSTOTRK_CONVERTER_ALG_H
19#include "Acts/Geometry/GeometryContext.hpp"
29 using AthReentrantAlgorithm::AthReentrantAlgorithm;
33 virtual StatusCode
execute(
const EventContext &ctx)
const override;
37 const Acts::GeometryContext &tgContext,
41 std::unique_ptr<Trk::MeasurementBase>
46 PublicToolHandle<ActsTrk::ITrackingGeometryTool>
m_trackingGeometryTool{
this,
"TrackingGeometryTool",
"ActsTrackingGeometryTool"};
47 ToolHandle<ActsTrk::IActsToTrkConverterTool>
m_ATLASConverterTool{
this,
"ATLASConverterTool",
"ActsToTrkConverterTool"};
48 ToolHandle<Trk::IBoundaryCheckTool>
m_boundaryCheckTool{
this,
"BoundaryCheckTool",
"InDet::InDetBoundaryCheckTool",
"Boundary checking tool for detector sensitivities"};
49 ToolHandle<Trk::IRIO_OnTrackCreator>
m_RotCreatorTool{
this,
"RotCreatorTool",
"",
"optional RIO_OnTrack creator tool"};
50 ToolHandle<Trk::IExtendedTrackSummaryTool>
m_trkSummaryTool{
this,
"SummaryTool",
"ToolHandle for track summary tool"};
51 ToolHandle<Muon::IMuonClusterOnTrackCreator>
m_muonClusterCreator{
this,
"MuonClusterCreator",
"",
"Muon cluster creator tool"};
54 "Output track collection (ActsTrk variant)"};
56 "Output track collection"};
58 template <
class PrdType>
Property holding a SG store/key/clid from which a WriteHandle is made.
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
ToolHandle< Trk::IBoundaryCheckTool > m_boundaryCheckTool
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_keyStgc
ToolHandle< ActsTrk::IActsToTrkConverterTool > m_ATLASConverterTool
ToolHandle< Trk::IExtendedTrackSummaryTool > m_trkSummaryTool
StatusCode makeTracks(const EventContext &ctx, const Acts::GeometryContext &tgContext, const ActsTrk::TrackContainer &tracks, ::TrackCollection &tracksContainer) const
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< ActsTrk::TrackContainer > m_tracksContainerKey
ToolHandle< Trk::IRIO_OnTrackCreator > m_RotCreatorTool
std::unique_ptr< Trk::MeasurementBase > makeRIO_OnTrack(const xAOD::UncalibratedMeasurement &uncalibMeas, const Trk::TrackParameters &parm, bool getSecMeas) const
SG::WriteHandleKey<::TrackCollection > m_tracksKey
virtual ~ActsToTrkConvertorAlg()=default
const PrdType * fetchPrd(const Identifier &prdId, const Muon::MuonPrepDataContainerT< PrdType > *prdContainer) const
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_keyMdt
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_keyRpc
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_keyTgc
ToolHandle< Muon::IMuonClusterOnTrackCreator > m_muonClusterCreator
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_keyMm
PublicToolHandle< ActsTrk::ITrackingGeometryTool > m_trackingGeometryTool
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 from which a WriteHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
MuonPrepDataContainer< MuonPrepDataCollection< PrdType > > MuonPrepDataContainerT
ParametersBase< TrackParametersDim, Charged > TrackParameters
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.