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{
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" };
41 
42  Gaudi::Property<std::string> m_segLink{this, "SegmentLinkKey", ""};
45 
46  };
47 }
48 
49 #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:40
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:32
MuonR4::MeasurementMarkerAlg
Algorithm that marks the uncalibrated measurements making up a segment, where the segment passes an a...
Definition: MeasurementMarkerAlg.h:23
MuonSegmentContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
MuonR4::MeasurementMarkerAlg::initialize
virtual StatusCode initialize() override final
Definition: MeasurementMarkerAlg.cxx:26
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:36
MuonR4::MeasurementMarkerAlg::m_segLink
Gaudi::Property< std::string > m_segLink
Definition: MeasurementMarkerAlg.h:42
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
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:34
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:44
MuonR4::MeasurementMarkerAlg::m_measKeys
SG::ReadHandleKeyArray< xAOD::UncalibratedMeasurementContainer > m_measKeys
Key to the segment container to fetch the marked segments.
Definition: MeasurementMarkerAlg.h:38
private
#define private
Definition: xAODTruthCnvAlg.h:20
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85