ATLAS Offline Software
Loading...
Searching...
No Matches
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
8
9
11
15
17
18namespace MuonCombinedR4 {
19
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{
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;
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
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< MuonR4::MuonTagContainer > m_outTagKey
Write key of the created combined tags.
SG::ReadHandleKey< MuonR4::MuonTagContainer > m_stacoKey
Use STACO as input to the MuidCo chain as the track pair is already done upstream.
StatusCode prepareDataShip(const EventContext &ctx, DataShip &ship) const
ActsTrk::ContextUtility m_ctxProvider
Context provider for geometry, magnetic field and calibration contexts.
virtual StatusCode initialize() override final
virtual StatusCode execute(const EventContext &ctx) const override final
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
DataVector< MuonTag > MuonTagContainer
Definition MuonTag.h:125
Acts::MagneticFieldContext mfContext
The magnetic field context.
Acts::GeometryContext tgContext
The geometry context to align the surfaces during the fit.
Acts::CalibrationContext calContext
The calibration context.
xAOD::FillContainer< MuonR4::MuonTagContainer, void * > combinedTags
The output combined tag collection.
const MuonR4::MuonTagContainer * preMatchedTags
The prematched combined muon tags.