ATLAS Offline Software
TrkToActsConvertorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKTOACTSCONVERTORALG_H
6 #define TRKTOACTSCONVERTORALG_H
7 
8 
11 #include "GaudiKernel/ToolHandle.h"
17 
18 
19 namespace ActsTrk {
23  public:
25  virtual StatusCode initialize() override;
26  virtual StatusCode execute(const EventContext& ctx) const override;
27 
28  protected:
29  ToolHandle<IActsToTrkConverterTool> m_convertorTool{this, "ConvertorTool",
30  ""};
32  this,
33  "TrackCollectionKeys",
34  {"CombinedInDetTracks", "CombinedMuonTracks", "MuonSpectrometerTracks"},
35  "Keys for Track Containers"};
37  this, "ActsAlignmentKey", "ActsAlignment", "Cond read key for the alignment"};
38  SG::WriteHandleKey<ActsTrk::TrackContainer> m_trackContainerKey {this, "TrackContainerLocation", "ConvertedTracks", "Location of the converted TrackContainer"};
40 
41 };
42 } // namespace ActsTrk
43 
44 
45 #endif
ActsTrk::TrkToActsConvertorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: TrkToActsConvertorAlg.cxx:24
ActsTrk::TrkToActsConvertorAlg
Algorithm convert Trk::Track to ACTS multistate objects.
Definition: TrkToActsConvertorAlg.h:22
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
SG::ReadHandleKey< ActsGeometryContext >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ActsTrk::TrkToActsConvertorAlg::m_trackContainerBackendsHelper
ActsTrk::MutableTrackContainerHandlesHelper m_trackContainerBackendsHelper
Definition: TrkToActsConvertorAlg.h:39
SG::WriteHandleKey< ActsTrk::TrackContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ActsTrk::TrkToActsConvertorAlg::m_convertorTool
ToolHandle< IActsToTrkConverterTool > m_convertorTool
Definition: TrkToActsConvertorAlg.h:29
TrackCollection.h
ActsTrk::MutableTrackContainerHandlesHelper
Definition: TrackContainerHandlesHelper.h:33
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
MultiTrajectory.h
ActsTrk::TrkToActsConvertorAlg::m_geometryContextKey
SG::ReadHandleKey< ActsGeometryContext > m_geometryContextKey
Definition: TrkToActsConvertorAlg.h:36
IActsToTrkConverterTool.h
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:34
ActsTrk::TrkToActsConvertorAlg::m_trackCollectionKeys
SG::ReadHandleKeyArray< TrackCollection > m_trackCollectionKeys
Definition: TrkToActsConvertorAlg.h:31
TrackContainerHandlesHelper.h
TrackContainer.h
ActsTrk::TrkToActsConvertorAlg::initialize
virtual StatusCode initialize() override
Definition: TrkToActsConvertorAlg.cxx:15
ActsTrk::TrkToActsConvertorAlg::m_trackContainerKey
SG::WriteHandleKey< ActsTrk::TrackContainer > m_trackContainerKey
Definition: TrkToActsConvertorAlg.h:38