ATLAS Offline Software
Loading...
Searching...
No Matches
CombinedStacoAlg.h
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4*/
5#ifndef MUONCOMBINEDALGSR4_COMBINEDSTACOALG_H
6#define MUONCOMBINEDALGSR4_COMBINEDSTACOALG_H
7
8
10
11
13
16
18
19namespace MuonCombinedR4 {
26 public:
27 using AthReentrantAlgorithm::AthReentrantAlgorithm;
28
29 virtual StatusCode initialize() override final;
30 virtual StatusCode execute(const EventContext& ctx) const override final;
31 private:
37 double calcELoss(const MuonR4::MuonTag& idTag) const;
38
42 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_msTrackKey{this, "MsTracks", "MsTrackParticlesR4"};
44 SG::ReadHandleKey<MuonR4::MuonTagContainer> m_idTrkKey{this, "IdTrkKey", "MuonInDetCandidates"};
46 SG::WriteHandleKey<MuonR4::MuonTagContainer> m_stacoKey{this, "writeKey" , "MuonTagsSTACO"};
49 "STACOTrackParticles"};
50
51 Gaudi::Property<float> m_match_dEta{this, "maxDEta", 0.1};
53 Gaudi::Property<float> m_match_dPhi{this, "maxDPhi", 2.*Gaudi::Units::deg};
56 Gaudi::Property<bool> m_useMeasELoss{this,"useMeasELoss", true};
57 };
58}
59#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.
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...
Definition MuonTag.h:25
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.