ATLAS Offline Software
Loading...
Searching...
No Matches
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
8
12
15
16namespace MuonR4{
17 /*** @brief SegmentMakerAlg copies selection decorations from the muon
18 * onto the xAOD::MuonSegment objects */
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" };
35 };
36}
37
38#endif
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > m_writeMarkKey
Key to the decoration.
SG::ReadDecorHandleKey< xAOD::MuonContainer > m_readMarkKey
Key to the decoration to fetch the marked muons.
virtual StatusCode initialize() override final
SG::ReadHandleKey< xAOD::MuonContainer > m_muonKey
Key to the primary muon container to select the muon from.
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segKey
Key to the segment container to fetch the marked segments.
virtual StatusCode execute(const EventContext &ctx) const override final
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
This header ties the generic definitions in this package.
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define private