ATLAS Offline Software
MuonCalibStreamTestAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONCALIBSTREAMTESTALG_H
5 #define MUONCALIBSTREAMTESTALG_H
6 
15 
16 // Test Algorithm to dumps EventInfo, MdtPrepDataContainers, RpcPrepDataContainer, TgcPrepDataContainer
17 
19 
20  public:
22  MuonCalibStreamTestAlg(const std::string &name, ISvcLocator *pSvcLocator);
23 
25  virtual StatusCode initialize() override;
26 
28  virtual StatusCode execute(const EventContext &ctx) const override;
29 
30  virtual StatusCode finalize() override;
31 
34 
35  private:
36 
37  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey {this, "MuonCalibStreamEventInfo", "EventInfo"};
38  SG::ReadHandleKey<Muon::MdtPrepDataContainer> m_MdtPrepDataKey {this, "MdtPrepData", "MDT_DriftCircles"};
39  SG::ReadHandleKey<Muon::RpcPrepDataContainer> m_RpcPrepDataKey {this, "RpcPrepData", "RPC_Measurements"};
40  SG::ReadHandleKey<Muon::TgcPrepDataContainer> m_TgcPrepDataKey {this, "TgcPrepData", "TGC_Measurements"};
41 };
42 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonCalibStreamTestAlg::finalize
virtual StatusCode finalize() override
Definition: MuonCalibStreamTestAlg.cxx:105
MuonCalibStreamTestAlg
Definition: MuonCalibStreamTestAlg.h:18
MuonCalibStreamTestAlg::~MuonCalibStreamTestAlg
~MuonCalibStreamTestAlg()=default
Destructur.
MuonPrepDataContainer.h
SG::ReadHandleKey< xAOD::EventInfo >
MuonCalibStreamTestAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: MuonCalibStreamTestAlg.h:37
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MdtIdHelper.h
MuonCalibStreamTestAlg::MuonCalibStreamTestAlg
MuonCalibStreamTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: MuonCalibStreamTestAlg.cxx:13
MuonCalibStreamTestAlg::initialize
virtual StatusCode initialize() override
Initialize.
Definition: MuonCalibStreamTestAlg.cxx:16
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonCalibStreamTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition: MuonCalibStreamTestAlg.cxx:29
EventInfo.h
MuonCalibStreamTestAlg::m_MdtPrepDataKey
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_MdtPrepDataKey
Definition: MuonCalibStreamTestAlg.h:38
MuonCalibStreamTestAlg::m_TgcPrepDataKey
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_TgcPrepDataKey
Definition: MuonCalibStreamTestAlg.h:40
AthMessaging.h
RpcPadContainer.h
MuonCalibStreamTestAlg::m_RpcPrepDataKey
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_RpcPrepDataKey
Definition: MuonCalibStreamTestAlg.h:39