ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTruthCnv
xAODTruthCnv
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).
6
#include "
AnaAlgorithm/AnaReentrantAlgorithm.h
"
7
#include "
AsgDataHandles/ReadHandleKey.h
"
8
9
// EDM include(s).
10
#include "
xAODTruth/TruthVertexContainer.h
"
11
12
namespace
xAODReader
{
13
19
class
TruthVertexPrinterAlg
final :
public
EL::AnaReentrantAlgorithm
{
20
21
public
:
23
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
24
26
virtual
StatusCode
initialize
()
override
;
28
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
29
30
private
:
32
SG::ReadHandleKey<xAOD::TruthVertexContainer>
m_key
{
33
this
,
"Container"
,
"TruthVertices"
,
"Truth vertex container"
};
34
35
};
// class TruthVertexPrinterAlg
36
37
}
// namespace xAODReader
38
39
#endif
// XAODTRUTHCNV_TRUTHVERTEXPRINTERALG_H
AnaReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TruthVertexContainer.h
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
xAODReader::TruthVertexPrinterAlg
Algorithm printing xAOD::TruthVertex in some simple way.
Definition
TruthVertexPrinterAlg.h:19
xAODReader::TruthVertexPrinterAlg::m_key
SG::ReadHandleKey< xAOD::TruthVertexContainer > m_key
The key of the truth vertex container to print.
Definition
TruthVertexPrinterAlg.h:32
xAODReader::TruthVertexPrinterAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition
TruthVertexPrinterAlg.cxx:28
xAODReader::TruthVertexPrinterAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition
TruthVertexPrinterAlg.cxx:19
xAODReader
Definition
EventDuplicateFinderAlg.cxx:12
Generated on
for ATLAS Offline Software by
1.17.0