ATLAS Offline Software
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 
12 namespace 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
xAODReader::TruthVertexPrinterAlg
Algorithm printing xAOD::TruthVertex in some simple way.
Definition: TruthVertexPrinterAlg.h:19
TruthVertexContainer.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
xAODReader::TruthVertexPrinterAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition: TruthVertexPrinterAlg.cxx:19
xAODReader::TruthVertexPrinterAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition: TruthVertexPrinterAlg.cxx:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
columnar::final
CM final
Definition: ColumnAccessor.h:106
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaReentrantAlgorithm.cxx:29
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition: AnaReentrantAlgorithm.h:51
xAODReader::TruthVertexPrinterAlg::m_key
SG::ReadHandleKey< xAOD::TruthVertexContainer > m_key
The key of the truth vertex container to print.
Definition: TruthVertexPrinterAlg.h:32
AnaReentrantAlgorithm.h
xAODReader
Definition: BTaggingReader.cxx:21