ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTruthParticleSlimmerGen.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_XAODTRUTHPARTICLESLIMMERPHOGEN_H
6#define GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERPHOGEN_H
7
14
21{
22public:
24 xAODTruthParticleSlimmerGen(const std::string &name, ISvcLocator *svcLoc);
26 virtual StatusCode initialize();
28 virtual StatusCode execute();
29
30private:
32 SG::WriteHandleKey<xAOD::TruthParticleContainer> m_xaodTruthParticleContainerNameGen{this, "xAODTruthParticleContainerNameGen", "TruthGen"};
33 SG::ReadHandleKey<xAOD::TruthEventContainer> m_xaodTruthEventContainerName{this, "xAODTruthEventContainerName", "TruthEvents"};
34
35 PublicToolHandle<IMCTruthClassifier> m_classif{this, "MCTruthClassifier", "MCTruthClassifier/DFCommonTruthClassifier"};
36}; // class xAODTruthParticleSlimmerGen
37
38#endif //GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERPHOGEN_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< xAOD::TruthEventContainer > m_xaodTruthEventContainerName
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_xaodTruthParticleContainerNameGen
The key for the output xAOD truth containers.
virtual StatusCode initialize()
Function initialising the algorithm.
xAODTruthParticleSlimmerGen(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
PublicToolHandle< IMCTruthClassifier > m_classif
virtual StatusCode execute()
Function executing the algorithm.