ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
12{
13public:
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
20private:
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
An algorithm that can be simultaneously executed in multiple threads.
CopyPileupParticleTruthInfo(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_bkgInputKey
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_outputKey
virtual StatusCode initialize() override
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.