ATLAS Offline Software
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 
8 
13 
15 #include "xAODMuon/MuonContainer.h"
17 
18 namespace MuonR4{
20  public:
22  ~MeasurementMarkerAlg() = default;
23 
24  virtual StatusCode initialize() override final;
25  virtual StatusCode execute(const EventContext& ctx) const override final;
26  private:
28  SG::ReadHandleKey<xAOD::MuonSegmentContainer> m_segKey{this, "SegmentKey", "MuonSegments" };
37 
38  Gaudi::Property<std::string> m_segLink{this, "SegmentLinkKey", ""};
41 
42  };
43 }
44 
45 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonR4::MeasurementMarkerAlg::m_writeMarkKeys
SG::WriteDecorHandleKeyArray< xAOD::UncalibratedMeasurementContainer > m_writeMarkKeys
Key to the decoration.
Definition: MeasurementMarkerAlg.h:36
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
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
MuonR4::MeasurementMarkerAlg::m_segKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segKey
Key to the primary muon container to select the muon from
Definition: MeasurementMarkerAlg.h:28
MuonR4::MeasurementMarkerAlg
Definition: MeasurementMarkerAlg.h:19
MuonSegmentContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
MuonR4::MeasurementMarkerAlg::initialize
virtual StatusCode initialize() override final
Definition: MeasurementMarkerAlg.cxx:26
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
UncalibratedMeasurementContainer.h
MuonR4::MeasurementMarkerAlg::m_prdLinkKey
SG::ReadDecorHandleKey< xAOD::MuonSegmentContainer > m_prdLinkKey
Key to the prd association decoration.
Definition: MeasurementMarkerAlg.h:32
MuonR4::MeasurementMarkerAlg::m_segLink
Gaudi::Property< std::string > m_segLink
Definition: MeasurementMarkerAlg.h:38
MuonR4::MeasurementMarkerAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: MeasurementMarkerAlg.cxx:46
xAOD::MuonSegmentContainer
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".
Definition: MuonSegmentContainer.h:14
AthReentrantAlgorithm.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
MuonR4::MeasurementMarkerAlg::~MeasurementMarkerAlg
~MeasurementMarkerAlg()=default
MuonR4::MeasurementMarkerAlg::m_readMarkKey
SG::ReadDecorHandleKey< xAOD::MuonSegmentContainer > m_readMarkKey
Key to the decoration to fetch the marked muons.
Definition: MeasurementMarkerAlg.h:30
MuonContainer.h
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
WriteDecorHandleKeyArray.h
MuonR4::MeasurementMarkerAlg::m_writeSegLinkKeys
SG::WriteDecorHandleKeyArray< xAOD::UncalibratedMeasurementContainer > m_writeSegLinkKeys
Key to the decoration.
Definition: MeasurementMarkerAlg.h:40
MuonR4::MeasurementMarkerAlg::m_measKeys
SG::ReadHandleKeyArray< xAOD::UncalibratedMeasurementContainer > m_measKeys
Key to the segment container to fetch the marked segments.
Definition: MeasurementMarkerAlg.h:34
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85