#include <TruthCaloShowerDecorator.h>
Definition at line 23 of file TruthCaloShowerDecorator.h.
◆ TruthCaloShowerDecorator()
DerivationFramework::TruthCaloShowerDecorator::TruthCaloShowerDecorator |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ addBranches()
StatusCode DerivationFramework::TruthCaloShowerDecorator::addBranches |
( |
| ) |
const |
|
virtual |
Definition at line 57 of file TruthCaloShowerDecorator.cxx.
59 const EventContext& ctx = Gaudi::Hive::currentContext();
65 truthPartContainerReadHandle.ptr();
70 ->processCalibHitsFromParticle()
73 return StatusCode::FAILURE;
85 truthClusterContainerEtotReadHandle.ptr();
87 truthClusterContainerEvisReadHandle.ptr();
89 truthClusterContainerEemReadHandle.ptr();
91 if (!truthClusterContainerEtot || !truthClusterContainerEvis ||
92 !truthClusterContainerEem) {
94 return StatusCode::FAILURE;
108 *truthClusterContainerEtot, 0);
110 *truthClusterContainerEvis, 0);
112 *truthClusterContainerEem, 0);
114 ATH_MSG_DEBUG(
"Decorating truth parts with truth cluster energy");
115 for (
const auto*
const truthPart : *truthPartContainer) {
116 if (!truthPart)
continue;
118 linkDecoratorClusterEtot(*truthPart) = truthClusterEtot;
119 linkDecoratorClusterEvis(*truthPart) = truthClusterEvis;
120 linkDecoratorClusterEem(*truthPart) = truthClusterEem;
122 return StatusCode::SUCCESS;
◆ finalize()
StatusCode DerivationFramework::TruthCaloShowerDecorator::finalize |
( |
| ) |
|
◆ initialize()
StatusCode DerivationFramework::TruthCaloShowerDecorator::initialize |
( |
| ) |
|
◆ m_calibhitToCaloCellTool
Initial value:{
this,
"CalibHitToCaloCellTool",
"",
"Handle to the Calib Hit to Calo cell Tool"
}
Definition at line 62 of file TruthCaloShowerDecorator.h.
◆ m_linkDecoratorClusterEem
◆ m_linkDecoratorClusterEtot
◆ m_linkDecoratorClusterEvis
◆ m_truthClusterContainerEem
◆ m_truthClusterContainerEtot
◆ m_truthClusterContainerEvis
◆ m_truthParticleContainerName
Initial value:{
this,
"TruthParticleContainerName",
"egammaTruthParticles",
"SG key of the truth particle container"
}
SG key of the truth particle container.
Definition at line 36 of file TruthCaloShowerDecorator.h.
The documentation for this class was generated from the following files: