Skip to content
Snippets Groups Projects
Commit 6d0645dd authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'protect_larbytestream' into 'master'

Protect LArRawDataReadingAlg

See merge request atlas/athena!37489
parents f754aacc b09c1739
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