ATLAS Offline Software
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 
14 #include "xAODMuon/MuonContainer.h"
15 
16 namespace MuonR4{
17  /*** @brief SegmentMakerAlg copies selection decorations from the muon
18  * onto the xAOD::MuonSegment objects */
20  public:
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
MuonR4::SegmentMarkerAlg::~SegmentMarkerAlg
~SegmentMarkerAlg()=default
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
MuonR4::SegmentMarkerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SegmentMarkerAlg.cxx:21
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
xAOD::MuonContainer
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
Definition: Event/xAOD/xAODMuon/xAODMuon/MuonContainer.h:14
MuonR4::SegmentMarkerAlg::m_writeMarkKey
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > m_writeMarkKey
Key to the decoration.
Definition: SegmentMarkerAlg.h:34
MuonR4::SegmentMarkerAlg::m_segKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segKey
Key to the segment container to fetch the marked segments.
Definition: SegmentMarkerAlg.h:32
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
MuonR4::SegmentMarkerAlg::initialize
virtual StatusCode initialize() override final
Definition: SegmentMarkerAlg.cxx:13
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
MuonSegmentContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
MuonR4::SegmentMarkerAlg::m_readMarkKey
SG::ReadDecorHandleKey< xAOD::MuonContainer > m_readMarkKey
Key to the decoration to fetch the marked muons.
Definition: SegmentMarkerAlg.h:30
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
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
AthReentrantAlgorithm.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
MuonContainer.h
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonR4::SegmentMarkerAlg
Definition: SegmentMarkerAlg.h:19
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85