ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonValidation
MuonObjectMarker
src
SegmentMarkerAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONOBJECTMARKER_SEGMENTMARKERALG_H
5
#define MUONOBJECTMARKER_SEGMENTMARKERALG_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/ReadDecorHandleKey.h
"
11
#include "
StoreGate/WriteDecorHandleKey.h
"
12
13
#include "
xAODMuon/MuonSegmentContainer.h
"
14
#include "
xAODMuon/MuonContainer.h
"
15
16
namespace
MuonR4
{
17
/*** @brief SegmentMakerAlg copies selection decorations from the muon
18
* onto the xAOD::MuonSegment objects */
19
class
SegmentMarkerAlg
:
public
AthReentrantAlgorithm
{
20
public
:
21
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
22
~SegmentMarkerAlg
() =
default
;
23
24
virtual
StatusCode
initialize
() override final;
25
virtual StatusCode
execute
(
const
EventContext& ctx)
const
override final;
26
private
:
28
SG
::ReadHandleKey<
xAOD
::
MuonContainer
>
m_muonKey
{
this
,
"MuonKey"
,
"Muons"
};
30
SG::ReadDecorHandleKey<xAOD::MuonContainer>
m_readMarkKey
{
this
,
"SelectMuons"
,
m_muonKey
,
""
};
32
SG::ReadHandleKey<xAOD::MuonSegmentContainer>
m_segKey
{
this
,
"SegmentKey"
,
"Segments"
};
34
SG::WriteDecorHandleKey<xAOD::MuonSegmentContainer>
m_writeMarkKey
{
this
,
"OutMarkerKey"
,
m_segKey
,
""
};
35
};
36
}
37
38
#endif
AthReentrantAlgorithm.h
MuonContainer.h
MuonSegmentContainer.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
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.
MuonContainer
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
Definition
Event/xAOD/xAODMuon/xAODMuon/MuonContainer.h:14
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonR4::SegmentMarkerAlg
Definition
SegmentMarkerAlg.h:19
MuonR4::SegmentMarkerAlg::m_writeMarkKey
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > m_writeMarkKey
Key to the decoration.
Definition
SegmentMarkerAlg.h:34
MuonR4::SegmentMarkerAlg::m_readMarkKey
SG::ReadDecorHandleKey< xAOD::MuonContainer > m_readMarkKey
Key to the decoration to fetch the marked muons.
Definition
SegmentMarkerAlg.h:30
MuonR4::SegmentMarkerAlg::~SegmentMarkerAlg
~SegmentMarkerAlg()=default
MuonR4::SegmentMarkerAlg::initialize
virtual StatusCode initialize() override final
Definition
SegmentMarkerAlg.cxx:12
MuonR4::SegmentMarkerAlg::m_muonKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonKey
Key to the primary muon container to select the muon from.
Definition
SegmentMarkerAlg.h:28
MuonR4::SegmentMarkerAlg::m_segKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segKey
Key to the segment container to fetch the marked segments.
Definition
SegmentMarkerAlg.h:32
MuonR4::SegmentMarkerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
SegmentMarkerAlg.cxx:20
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
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
const
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0