ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
Tools
McEventCollectionFilter
src
TruthResetAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRUTHRESETALG_H
6
#define TRUTHRESETALG_H
7
8
// Base class include
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
11
// Athena includes
12
#include "
StoreGate/ReadHandleKey.h
"
13
#include "
StoreGate/WriteHandleKey.h
"
14
#include "
GeneratorObjects/McEventCollection.h
"
15
16
class
TruthResetAlg
:
public
AthReentrantAlgorithm
{
17
18
public
:
19
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
20
virtual
StatusCode
initialize
()
override
final
;
21
virtual
StatusCode
execute
(
const
EventContext& ctx)
const
override
final
;
22
23
private
:
24
25
SG::ReadHandleKey<McEventCollection>
m_inputMcEventCollection
{
this
,
"InputMcEventCollection"
,
"TruthEvent"
};
26
SG::WriteHandleKey<McEventCollection>
m_outputMcEventCollection
{
this
,
"OutputMcEventCollection"
,
"NewTruthEvent"
};
27
28
};
29
#endif
AthReentrantAlgorithm.h
McEventCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
TruthResetAlg
Definition
TruthResetAlg.h:16
TruthResetAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
TruthResetAlg.cxx:34
TruthResetAlg::initialize
virtual StatusCode initialize() override final
Definition
TruthResetAlg.cxx:24
TruthResetAlg::m_outputMcEventCollection
SG::WriteHandleKey< McEventCollection > m_outputMcEventCollection
Definition
TruthResetAlg.h:26
TruthResetAlg::m_inputMcEventCollection
SG::ReadHandleKey< McEventCollection > m_inputMcEventCollection
Definition
TruthResetAlg.h:25
Generated on
for ATLAS Offline Software by
1.17.0