ATLAS Offline Software
Loading...
Searching...
No Matches
MuonFastSABuilderAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONR4_MUONFASTRECOALGS_MUONFASTSABUILDERALG__H
6#define MUONR4_MUONFASTRECOALGS_MUONFASTSABUILDERALG__H
7
10
13
19
20namespace MuonR4 {
28
30 public:
31
32 using AthReentrantAlgorithm::AthReentrantAlgorithm;
33 virtual ~MuonFastSABuilderAlg() = default;
34
35 virtual StatusCode initialize() override;
36 virtual StatusCode execute(const EventContext& ctx) const override;
37
38 private:
48
54 xAOD::Muon* buildMuonCandidate(const EventContext& ctx,
55 const GlobalPattern& pattern,
56 std::span<const xAOD::MuonSegment* const> segments,
57 MuonDataShip& outMuonData) const;
58
60 SG::WriteHandleKey<xAOD::MuonContainer> m_outMuons{this, "OutMuons", "FastRecoSAMuons", "Output muon container"};
62 SG::WriteDecorHandleKey<xAOD::MuonContainer> m_qOverPCovKey{this, "QOverPCovKey", m_outMuons, "QOverPCov", "Q/P covariance for the muons"};
64 SG::ReadHandleKey<xAOD::MuonSegmentContainer> m_inSegments{this, "InSegments", "FastMuonSegments"};
65
67 ToolHandle<ITrackSeedingTool> m_seedingTool{this, "SeedingTool", ""};
68 };
69}
70
71#endif
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Data class to represent an eta maximum in hough space.
Algorithm handling the fast building of standalone muon candidates.
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_qOverPCovKey
Muon decoration of the Q/P covariance.
virtual ~MuonFastSABuilderAlg()=default
xAOD::Muon * buildMuonCandidate(const EventContext &ctx, const GlobalPattern &pattern, std::span< const xAOD::MuonSegment *const > segments, MuonDataShip &outMuonData) const
Given the muon segments, it builds the standalone muon candidate, estimating the momentum and filling...
ToolHandle< ITrackSeedingTool > m_seedingTool
The track seeding tool to construct the seed candidates and to estimate the initial parameters.
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_inSegments
Read handle key for the input segments.
virtual StatusCode initialize() override
SG::WriteHandleKey< xAOD::MuonContainer > m_outMuons
Write handle key for the output muon candidates.
xAOD::FillContainer< xAOD::MuonContainer, xAOD::MuonAuxContainerR4 > MuonCont_t
Define the muon container type.
virtual StatusCode execute(const EventContext &ctx) const override
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.
Auxiliary class to instantiate WriteDecorHandles.The handles can be created in an empty state.
This header ties the generic definitions in this package.
Muon_v1 Muon
Reference the current persistent version:
Data ship containing the muon container and the covariance decorator.
xAOD::ContainerDecorator< xAOD::MuonContainer, float > dec_qOverPCov
The Q/P covariance decorator.