ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonIdentification
MuonCombinedAlgsR4
src
CombinedFitAlg.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 MUONCOMBINEDALGSR4_COMBINEDFITALG_H
5
#define MUONCOMBINEDALGSR4_COMBINEDFITALG_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
9
10
#include "
ActsEvent/ContextUtility.h
"
11
12
#include "
StoreGate/ReadHandle.h
"
13
#include "
StoreGate/WriteHandle.h
"
14
#include "
MuonTrackEvent/MuonTag.h
"
15
16
#include "
xAODMuonViews/FillContainer.h
"
17
18
namespace
MuonCombinedR4
{
19
20
class
CombinedFitAlg
:
public
AthReentrantAlgorithm
{
21
public
:
22
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
23
24
virtual
StatusCode
initialize
()
override
final
;
25
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
26
private
:
27
28
struct
DataShip
{
30
const
MuonR4::MuonTagContainer
*
preMatchedTags
{};
32
xAOD::FillContainer<MuonR4::MuonTagContainer, void*>
combinedTags
{};
34
Acts::GeometryContext
tgContext
{Acts::GeometryContext::dangerouslyDefaultConstruct()};
36
Acts::MagneticFieldContext
mfContext
{};
38
Acts::CalibrationContext
calContext
{};
39
};
40
41
StatusCode
prepareDataShip
(
const
EventContext& ctx, DataShip& ship)
const
;
43
ActsTrk::ContextUtility
m_ctxProvider
{
this
};
45
SG::ReadHandleKey<MuonR4::MuonTagContainer>
m_stacoKey
{
this
,
"stacoKey"
,
"MuonTagsSTACO"
};
46
48
SG::WriteHandleKey<MuonR4::MuonTagContainer>
m_outTagKey
{
this
,
"writeKey"
,
"MuonTagsMuidCo"
};
49
50
};
51
}
52
53
54
#endif
AthReentrantAlgorithm.h
ContextUtility.h
FillContainer.h
MuonTag.h
ReadHandle.h
Handle class for reading from StoreGate.
WriteHandle.h
Handle class for recording to StoreGate.
ActsTrk::ContextUtility
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
Definition
ContextUtility.h:27
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonCombinedR4::CombinedFitAlg
Definition
CombinedFitAlg.h:20
MuonCombinedR4::CombinedFitAlg::m_outTagKey
SG::WriteHandleKey< MuonR4::MuonTagContainer > m_outTagKey
Write key of the created combined tags.
Definition
CombinedFitAlg.h:48
MuonCombinedR4::CombinedFitAlg::m_stacoKey
SG::ReadHandleKey< MuonR4::MuonTagContainer > m_stacoKey
Use STACO as input to the MuidCo chain as the track pair is already done upstream.
Definition
CombinedFitAlg.h:45
MuonCombinedR4::CombinedFitAlg::prepareDataShip
StatusCode prepareDataShip(const EventContext &ctx, DataShip &ship) const
Definition
CombinedFitAlg.cxx:15
MuonCombinedR4::CombinedFitAlg::m_ctxProvider
ActsTrk::ContextUtility m_ctxProvider
Context provider for geometry, magnetic field and calibration contexts.
Definition
CombinedFitAlg.h:43
MuonCombinedR4::CombinedFitAlg::initialize
virtual StatusCode initialize() override final
Definition
CombinedFitAlg.cxx:9
MuonCombinedR4::CombinedFitAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
CombinedFitAlg.cxx:23
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
xAOD::FillContainer
Definition
FillContainer.h:39
MuonCombinedR4
Definition
TrackMatchingUtils.h:15
MuonR4::MuonTagContainer
DataVector< MuonTag > MuonTagContainer
Definition
MuonTag.h:125
MuonCombinedR4::CombinedFitAlg::DataShip
Definition
CombinedFitAlg.h:28
MuonCombinedR4::CombinedFitAlg::DataShip::mfContext
Acts::MagneticFieldContext mfContext
The magnetic field context.
Definition
CombinedFitAlg.h:36
MuonCombinedR4::CombinedFitAlg::DataShip::tgContext
Acts::GeometryContext tgContext
The geometry context to align the surfaces during the fit.
Definition
CombinedFitAlg.h:34
MuonCombinedR4::CombinedFitAlg::DataShip::calContext
Acts::CalibrationContext calContext
The calibration context.
Definition
CombinedFitAlg.h:38
MuonCombinedR4::CombinedFitAlg::DataShip::combinedTags
xAOD::FillContainer< MuonR4::MuonTagContainer, void * > combinedTags
The output combined tag collection.
Definition
CombinedFitAlg.h:32
MuonCombinedR4::CombinedFitAlg::DataShip::preMatchedTags
const MuonR4::MuonTagContainer * preMatchedTags
The prematched combined muon tags.
Definition
CombinedFitAlg.h:30
Generated on
for ATLAS Offline Software by
1.17.0