5#ifndef MUONCOMBINEDALGSR4_COMBINEDSTACOALG_H
6#define MUONCOMBINEDALGSR4_COMBINEDSTACOALG_H
27 using AthReentrantAlgorithm::AthReentrantAlgorithm;
29 virtual StatusCode
initialize()
override final;
30 virtual StatusCode
execute(
const EventContext& ctx)
const override final;
49 "STACOTrackParticles"};
53 Gaudi::Property<float>
m_match_dPhi{
this,
"maxDPhi", 2.*Gaudi::Units::deg};
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.
Prototype to combine ID + MS tracks using the statistical combination The ID + MS momentum are combin...
ActsTrk::ContextUtility m_ctxProvider
Context provider for geometry, magnetic field and calibration contexts.
Gaudi::Property< float > m_match_dPhi
Upper cut on the delat phi between ID and MS track.
virtual StatusCode execute(const EventContext &ctx) const override final
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_msTrackKey
Input key to the reconstructed MS track particles.
SG::WriteHandleKey< MuonR4::MuonTagContainer > m_stacoKey
Write key of the created STACO tags.
Gaudi::Property< float > m_match_dEta
Upper cut on the delta eta between ID and MS track.
Gaudi::Property< bool > m_useMeasELoss
Switch toggling whether the energy loss from the associated calorimeter cluster shall be taken.
double calcELoss(const MuonR4::MuonTag &idTag) const
Calculate the energy loss that is added to the MS momentum.
virtual StatusCode initialize() override final
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_cmbTrkKey
Write key of the associated combined track particle container.
SG::ReadHandleKey< MuonR4::MuonTagContainer > m_idTrkKey
Input key to the selected ID / ITk track particles.
Baseline EDM object to gather all relevant information about a reconstructed muon candidate which can...
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.