Skip to content
Snippets Groups Projects
Commit 4c432286 authored by Matthew Thomas Anthony's avatar Matthew Thomas Anthony :speech_balloon:
Browse files

add ATH_CHECK to status codes

parent a5d1a3de
No related branches found
No related tags found
7 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!39102Add extra eta FlowElement validation plot,!39082Dev/add calib hits flow elements
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment