ATLAS Offline Software
Loading...
Searching...
No Matches
TruthParticlePrinterAlg.h
Go to the documentation of this file.
1// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2#ifndef XAODTRUTHCNV_TRUTHPARTICLEPRINTERALG_H
3#define XAODTRUTHCNV_TRUTHPARTICLEPRINTERALG_H
4
5// Framework include(s).
8
9// EDM include(s).
11
12namespace xAODReader {
13
20
21 public:
24
26 virtual StatusCode initialize() override;
28 virtual StatusCode execute(const EventContext& ctx) const override;
29
30 private:
33 this, "Container", "TruthParticles", "Truth particle container"};
34
35}; // class TruthParticlePrinterAlg
36
37} // namespace xAODReader
38
39#endif // XAODTRUTHCNV_TRUTHPARTICLEPRINTERALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
the base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Property holding a SG store/key/clid from which a ReadHandle is made.
Algorithm printing xAOD::TruthParticle in some simple way.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_key
The key of the truth particle container to print.
virtual StatusCode initialize() override
Function initialising the algorithm.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.