Skip to content
Snippets Groups Projects
Commit b09c1739 authored by Pavol Strizenec's avatar Pavol Strizenec
Browse files

protect LArRawDataReadingAlg

parent f754aacc
No related branches found
No related tags found
No related merge requests found
...@@ -119,8 +119,14 @@ StatusCode LArRawDataReadingAlg::execute(const EventContext& ctx) const { ...@@ -119,8 +119,14 @@ StatusCode LArRawDataReadingAlg::execute(const EventContext& ctx) const {
}// end switch(rodMinorVersion) }// end switch(rodMinorVersion)
}//end of rodBlockType==4 }//end of rodBlockType==4
else { else {
ATH_MSG_ERROR("Found unsupported Rod block type " << rodBlockType); if(rob.rod_source_id()& 0x1000 ){
return m_failOnCorruption ? StatusCode::FAILURE : StatusCode::SUCCESS; ATH_MSG_DEBUG(" skip Latome fragment with source ID "<< std::hex << rob.rod_source_id());
rodBlock=nullptr;
continue;
} else {
ATH_MSG_ERROR("Found unsupported Rod block type " << rodBlockType);
return m_failOnCorruption ? StatusCode::FAILURE : StatusCode::SUCCESS;
}
} }
}//End if need to re-init RodBlock }//End if need to re-init RodBlock
......
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