Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
11 #include "xAODTruth/TruthEvent.h"
14 
23 {
24 public:
26  xAODTruthParticleSlimmerPhoton(const std::string &name, ISvcLocator *svcLoc);
28  virtual StatusCode initialize();
30  virtual StatusCode execute();
31 
32 private:
34  {this, "xAODTruthEventContainerName", "TruthEvents"};
37  {this, "xAODTruthParticleContainerNamePhoton","TruthPhotons","Name of Truth Photons contatiner from the slimmer"};
38 }; // class xAODTruthParticleSlimmerPhoton
39 
40 #endif //GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERPHOTON_H
xAODTruthParticleSlimmerPhoton::m_xaodTruthParticleContainerNamePhoton
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_xaodTruthParticleContainerNamePhoton
The key for the output xAOD truth containers.
Definition: xAODTruthParticleSlimmerPhoton.h:37
xAODTruthParticleSlimmerPhoton::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: xAODTruthParticleSlimmerPhoton.cxx:26
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthAlgorithm.h
xAODTruthParticleSlimmerPhoton
Algorithm to skim the xAOD truth particle container for xAOD photons filter.
Definition: xAODTruthParticleSlimmerPhoton.h:23
SG::WriteHandleKey< xAOD::TruthParticleContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODTruthParticleSlimmerPhoton::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: xAODTruthParticleSlimmerPhoton.cxx:35
AthAlgTool.h
AthAlgorithm
Definition: AthAlgorithm.h:47
xAODTruthParticleSlimmerPhoton::m_xaodTruthEventContainerName
SG::ReadHandleKey< xAOD::TruthEventContainer > m_xaodTruthEventContainerName
Definition: xAODTruthParticleSlimmerPhoton.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
xAODTruthParticleSlimmerPhoton::xAODTruthParticleSlimmerPhoton
xAODTruthParticleSlimmerPhoton(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition: xAODTruthParticleSlimmerPhoton.cxx:21
TruthParticle.h
TruthEventContainer.h
TruthMetaDataContainer.h
TruthEvent.h