|
ATLAS Offline Software
|
Go to the documentation of this file.
23 return StatusCode::SUCCESS;
30 long unsigned int nLVL1IDErrors{
m_bsErrTool->getErrorSet(SCT_ByteStreamErrors::LVL1IDError, ctx).size()};
31 long unsigned int nROBFragmentErrors{
m_bsErrTool->getErrorSet(SCT_ByteStreamErrors::ROBFragmentError, ctx).size()};
33 if ((nLVL1IDErrors > 500) or (nROBFragmentErrors > 1000)) {
34 bool setOK_xAOD{
false};
36 if (xAODEvtInfo.isValid()) {
40 ATH_MSG_ERROR(
"Failed to retrieve EventInfo containers or to update error state");
41 return StatusCode::RECOVERABLE;
45 return StatusCode::SUCCESS;
SCTEventFlagWriter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
@ Error
The sub-detector issued an error.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
Initialize.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
ToolHandle< ISCT_ByteStreamErrorsTool > m_bsErrTool
Tool that keeps track of modules that give rise to errors in the bytestream.
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
SG::ReadHandleKey< xAOD::EventInfo > m_xAODEvtInfoKey
Read handle for the xAOD event info.