ATLAS Offline Software
Simulation
Overlay
OverlayCopyAlgs
src
CopyPRD_MultiTruthCollection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef OVERLAYCOPYALGS_COPYPRDMULTITRUTHCOLLECTION_H
6
#define OVERLAYCOPYALGS_COPYPRDMULTITRUTHCOLLECTION_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
TrkTruthData/PRD_MultiTruthCollection.h
"
10
11
class
CopyPRD_MultiTruthCollection
:
public
AthReentrantAlgorithm
12
{
13
public
:
14
15
CopyPRD_MultiTruthCollection
(
const
std::string &
name
, ISvcLocator *pSvcLocator);
16
17
virtual
StatusCode
initialize
()
override
;
18
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
19
20
private
:
21
SG::ReadHandleKey<PRD_MultiTruthCollection>
m_inputKey
{
this
,
"InputKey"
,
""
,
"ReadHandleKey for Pileup PRD_MultiTruthCollection"
};
22
SG::WriteHandleKey<PRD_MultiTruthCollection>
m_outputKey
{
this
,
"OutputKey"
,
""
,
"WriteHandleKey for Output PRD_MultiTruthCollection"
};
23
24
};
25
26
#endif // OVERLAYCOPYALGS_COPYPRDMULTITRUTHCOLLECTION_H
CopyPRD_MultiTruthCollection
Definition:
CopyPRD_MultiTruthCollection.h:12
CopyPRD_MultiTruthCollection::CopyPRD_MultiTruthCollection
CopyPRD_MultiTruthCollection(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
CopyPRD_MultiTruthCollection.cxx:8
SG::ReadHandleKey< PRD_MultiTruthCollection >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
SG::WriteHandleKey< PRD_MultiTruthCollection >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CopyPRD_MultiTruthCollection::m_inputKey
SG::ReadHandleKey< PRD_MultiTruthCollection > m_inputKey
Definition:
CopyPRD_MultiTruthCollection.h:21
CopyPRD_MultiTruthCollection::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
CopyPRD_MultiTruthCollection.cxx:24
AthReentrantAlgorithm.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
CopyPRD_MultiTruthCollection::m_outputKey
SG::WriteHandleKey< PRD_MultiTruthCollection > m_outputKey
Definition:
CopyPRD_MultiTruthCollection.h:22
PRD_MultiTruthCollection.h
CopyPRD_MultiTruthCollection::initialize
virtual StatusCode initialize() override
Definition:
CopyPRD_MultiTruthCollection.cxx:11
Generated on Sun Dec 22 2024 21:08:37 for ATLAS Offline Software by
1.8.18