ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonFastReconstruction
MuonFastRecoAlgs
src
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
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
StoreGate/WriteHandleKey.h
"
10
11
#include "
MuonRecToolInterfacesR4/ITrackSeedingTool.h
"
12
#include "
MuonFastRecoEvent/GlobalPattern.h
"
13
14
#include "
xAODMuon/MuonSegmentContainer.h
"
15
#include "
xAODMuon/MuonContainer.h
"
16
#include "
xAODMuon/MuonAuxContainerR4.h
"
17
#include "
xAODMuonViews/FillContainer.h
"
18
#include "
xAODMuonViews/ContainerDecorator.h
"
19
20
namespace
MuonR4
{
28
29
class
MuonFastSABuilderAlg
:
public
AthReentrantAlgorithm
{
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
:
40
using
MuonCont_t
=
xAOD::FillContainer<xAOD::MuonContainer, xAOD::MuonAuxContainerR4>
;
42
struct
MuonDataShip
{
44
MuonCont_t
muonContainer
;
46
xAOD::ContainerDecorator<xAOD::MuonContainer, float>
dec_qOverPCov
{};
47
};
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
AthReentrantAlgorithm.h
ContainerDecorator.h
MuonContainer.h
FillContainer.h
GlobalPattern.h
ITrackSeedingTool.h
MuonAuxContainerR4.h
MuonSegmentContainer.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonR4::GlobalPattern
Data class to represent an eta maximum in hough space.
Definition
GlobalPattern.h:15
MuonR4::MuonFastSABuilderAlg
Algorithm handling the fast building of standalone muon candidates.
Definition
MuonFastSABuilderAlg.h:29
MuonR4::MuonFastSABuilderAlg::m_qOverPCovKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_qOverPCovKey
Muon decoration of the Q/P covariance.
Definition
MuonFastSABuilderAlg.h:62
MuonR4::MuonFastSABuilderAlg::~MuonFastSABuilderAlg
virtual ~MuonFastSABuilderAlg()=default
MuonR4::MuonFastSABuilderAlg::buildMuonCandidate
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...
Definition
MuonFastSABuilderAlg.cxx:84
MuonR4::MuonFastSABuilderAlg::m_seedingTool
ToolHandle< ITrackSeedingTool > m_seedingTool
The track seeding tool to construct the seed candidates and to estimate the initial parameters.
Definition
MuonFastSABuilderAlg.h:67
MuonR4::MuonFastSABuilderAlg::m_inSegments
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_inSegments
Read handle key for the input segments.
Definition
MuonFastSABuilderAlg.h:64
MuonR4::MuonFastSABuilderAlg::initialize
virtual StatusCode initialize() override
Definition
MuonFastSABuilderAlg.cxx:34
MuonR4::MuonFastSABuilderAlg::m_outMuons
SG::WriteHandleKey< xAOD::MuonContainer > m_outMuons
Write handle key for the output muon candidates.
Definition
MuonFastSABuilderAlg.h:60
MuonR4::MuonFastSABuilderAlg::MuonCont_t
xAOD::FillContainer< xAOD::MuonContainer, xAOD::MuonAuxContainerR4 > MuonCont_t
Define the muon container type.
Definition
MuonFastSABuilderAlg.h:40
MuonR4::MuonFastSABuilderAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
MuonFastSABuilderAlg.cxx:42
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
xAOD::ContainerDecorator
Auxiliary class to instantiate WriteDecorHandles.The handles can be created in an empty state.
Definition
ContainerDecorator.h:18
xAOD::FillContainer
Definition
FillContainer.h:39
MuonR4
This header ties the generic definitions in this package.
Definition
FastRecoUtils.h:12
xAOD::Muon
Muon_v1 Muon
Reference the current persistent version:
Definition
Event/xAOD/xAODMuon/xAODMuon/Muon.h:13
MuonR4::MuonFastSABuilderAlg::MuonDataShip
Data ship containing the muon container and the covariance decorator.
Definition
MuonFastSABuilderAlg.h:42
MuonR4::MuonFastSABuilderAlg::MuonDataShip::muonContainer
MuonCont_t muonContainer
The muon container.
Definition
MuonFastSABuilderAlg.h:44
MuonR4::MuonFastSABuilderAlg::MuonDataShip::dec_qOverPCov
xAOD::ContainerDecorator< xAOD::MuonContainer, float > dec_qOverPCov
The Q/P covariance decorator.
Definition
MuonFastSABuilderAlg.h:46
Generated on
for ATLAS Offline Software by
1.17.0