ATLAS Offline Software
MuonSimDataOverlay.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef MUONTRUTHOVERLAY_MUONSIMDATAOVERLAY_H
8 #define MUONTRUTHOVERLAY_MUONSIMDATAOVERLAY_H
9 
12 
14 {
15 public:
16  MuonSimDataOverlay(const std::string &name, ISvcLocator *pSvcLocator);
17 
18  virtual StatusCode initialize() override;
19  virtual StatusCode execute(const EventContext& ctx) const override;
20 
21 private:
22 
23  SG::ReadHandleKey<MuonSimDataCollection> m_bkgInputKey{ this, "BkgInputKey", "", "ReadHandleKey for Background Input MuonSimDataCollection" };
24  SG::ReadHandleKey<MuonSimDataCollection> m_signalInputKey{ this, "SignalInputKey", "", "ReadHandleKey for Signal Input MuonSimDataCollection" };
25  SG::WriteHandleKey<MuonSimDataCollection> m_outputKey{ this, "OutputKey", "", "WriteHandleKey for Output MuonSimDataCollection" };
26 
27 };
28 
29 #endif // MUONTRUTHOVERLAY_MUONSIMDATAOVERLAY_H
SG::ReadHandleKey< MuonSimDataCollection >
MuonSimDataOverlay::m_outputKey
SG::WriteHandleKey< MuonSimDataCollection > m_outputKey
Definition: MuonSimDataOverlay.h:25
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
MuonSimDataOverlay
Definition: MuonSimDataOverlay.h:14
SG::WriteHandleKey< MuonSimDataCollection >
MuonSimDataOverlay::MuonSimDataOverlay
MuonSimDataOverlay(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonSimDataOverlay.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonSimDataOverlay::m_bkgInputKey
SG::ReadHandleKey< MuonSimDataCollection > m_bkgInputKey
Definition: MuonSimDataOverlay.h:23
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MuonSimDataOverlay::m_signalInputKey
SG::ReadHandleKey< MuonSimDataCollection > m_signalInputKey
Definition: MuonSimDataOverlay.h:24
MuonSimDataOverlay::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: MuonSimDataOverlay.cxx:43
MuonSimDataOverlay::initialize
virtual StatusCode initialize() override
Definition: MuonSimDataOverlay.cxx:17
MuonSimDataCollection.h