ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonIdentification
MuonCombinedAlgsR4
src
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
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
11
12
#include "
ActsEvent/ContextUtility.h
"
13
14
#include "
StoreGate/ReadHandle.h
"
15
#include "
StoreGate/WriteHandle.h
"
16
17
#include "
MuonTrackEvent/MuonTag.h
"
18
19
namespace
MuonCombinedR4
{
25
class
CombinedStacoAlg
:
public
AthReentrantAlgorithm
{
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
40
ActsTrk::ContextUtility
m_ctxProvider
{
this
};
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"
};
48
SG::WriteHandleKey<xAOD::TrackParticleContainer>
m_cmbTrkKey
{
this
,
"writeTrkKey"
,
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
AthReentrantAlgorithm.h
ContextUtility.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::CombinedStacoAlg
Prototype to combine ID + MS tracks using the statistical combination The ID + MS momentum are combin...
Definition
CombinedStacoAlg.h:25
MuonCombinedR4::CombinedStacoAlg::m_ctxProvider
ActsTrk::ContextUtility m_ctxProvider
Context provider for geometry, magnetic field and calibration contexts.
Definition
CombinedStacoAlg.h:40
MuonCombinedR4::CombinedStacoAlg::m_match_dPhi
Gaudi::Property< float > m_match_dPhi
Upper cut on the delat phi between ID and MS track.
Definition
CombinedStacoAlg.h:53
MuonCombinedR4::CombinedStacoAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
CombinedStacoAlg.cxx:65
MuonCombinedR4::CombinedStacoAlg::m_msTrackKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_msTrackKey
Input key to the reconstructed MS track particles.
Definition
CombinedStacoAlg.h:42
MuonCombinedR4::CombinedStacoAlg::m_stacoKey
SG::WriteHandleKey< MuonR4::MuonTagContainer > m_stacoKey
Write key of the created STACO tags.
Definition
CombinedStacoAlg.h:46
MuonCombinedR4::CombinedStacoAlg::m_match_dEta
Gaudi::Property< float > m_match_dEta
Upper cut on the delta eta between ID and MS track.
Definition
CombinedStacoAlg.h:51
MuonCombinedR4::CombinedStacoAlg::m_useMeasELoss
Gaudi::Property< bool > m_useMeasELoss
Switch toggling whether the energy loss from the associated calorimeter cluster shall be taken.
Definition
CombinedStacoAlg.h:56
MuonCombinedR4::CombinedStacoAlg::calcELoss
double calcELoss(const MuonR4::MuonTag &idTag) const
Calculate the energy loss that is added to the MS momentum.
Definition
CombinedStacoAlg.cxx:33
MuonCombinedR4::CombinedStacoAlg::initialize
virtual StatusCode initialize() override final
Definition
CombinedStacoAlg.cxx:24
MuonCombinedR4::CombinedStacoAlg::m_cmbTrkKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_cmbTrkKey
Write key of the associated combined track particle container.
Definition
CombinedStacoAlg.h:48
MuonCombinedR4::CombinedStacoAlg::m_idTrkKey
SG::ReadHandleKey< MuonR4::MuonTagContainer > m_idTrkKey
Input key to the selected ID / ITk track particles.
Definition
CombinedStacoAlg.h:44
MuonR4::MuonTag
Baseline EDM object to gather all relevant information about a reconstructed muon candidate which can...
Definition
MuonTag.h:25
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
MuonCombinedR4
Definition
BeamSpotPreparatorAlg.cxx:17
Generated on
for ATLAS Offline Software by
1.17.0