ATLAS Offline Software
RpcMeasViewAlg.h
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 */
5 #ifndef XAODMUONMEASVIEWALGS_RPCMEASVIEWALG_H
6 #define XAODMUONMEASVIEWALGS_RPCMEASVIEWALG_H
7 
9 
13 
16 
17 
24 namespace MuonR4 {
26  public:
28 
29  ~RpcMeasViewAlg() = default;
30 
31  StatusCode execute(const EventContext& ctx) const override;
32  StatusCode initialize() override;
33  private:
36  template <class ContainerType> StatusCode retrieveContainer(const EventContext& ctx,
38  const ContainerType* & contToPush) const;
39 
40 
41  SG::ReadHandleKey<xAOD::RpcStripContainer> m_readKey1D{this, "Strip1DKey", "xRpcStrips",
42  "Name of the xAOD::RpcStripContainer"};
43 
44  SG::ReadHandleKey<xAOD::RpcStrip2DContainer> m_readKeyBI{this, "Strip2DKey", "xRpcBILStrips",
45  "Name of the xAOD::RpcStrip2DContainer"};
46 
47  SG::WriteHandleKey<xAOD::RpcMeasurementContainer> m_writeKey{this, "WriteKey", "xRpcMeasurements"};
48  };
49 }
50 
51 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonR4::RpcMeasViewAlg::m_readKeyBI
SG::ReadHandleKey< xAOD::RpcStrip2DContainer > m_readKeyBI
Definition: RpcMeasViewAlg.h:44
SG::ReadHandleKey< ContainerType >
MuonR4::RpcMeasViewAlg::retrieveContainer
StatusCode retrieveContainer(const EventContext &ctx, const SG::ReadHandleKey< ContainerType > &key, const ContainerType *&contToPush) const
Helper method to fetch data from StoreGate.
Definition: RpcMeasViewAlg.cxx:21
RpcStripContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
RpcMeasurementContainer.h
MuonR4::RpcMeasViewAlg
Definition: RpcMeasViewAlg.h:25
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonR4::RpcMeasViewAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: RpcMeasViewAlg.cxx:36
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
MuonR4::RpcMeasViewAlg::initialize
StatusCode initialize() override
Definition: RpcMeasViewAlg.cxx:14
RpcStrip2DContainer.h
MuonR4
This header ties the generic definitions in this package.
Definition: HoughEventData.h:16
MuonR4::RpcMeasViewAlg::m_writeKey
SG::WriteHandleKey< xAOD::RpcMeasurementContainer > m_writeKey
Definition: RpcMeasViewAlg.h:47
MuonR4::RpcMeasViewAlg::m_readKey1D
SG::ReadHandleKey< xAOD::RpcStripContainer > m_readKey1D
Definition: RpcMeasViewAlg.h:41
MuonR4::RpcMeasViewAlg::~RpcMeasViewAlg
~RpcMeasViewAlg()=default
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37