ATLAS Offline Software
Loading...
Searching...
No Matches
MlMsTrackSeeder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONTRACKFINDINGALGS_MLMSTRACKSEEDER_H
5#define MUONTRACKFINDINGALGS_MLMSTRACKSEEDER_H
6
12
13#include <span>
14#include <string>
15
16namespace MuonR4 {
17
26class MlMsTrackSeeder final :
27 public extends<AthAlgTool, ITrackSeedingTool> {
28 public:
29 using base_class::base_class;
30
31 StatusCode initialize() override final;
32
34 StatusCode findTrackSeeds(const EventContext& ctx,
35 std::vector<MsTrackSeed>& outSeeds) const override final;
36
38 Acts::Result<Acts::BoundTrackParameters> estimateStartParameters(
39 const EventContext& ctx,
40 const MsTrackSeed& seed) const override final;
41
42 private:
43 ToolHandle<ITrackSeedingTool> m_seedParameterEstimator{
44 this, "BaselineSeeder", "",
45 "Tool providing initial-parameter estimates for ML-built seeds"};
47 this, "SegmentContainer", "MuonSegmentsFromR4"};
48 Gaudi::Property<std::string> m_candidateDecoration{
49 this, "CandidateDecoration", "trackCandidateIds",
50 "Segment [componentId, isSeedAnchor] decoration"};
52 this, "CandidateDecoration", m_segmentKey, "trackCandidateIds",
53 "Scheduler dependency on the ML candidate decoration"};
54 Gaudi::Property<unsigned int> m_minSegmentsPerCandidate{
55 this, "MinSegmentsPerCandidate", 2};
56};
57
58} // namespace MuonR4
59
60#endif
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
ITrackSeedingTool implementation which constructs seeds directly from sufficiently large ML-nominated...
StatusCode initialize() override final
StatusCode findTrackSeeds(const EventContext &ctx, std::vector< MsTrackSeed > &outSeeds) const override final
Retrieves the segment container from StoreGate and constructs TrackSeeds from them.
Gaudi::Property< std::string > m_candidateDecoration
Gaudi::Property< unsigned int > m_minSegmentsPerCandidate
Acts::Result< Acts::BoundTrackParameters > estimateStartParameters(const EventContext &ctx, const MsTrackSeed &seed) const override final
Estimate the start track parameters for a given track seed.
ToolHandle< ITrackSeedingTool > m_seedParameterEstimator
SG::ReadDecorHandleKey< xAOD::MuonSegmentContainer > m_candidateDecorKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segmentKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
This header ties the generic definitions in this package.