ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
MuonIdentification
MuonCombinedDecorationAlgs
src
MuonPrecisionLayerDecorAlg.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 MUONCOMBINEDDECORATIONALGS_MONPRECISIONLAYERDECORALG_H
6
#define MUONCOMBINEDDECORATIONALGS_MONPRECISIONLAYERDECORALG_H
7
8
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
#include "GaudiKernel/ToolHandle.h"
11
12
#include "
xAODMuon/MuonContainer.h
"
13
#include "
StoreGate/ReadHandleKeyArray.h
"
14
#include "
StoreGate/ReadDecorHandleKeyArray.h
"
15
#include "
StoreGate/WriteDecorHandleKey.h
"
16
17
/*
18
Algorithm to decorate the muon precision layers to the muon
19
*/
20
21
class
MuonPrecisionLayerDecorAlg
:
public
AthReentrantAlgorithm
{
22
public
:
23
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
24
~MuonPrecisionLayerDecorAlg
() =
default
;
25
26
virtual
StatusCode
initialize
()
override
;
27
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
28
private
:
29
30
SG::ReadHandleKey<xAOD::MuonContainer>
m_MuonContainer
{
this
,
"MuonContainer"
,
31
"Muons"
,
"Muon container for AEOT decoration"
};
32
33
SG::ReadHandleKeyArray<xAOD::TrackParticleContainer>
m_TrackContainer
{
this
,
"TrackContainer"
,
34
{
"ExtrapolatedMuonTrackParticles"
,
35
"CombinedMuonTrackParticles"
,
36
"MSOnlyExtrapolatedMuonTrackParticles"
},
37
"List of track containers serving as primary tracks"
};
38
SG::ReadDecorHandleKeyArray<xAOD::TrackParticleContainer>
m_trkAlignReadKey
{
this
,
"ReadChambedIds"
, {},
39
"Use the alignEffectChId decoration as hook to schedule this alg correctly."
};
40
41
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_goodPrecLayerKey
{
this
,
"GoodPrecisionLayers"
,
m_MuonContainer
,
42
"numberOfGoodPrecisionLayers"
,
"numberOfGoodPrecisionLayers decoration"
};
43
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_isGoodSmallKey
{
this
,
"SmallGoodSectors"
,
m_MuonContainer
,
44
"isSmallGoodSectors"
,
"isSmallGoodSectors decoration"
};
45
SG::WriteDecorHandleKey<xAOD::MuonContainer>
m_isEndcapGoodLayersKey
{
this
,
"EndCapGoodLayers"
,
m_MuonContainer
,
46
"isEndcapGoodLayers"
,
"isEndcapGoodLayers decoration"
};
47
48
};
49
#endif
AthReentrantAlgorithm.h
MuonContainer.h
ReadDecorHandleKeyArray.h
ReadHandleKeyArray.h
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
MuonPrecisionLayerDecorAlg
Definition
MuonPrecisionLayerDecorAlg.h:21
MuonPrecisionLayerDecorAlg::m_MuonContainer
SG::ReadHandleKey< xAOD::MuonContainer > m_MuonContainer
Definition
MuonPrecisionLayerDecorAlg.h:30
MuonPrecisionLayerDecorAlg::m_trkAlignReadKey
SG::ReadDecorHandleKeyArray< xAOD::TrackParticleContainer > m_trkAlignReadKey
Definition
MuonPrecisionLayerDecorAlg.h:38
MuonPrecisionLayerDecorAlg::m_TrackContainer
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_TrackContainer
Definition
MuonPrecisionLayerDecorAlg.h:33
MuonPrecisionLayerDecorAlg::m_goodPrecLayerKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_goodPrecLayerKey
Definition
MuonPrecisionLayerDecorAlg.h:41
MuonPrecisionLayerDecorAlg::m_isEndcapGoodLayersKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_isEndcapGoodLayersKey
Definition
MuonPrecisionLayerDecorAlg.h:45
MuonPrecisionLayerDecorAlg::m_isGoodSmallKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_isGoodSmallKey
Definition
MuonPrecisionLayerDecorAlg.h:43
MuonPrecisionLayerDecorAlg::~MuonPrecisionLayerDecorAlg
~MuonPrecisionLayerDecorAlg()=default
MuonPrecisionLayerDecorAlg::initialize
virtual StatusCode initialize() override
Definition
MuonPrecisionLayerDecorAlg.cxx:18
MuonPrecisionLayerDecorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
MuonPrecisionLayerDecorAlg.cxx:33
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
SG::ReadDecorHandleKeyArray
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray
Definition
StoreGate/StoreGate/ReadDecorHandleKeyArray.h:35
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.h:32
Generated on
for ATLAS Offline Software by
1.17.0