ATLAS Offline Software
Loading...
Searching...
No Matches
TruthVertexPrinterAlg.h
Go to the documentation of this file.
1// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2#ifndef XAODTRUTHCNV_TRUTHVERTEXPRINTERALG_H
3#define XAODTRUTHCNV_TRUTHVERTEXPRINTERALG_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", "TruthVertices", "Truth vertex container"};
34
35}; // class TruthVertexPrinterAlg
36
37} // namespace xAODReader
38
39#endif // XAODTRUTHCNV_TRUTHVERTEXPRINTERALG_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::TruthVertex in some simple way.
SG::ReadHandleKey< xAOD::TruthVertexContainer > m_key
The key of the truth vertex container to print.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
virtual StatusCode initialize() override
Function initialising the algorithm.