ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonValidation
MuonObjectMarker
src
MeasurementMarkerAlg.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_MEASUREMENTMARKERALG_H
5
#define MUONOBJECTMARKER_MEASUREMENTMARKERALG_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/ReadDecorHandleKey.h
"
11
#include "
StoreGate/WriteDecorHandleKey.h
"
12
#include "
StoreGate/WriteDecorHandleKeyArray.h
"
13
14
#include "
xAODMuon/MuonSegmentContainer.h
"
15
#include "
xAODMuon/MuonContainer.h
"
16
#include "
xAODMeasurementBase/UncalibratedMeasurementContainer.h
"
17
18
namespace
MuonR4
{
23
class
MeasurementMarkerAlg
:
public
AthReentrantAlgorithm
{
24
public
:
25
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
26
~MeasurementMarkerAlg
() =
default
;
27
28
virtual
StatusCode
initialize
() override final;
29
virtual StatusCode
execute
(
const
EventContext& ctx)
const
override final;
30
private
:
32
SG
::ReadHandleKey<
xAOD
::MuonSegmentContainer>
m_segKey
{
this
,
"SegmentKey"
,
"MuonSegments"
};
34
SG::ReadDecorHandleKey<xAOD::MuonSegmentContainer>
m_readMarkKey
{
this
,
"SelectSegments"
,
m_segKey
,
""
};
36
SG::ReadDecorHandleKey<xAOD::MuonSegmentContainer>
m_prdLinkKey
{
this
,
"PrdAssocKey"
,
m_segKey
,
"prdLinks"
};
38
SG::ReadHandleKeyArray<xAOD::UncalibratedMeasurementContainer>
m_measKeys
{
this
,
"PrdContainer"
,{}};
40
SG::WriteDecorHandleKeyArray<xAOD::UncalibratedMeasurementContainer>
m_writeMarkKeys
{
this
,
"OutMarkerKeys"
, {}};
41
42
Gaudi::Property<std::string>
m_segLink
{
this
,
"SegmentLinkKey"
,
""
};
44
SG::WriteDecorHandleKeyArray<xAOD::UncalibratedMeasurementContainer>
m_writeSegLinkKeys
{
this
,
"SegLinkKeys"
, {}};
45
46
};
47
}
48
49
#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.
WriteDecorHandleKeyArray.h
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
UncalibratedMeasurementContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MuonR4::MeasurementMarkerAlg
Algorithm that marks the uncalibrated measurements making up a segment, where the segment passes an a...
Definition
MeasurementMarkerAlg.h:23
MuonR4::MeasurementMarkerAlg::m_measKeys
SG::ReadHandleKeyArray< xAOD::UncalibratedMeasurementContainer > m_measKeys
Key to the segment container to fetch the marked segments.
Definition
MeasurementMarkerAlg.h:38
MuonR4::MeasurementMarkerAlg::m_writeMarkKeys
SG::WriteDecorHandleKeyArray< xAOD::UncalibratedMeasurementContainer > m_writeMarkKeys
Key to the decoration.
Definition
MeasurementMarkerAlg.h:40
MuonR4::MeasurementMarkerAlg::m_segLink
Gaudi::Property< std::string > m_segLink
Definition
MeasurementMarkerAlg.h:42
MuonR4::MeasurementMarkerAlg::~MeasurementMarkerAlg
~MeasurementMarkerAlg()=default
MuonR4::MeasurementMarkerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
MeasurementMarkerAlg.cxx:45
MuonR4::MeasurementMarkerAlg::initialize
virtual StatusCode initialize() override final
Definition
MeasurementMarkerAlg.cxx:25
MuonR4::MeasurementMarkerAlg::m_writeSegLinkKeys
SG::WriteDecorHandleKeyArray< xAOD::UncalibratedMeasurementContainer > m_writeSegLinkKeys
Key to the decoration.
Definition
MeasurementMarkerAlg.h:44
MuonR4::MeasurementMarkerAlg::m_readMarkKey
SG::ReadDecorHandleKey< xAOD::MuonSegmentContainer > m_readMarkKey
Key to the decoration to fetch the marked muons.
Definition
MeasurementMarkerAlg.h:34
MuonR4::MeasurementMarkerAlg::m_segKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segKey
Key to the primary muon container to select the muon from.
Definition
MeasurementMarkerAlg.h:32
MuonR4::MeasurementMarkerAlg::m_prdLinkKey
SG::ReadDecorHandleKey< xAOD::MuonSegmentContainer > m_prdLinkKey
Key to the prd association decoration.
Definition
MeasurementMarkerAlg.h:36
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
const
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
SG::WriteDecorHandleKeyArray
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray
Definition
StoreGate/StoreGate/WriteDecorHandleKeyArray.h:35
SG::ReadHandleKeyArray
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Definition
StoreGate/StoreGate/ReadHandleKeyArray.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