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:
27  RpcMeasViewAlg(const std::string& name, ISvcLocator* pSvcLocator);
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, "WireKey", "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
MuonR4::RpcMeasViewAlg::RpcMeasViewAlg
RpcMeasViewAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: RpcMeasViewAlg.cxx:13
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:23
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
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:38
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:16
RpcStrip2DContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonR4
The CsvMuonSimHitDumper reads a Simulation Hit container for muons and dumps information to csv files...
Definition: MuonSpacePoint.h:11
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