diff --git a/Reconstruction/PFlow/PFlowUtils/src/PFlowCalibPFODecoratorAlgorithm.cxx b/Reconstruction/PFlow/PFlowUtils/src/PFlowCalibPFODecoratorAlgorithm.cxx index 2d56bb9dea73eeb4bfd3aebbeb393c24f167797f..7f09d44dc0b2a3a3c50280713d80640f17010ae7 100644 --- a/Reconstruction/PFlow/PFlowUtils/src/PFlowCalibPFODecoratorAlgorithm.cxx +++ b/Reconstruction/PFlow/PFlowUtils/src/PFlowCalibPFODecoratorAlgorithm.cxx @@ -80,18 +80,18 @@ StatusCode PFlowCalibPFODecoratorAlgorithm::execute(const EventContext& ctx) con // pfo linker alg SG::WriteDecorHandle<xAOD::PFOContainer, std::vector< std::pair<unsigned int, double> > > pfoWriteDecorHandleNLeadingTruthParticles(m_pfoWriteDecorHandleKeyNLeadingTruthParticles, ctx); - StatusCode sc=this->LinkCalibHitPFO( + ATH_CHECK(this->LinkCalibHitPFO( pfoWriteDecorHandleNLeadingTruthParticles, mapIdentifierToCalibHitsReadHandle, - mapTruthBarcodeToTruthParticleReadHandle); // end of check block + mapTruthBarcodeToTruthParticleReadHandle)); // end of check block bool doFlowElements=true; if(doFlowElements){ SG::WriteDecorHandle<xAOD::FlowElementContainer,std::vector<std::pair<unsigned int, double> > > feWriteDecorHandleNLeadingTruthParticles(m_feWriteDecorHandleKeyNLeadingTruthParticles,ctx); - StatusCode sc=this->LinkCalibHitPFO( + ATH_CHECK(this->LinkCalibHitPFO( feWriteDecorHandleNLeadingTruthParticles, mapIdentifierToCalibHitsReadHandle, - mapTruthBarcodeToTruthParticleReadHandle); // end of check block + mapTruthBarcodeToTruthParticleReadHandle)); // end of check block } return StatusCode::SUCCESS;