ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
GeneratorFilters
GeneratorFilters
xAODTruthParticleSlimmerPhoton.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 GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERPHOTON_H
6
#define GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERPHOTON_H
7
8
#include "
AthenaBaseComps/AthAlgorithm.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
xAODTruth/TruthParticle.h
"
11
#include "
xAODTruth/TruthEvent.h
"
12
#include "
xAODTruth/TruthEventContainer.h
"
13
#include "
xAODTruth/TruthMetaDataContainer.h
"
14
22
class
xAODTruthParticleSlimmerPhoton
:
public
AthAlgorithm
23
{
24
public
:
26
xAODTruthParticleSlimmerPhoton
(
const
std::string &name, ISvcLocator *svcLoc);
28
virtual
StatusCode
initialize
();
30
virtual
StatusCode
execute
(
const
EventContext& ctx);
31
32
private
:
33
SG::ReadHandleKey<xAOD::TruthEventContainer>
m_xaodTruthEventContainerName
34
{
this
,
"xAODTruthEventContainerName"
,
"TruthEvents"
};
35
36
SG::WriteHandleKey<xAOD::TruthParticleContainer>
m_xaodTruthParticleContainerNamePhoton
37
{
this
,
"xAODTruthParticleContainerNamePhoton"
,
"TruthPhotons"
,
"Name of Truth Photons contatiner from the slimmer"
};
38
};
// class xAODTruthParticleSlimmerPhoton
39
40
#endif
//GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERPHOTON_H
AthAlgTool.h
AthAlgorithm.h
TruthParticle.h
TruthEventContainer.h
TruthEvent.h
TruthMetaDataContainer.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
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
xAODTruthParticleSlimmerPhoton::m_xaodTruthParticleContainerNamePhoton
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_xaodTruthParticleContainerNamePhoton
The key for the output xAOD truth containers.
Definition
xAODTruthParticleSlimmerPhoton.h:37
xAODTruthParticleSlimmerPhoton::execute
virtual StatusCode execute(const EventContext &ctx)
Function executing the algorithm.
Definition
xAODTruthParticleSlimmerPhoton.cxx:35
xAODTruthParticleSlimmerPhoton::xAODTruthParticleSlimmerPhoton
xAODTruthParticleSlimmerPhoton(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition
xAODTruthParticleSlimmerPhoton.cxx:21
xAODTruthParticleSlimmerPhoton::m_xaodTruthEventContainerName
SG::ReadHandleKey< xAOD::TruthEventContainer > m_xaodTruthEventContainerName
Definition
xAODTruthParticleSlimmerPhoton.h:34
xAODTruthParticleSlimmerPhoton::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition
xAODTruthParticleSlimmerPhoton.cxx:26
Generated on
for ATLAS Offline Software by
1.17.0