20 declareInterface<DerivationFramework::IAugmentationTool>(
this);
30 return StatusCode::FAILURE;
48 return StatusCode::SUCCESS;
54 return StatusCode::SUCCESS;
60 const EventContext& ctx = Gaudi::Hive::currentContext();
66 truthPartContainerReadHandle.ptr();
71 ->processCalibHitsFromParticle()
74 return StatusCode::FAILURE;
86 truthClusterContainerEtotReadHandle.ptr();
88 truthClusterContainerEvisReadHandle.ptr();
90 truthClusterContainerEemReadHandle.ptr();
92 if (!truthClusterContainerEtot || !truthClusterContainerEvis ||
93 !truthClusterContainerEem) {
95 return StatusCode::FAILURE;
109 *truthClusterContainerEtot, 0);
111 *truthClusterContainerEvis, 0);
113 *truthClusterContainerEem, 0);
115 ATH_MSG_DEBUG(
"Decorating truth parts with truth cluster energy");
116 for (
const auto*
const truthPart : *truthPartContainer) {
117 if (!truthPart)
continue;
119 linkDecoratorClusterEtot(*truthPart) = truthClusterEtot;
120 linkDecoratorClusterEvis(*truthPart) = truthClusterEvis;
121 linkDecoratorClusterEem(*truthPart) = truthClusterEem;
123 return StatusCode::SUCCESS;