ATLAS Offline Software
MuonSpectrometer
MuonOverlay
MuonTruthOverlay
src
CscSimDataOverlay.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#ifndef MUONTRUTHOVERLAY_CSCSIMDATAOVERLAY_H
8
#define MUONTRUTHOVERLAY_CSCSIMDATAOVERLAY_H
9
10
#include <
AthenaBaseComps/AthReentrantAlgorithm.h
>
11
#include <
MuonSimData/CscSimDataCollection.h
>
12
13
class
CscSimDataOverlay
:
public
AthReentrantAlgorithm
14
{
15
public
:
16
CscSimDataOverlay
(
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<CscSimDataCollection>
m_bkgInputKey
{
this
,
"BkgInputKey"
,
""
,
"ReadHandleKey for Background Input CscSimDataCollection"
};
24
SG::ReadHandleKey<CscSimDataCollection>
m_signalInputKey
{
this
,
"SignalInputKey"
,
""
,
"ReadHandleKey for Signal Input CscSimDataCollection"
};
25
SG::WriteHandleKey<CscSimDataCollection>
m_outputKey
{
this
,
"OutputKey"
,
""
,
"WriteHandleKey for Output CscSimDataCollection"
};
26
27
};
28
29
#endif // MUONTRUTHOVERLAY_CSCSIMDATAOVERLAY_H
CscSimDataOverlay::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
CscSimDataOverlay.cxx:43
CscSimDataOverlay::CscSimDataOverlay
CscSimDataOverlay(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
CscSimDataOverlay.cxx:14
CscSimDataCollection.h
SG::ReadHandleKey< CscSimDataCollection >
CscSimDataOverlay::m_bkgInputKey
SG::ReadHandleKey< CscSimDataCollection > m_bkgInputKey
Definition:
CscSimDataOverlay.h:23
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
CscSimDataOverlay::m_outputKey
SG::WriteHandleKey< CscSimDataCollection > m_outputKey
Definition:
CscSimDataOverlay.h:25
SG::WriteHandleKey< CscSimDataCollection >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
CscSimDataOverlay::initialize
virtual StatusCode initialize() override
Definition:
CscSimDataOverlay.cxx:17
CscSimDataOverlay::m_signalInputKey
SG::ReadHandleKey< CscSimDataCollection > m_signalInputKey
Definition:
CscSimDataOverlay.h:24
CscSimDataOverlay
Definition:
CscSimDataOverlay.h:14
Generated on Thu Nov 7 2024 21:12:58 for ATLAS Offline Software by
1.8.18