ATLAS Offline Software
SeedToTrackCnvAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef ACTSEVENTCNV_ACTSTRK_SEEDTOTRACKCNVALG_H
5 #define ACTSEVENTCNV_ACTSTRK_SEEDTOTRACKCNVALG_H
6 
7 // Framework includes
9 
11 #include "ActsEvent/Seed.h"
16 
20 
22 
23 // STL includes
24 #include <string>
25 
26 namespace ActsTrk {
27 
33 public:
34  SeedToTrackCnvAlg(const std::string& name, ISvcLocator* pSvcLocator);
35  virtual ~SeedToTrackCnvAlg() override = default;
36 
37  virtual StatusCode initialize() override;
38  virtual StatusCode execute(const EventContext& context) const override;
39 
40 private:
42  SG::ReadHandleKey<ActsTrk::SeedContainer> m_seedContainerKey{this, "SeedContainerKey", {}, "Seed containers"};
43  SG::ReadHandleKey<ActsTrk::BoundTrackParametersContainer> m_actsTrackParamsKey {this, "EstimatedTrackParametersKey", {}, "Track Parameters Key"};
45  {this, "DetectorElementToActsGeometryIdMapKey", "DetectorElementToActsGeometryIdMap",
46  "Map which associates detector elements to Acts Geometry IDs"};
47 
48  SG::WriteHandleKey<ActsTrk::TrackContainer> m_trackContainerKey{this, "ACTSTracksLocation", "", "Output track collection (ActsTrk variant)"};
49  ToolHandle<IActsTrackingGeometryTool> m_trackingGeometryTool{this, "TrackingGeometryTool", ""};
50 };
51 
52 } // namespace ActsTrk
53 
54 #endif // ACTSEVENTCNV_ACTSTRK_SEEDTOTRACKCNVALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ActsTrk::SeedToTrackCnvAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: SeedToTrackCnvAlg.cxx:40
TrackParameters.h
ActsTrk::SeedToTrackCnvAlg::m_trackContainerKey
SG::WriteHandleKey< ActsTrk::TrackContainer > m_trackContainerKey
Definition: SeedToTrackCnvAlg.h:48
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
SeedContainer.h
ActsTrk::SeedToTrackCnvAlg
Definition: SeedToTrackCnvAlg.h:32
ActsTrk::SeedToTrackCnvAlg::m_detectorElementToGeometryIdMapKey
SG::ReadCondHandleKey< ActsTrk::DetectorElementToActsGeometryIdMap > m_detectorElementToGeometryIdMapKey
Definition: SeedToTrackCnvAlg.h:45
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
ActsTrk::SeedToTrackCnvAlg::SeedToTrackCnvAlg
SeedToTrackCnvAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SeedToTrackCnvAlg.cxx:22
ActsTrk::SeedToTrackCnvAlg::m_trackingGeometryTool
ToolHandle< IActsTrackingGeometryTool > m_trackingGeometryTool
Definition: SeedToTrackCnvAlg.h:49
SG::WriteHandleKey< ActsTrk::TrackContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ActsTrk::MutableTrackContainerHandlesHelper
Definition: TrackContainerHandlesHelper.h:33
ActsTrk::SeedToTrackCnvAlg::m_actsTrackParamsKey
SG::ReadHandleKey< ActsTrk::BoundTrackParametersContainer > m_actsTrackParamsKey
Definition: SeedToTrackCnvAlg.h:43
ReadCondHandleKey.h
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ActsTrk::SeedToTrackCnvAlg::initialize
virtual StatusCode initialize() override
Definition: SeedToTrackCnvAlg.cxx:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Seed.h
ActsTrk::SeedToTrackCnvAlg::m_tracksBackendHandlesHelper
ActsTrk::MutableTrackContainerHandlesHelper m_tracksBackendHandlesHelper
Definition: SeedToTrackCnvAlg.h:41
SG::ReadCondHandleKey< ActsTrk::DetectorElementToActsGeometryIdMap >
ActsTrk::SeedToTrackCnvAlg::m_seedContainerKey
SG::ReadHandleKey< ActsTrk::SeedContainer > m_seedContainerKey
Definition: SeedToTrackCnvAlg.h:42
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:54
ActsTrk::SeedToTrackCnvAlg::~SeedToTrackCnvAlg
virtual ~SeedToTrackCnvAlg() override=default
TrackContainerHandlesHelper.h
IActsTrackingGeometryTool.h
DetectorElementToActsGeometryIdMap.h
TrackParametersContainer.h