ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
MuonIdentification
MuonCombinedDecorationAlgs
src
MuonTrkAEOTDecorationAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONCOMBINEDALGS_MUONAEOTDECORATIONALG_H
6
#define MUONCOMBINEDALGS_MUONAEOTDECORATIONALG_H
7
8
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
12
#include "
xAODTracking/TrackParticleContainer.h
"
13
#include "
StoreGate/ReadHandleKey.h
"
14
#include "
StoreGate/WriteDecorHandleKey.h
"
15
/*
16
Algorithm to decorate the alignment effect on track information on a muon track particle
17
*/
18
19
class
MuonTrkAEOTDecorationAlg
:
public
AthReentrantAlgorithm
{
20
public
:
21
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
22
23
~MuonTrkAEOTDecorationAlg
() =
default
;
24
25
virtual
StatusCode
initialize
()
override
;
26
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
27
private
:
28
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
29
30
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_TrkContainer
{
this
,
"TrackContainer"
,
31
"Trks"
,
"Track particles to use for the decoration"
};
32
33
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_chIdKey
{
this
,
"ChambedIds"
,
m_TrkContainer
,
34
"alignEffectChId"
,
"alignEffectChId decoration key"
};
35
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_deltaTransKey
{
this
,
"deltaTrans"
,
m_TrkContainer
,
36
"alignEffectDeltaTrans"
,
"alignEffectDeltaTrans decoration"
};
37
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_sigmaDeltaTransKey
{
this
,
"sigmaDeltaTrans"
,
m_TrkContainer
,
38
"alignEffectSigmaDeltaTrans"
,
"alignEffectSigmaDeltaTrans decoration key"
};
39
40
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_deltaAngleKey
{
this
,
"deltaAngle"
,
m_TrkContainer
,
41
"alignEffectDeltaAngle"
,
"alignEffectDeltaAngle decoration"
};
42
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_sigmaDeltaAngleKey
{
this
,
"sigmaDeltaAngle"
,
m_TrkContainer
,
43
"alignEffectSigmaDeltaAngle"
,
"alignEffectSigmaDeltaAngle decoration"
};
44
45
};
46
#endif
AthReentrantAlgorithm.h
TrackParticleContainer.h
IMuonIdHelperSvc.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonTrkAEOTDecorationAlg
Definition
MuonTrkAEOTDecorationAlg.h:19
MuonTrkAEOTDecorationAlg::m_TrkContainer
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrkContainer
Definition
MuonTrkAEOTDecorationAlg.h:30
MuonTrkAEOTDecorationAlg::initialize
virtual StatusCode initialize() override
Definition
MuonTrkAEOTDecorationAlg.cxx:10
MuonTrkAEOTDecorationAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
MuonTrkAEOTDecorationAlg.cxx:25
MuonTrkAEOTDecorationAlg::m_chIdKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_chIdKey
Definition
MuonTrkAEOTDecorationAlg.h:33
MuonTrkAEOTDecorationAlg::m_sigmaDeltaTransKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaTransKey
Definition
MuonTrkAEOTDecorationAlg.h:37
MuonTrkAEOTDecorationAlg::m_deltaTransKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaTransKey
Definition
MuonTrkAEOTDecorationAlg.h:35
MuonTrkAEOTDecorationAlg::~MuonTrkAEOTDecorationAlg
~MuonTrkAEOTDecorationAlg()=default
MuonTrkAEOTDecorationAlg::m_sigmaDeltaAngleKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaAngleKey
Definition
MuonTrkAEOTDecorationAlg.h:42
MuonTrkAEOTDecorationAlg::m_deltaAngleKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaAngleKey
Definition
MuonTrkAEOTDecorationAlg.h:40
MuonTrkAEOTDecorationAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MuonTrkAEOTDecorationAlg.h:28
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0