ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
Overlay
OverlayCopyAlgs
src
CopyPileupParticleTruthInfo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef OVERLAYCOPYALGS_COPYPILEUPPARTICLETRUTHINFO_H
6
#define OVERLAYCOPYALGS_COPYPILEUPPARTICLETRUTHINFO_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
xAODTruth/TruthParticleContainer.h
"
10
11
class
CopyPileupParticleTruthInfo
:
public
AthReentrantAlgorithm
12
{
13
public
:
14
15
CopyPileupParticleTruthInfo
(
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<xAOD::TruthParticleContainer>
m_bkgInputKey
{
this
,
"BkgInputKey"
,
""
,
"ReadHandleKey for Background Truth Particle Containers"
};
22
SG::WriteHandleKey<xAOD::TruthParticleContainer>
m_outputKey
{
this
,
"OutputKey"
,
""
,
"WriteHandleKey for Output Truth Particle Containers"
};
23
24
};
25
26
#endif
// OVERLAYCOPYALGS_COPYPILEUPPARTICLETRUTHINFO_H
AthReentrantAlgorithm.h
TruthParticleContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CopyPileupParticleTruthInfo::CopyPileupParticleTruthInfo
CopyPileupParticleTruthInfo(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CopyPileupParticleTruthInfo.cxx:10
CopyPileupParticleTruthInfo::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
CopyPileupParticleTruthInfo.cxx:26
CopyPileupParticleTruthInfo::m_bkgInputKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_bkgInputKey
Definition
CopyPileupParticleTruthInfo.h:21
CopyPileupParticleTruthInfo::m_outputKey
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_outputKey
Definition
CopyPileupParticleTruthInfo.h:22
CopyPileupParticleTruthInfo::initialize
virtual StatusCode initialize() override
Definition
CopyPileupParticleTruthInfo.cxx:13
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0