 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef DERIVATIONFRAMEWORK_TRUTHCLASSIFICATIONDECORATOR_H
6 #define DERIVATIONFRAMEWORK_TRUTHCLASSIFICATIONDECORATOR_H
15 #include "GaudiKernel/ToolHandle.h"
24 using base_class::base_class;
33 {
this,
"ParticlesKey",
"TruthParticles",
"ReadHandleKey for input TruthParticleContainer"};
36 {
this,
"classifierParticleOrigin",
m_particlesKey,
"classifierParticleOrigin",
"Particle origin decoration"};
38 {
this,
"classifierParticleType",
m_particlesKey,
"classifierParticleType",
"Particle type decoration"};
40 {
this,
"classifierParticleOutCome",
m_particlesKey,
"classifierParticleOutCome",
"Particle outcome decoration"};
42 {
this,
"Classification",
m_particlesKey,
"Classification",
"Classification code decorator"};
43 PublicToolHandle<IMCTruthClassifier>
m_classifier{
this,
"MCTruthClassifier",
"MCTruthClassifier/MCTruthClassifier"};
47 #endif // DERIVATIONFRAMEWORK_TRUTHCLASSIFICATIONDECORATOR_H
Property holding a SG store/key/clid from which a ReadHandle is made.
PublicToolHandle< IMCTruthClassifier > m_classifier
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_classificationDecoratorKey
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_outcomeDecoratorKey
virtual StatusCode finalize() override final
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_originDecoratorKey
virtual StatusCode addBranches(const EventContext &ctx) const override final
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_particlesKey
virtual StatusCode initialize() override final
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_typeDecoratorKey
std::atomic< unsigned int > m_ntotpart