ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
GeneratorFilters
GeneratorFilters
xAODTruthParticleSlimmerMET.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_XAODTRUTHPARTICLESLIMMERPHOMET_H
6
#define GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERPHOMET_H
7
8
#include "
AthenaBaseComps/AthAlgorithm.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
xAODTruth/TruthEvent.h
"
11
#include "
xAODTruth/TruthEventContainer.h
"
12
#include "
xAODTruth/TruthMetaDataContainer.h
"
13
#include "
MCTruthClassifier/IMCTruthClassifier.h
"
14
22
class
xAODTruthParticleSlimmerMET
:
public
AthAlgorithm
23
{
24
public
:
26
xAODTruthParticleSlimmerMET
(
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_xaodTruthParticleContainerNameMET
37
{
this
,
"xAODTruthParticleContainerNameMET"
,
"TruthMET"
};
38
39
PublicToolHandle<IMCTruthClassifier>
m_classif
{
this
,
"MCTruthClassifier"
,
"MCTruthClassifier/DFCommonTruthClassifier"
};
40
};
// class xAODTruthParticleSlimmerMET
41
42
#endif
//GENERATORFILTERS_XAODTRUTHPARTICLESLIMMERPHOMET_H
AthAlgTool.h
AthAlgorithm.h
IMCTruthClassifier.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
xAODTruthParticleSlimmerMET::m_xaodTruthParticleContainerNameMET
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_xaodTruthParticleContainerNameMET
The key for the output xAOD truth containers.
Definition
xAODTruthParticleSlimmerMET.h:37
xAODTruthParticleSlimmerMET::execute
virtual StatusCode execute(const EventContext &ctx)
Function executing the algorithm.
Definition
xAODTruthParticleSlimmerMET.cxx:40
xAODTruthParticleSlimmerMET::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition
xAODTruthParticleSlimmerMET.cxx:30
xAODTruthParticleSlimmerMET::m_classif
PublicToolHandle< IMCTruthClassifier > m_classif
Definition
xAODTruthParticleSlimmerMET.h:39
xAODTruthParticleSlimmerMET::m_xaodTruthEventContainerName
SG::ReadHandleKey< xAOD::TruthEventContainer > m_xaodTruthEventContainerName
Definition
xAODTruthParticleSlimmerMET.h:34
xAODTruthParticleSlimmerMET::xAODTruthParticleSlimmerMET
xAODTruthParticleSlimmerMET(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition
xAODTruthParticleSlimmerMET.cxx:25
Generated on
for ATLAS Offline Software by
1.17.0