ATLAS Offline Software
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 {
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
CopyPileupParticleTruthInfo::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: CopyPileupParticleTruthInfo.cxx:26
CopyPileupParticleTruthInfo::m_outputKey
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_outputKey
Definition: CopyPileupParticleTruthInfo.h:22
TruthParticleContainer.h
CopyPileupParticleTruthInfo::initialize
virtual StatusCode initialize() override
Definition: CopyPileupParticleTruthInfo.cxx:13
SG::ReadHandleKey< xAOD::TruthParticleContainer >
CopyPileupParticleTruthInfo::m_bkgInputKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_bkgInputKey
Definition: CopyPileupParticleTruthInfo.h:21
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
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:195
CopyPileupParticleTruthInfo
Definition: CopyPileupParticleTruthInfo.h:12
CopyPileupParticleTruthInfo::CopyPileupParticleTruthInfo
CopyPileupParticleTruthInfo(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CopyPileupParticleTruthInfo.cxx:10