6#ifndef TRIGINTERFACES_ENUMS_H
7#define TRIGINTERFACES_ENUMS_H
103 operator uint32_t()
const {
return code;}
The definition of error codes in HLT.
ErrorCode()
for algo developers
Action::Code action() const
bool operator>(const ErrorCode &ec) const
bool operator!=(const ErrorCode &ec) const
uint32_t code
storage of error code where 4 least significant bits(0-3) are storing Reason, 2 next (4-5) are for Ac...
SteeringInternalReason::Code steeringInternalReason() const
bool operator<(const ErrorCode &ec) const
Reason::Code reason() const
bool operator==(const ErrorCode &ec) const
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
static const ErrorCode OK(Action::CONTINUE)
static const ErrorCode STOP_EVENT_(Action::ABORT_EVENT)
static const ErrorCode UNKNOWN_EXCEPTION(Action::ABORT_CHAIN, Reason::UNKNOWN_EXCEPTION)
static const ErrorCode ERROR(Action::ABORT_CHAIN, Reason::UNKNOWN)
static const ErrorCode BAD_ALGO_CONFIG(Action::ABORT_JOB, Reason::BAD_JOB_SETUP)
static const ErrorCode NO_LVL1_RESULT(Action::ABORT_EVENT, SteeringInternalReason::NO_LVL1_RESULT)
static const ErrorCode BAD_JOB_SETUP(Action::ABORT_JOB, Reason::BAD_JOB_SETUP)
static const ErrorCode LAST_ERROR(Action::ABORT_JOB, Reason::LAST_, SteeringInternalReason::LAST_)
static const ErrorCode WRONG_HLT_RESULT(Action::ABORT_EVENT, SteeringInternalReason::WRONG_HLT_RESULT)
static const ErrorCode MISSING_FEATURE(Action::CONTINUE, Reason::MISSING_FEATURE)
static const ErrorCode GAUDI_EXCEPTION(Action::ABORT_CHAIN, Reason::GAUDI_EXCEPTION)
static const ErrorCode NO_LVL2_CHAINS(Action::ABORT_EVENT, SteeringInternalReason::NO_LVL2_CHAINS)
static const ErrorCode SG_ERROR(Action::ABORT_CHAIN, Reason::NAV_ERROR)
static const ErrorCode TOOL_FAILURE(Action::ABORT_CHAIN, Reason::UNKNOWN)
static const ErrorCode STOP_JOB_(Action::ABORT_JOB)
static const ErrorCode STOP_THIS_CHAIN_(Action::CONTINUE, Reason::MISSING_FEATURE)
std::string strErrorCode(const ErrorCode code)
static const ErrorCode INVALID_TE(Action::ABORT_CHAIN, Reason::UNKNOWN)
int getErrorCodePosFromStr(const std::string &ec)
const FeatureContainerInit< FEATURE, CONTAINER > RegisterFeatureContainerTypes< FEATURE, CONTAINER >::s
static const ErrorCode NUM_ERROR(Action::ABORT_CHAIN, Reason::UNKNOWN)
static const ErrorCode EFORMAT_EXCEPTION(Action::ABORT_CHAIN, Reason::EFORMAT_EXCEPTION)
static const ErrorCode FATAL(Action::ABORT_JOB, Reason::UNKNOWN)
void reportErrorCode(ErrorCode &e1, ErrorCode e2)
static const ErrorCode STD_EXCEPTION(Action::ABORT_CHAIN, Reason::STD_EXCEPTION)
static const ErrorCode NO_LVL1_ITEMS(Action::ABORT_EVENT, SteeringInternalReason::NO_LVL1_ITEMS)
static const ErrorCode NAV_ERROR(Action::ABORT_CHAIN, Reason::NAV_ERROR)
@ ABORT_JOB
if things go really wrong, i.e.
@ CONTINUE
if all is OK the processing should be continued
@ ABORT_CHAIN
if things went wrong but it is not severe, other unrelated chains will continue
@ ABORT_EVENT
if things went wrong severely, event corruption suspected
@ UNKNOWN_EXCEPTION
unknown exception thrown
@ USERDEF_1
this is custom user defined code: for clarity users should define consts i.e.
@ BAD_JOB_SETUP
the job is possibly badly configured (2 places where this can occur: configuration,...
@ LAST_
and can't be higher because of serialization in the chain
@ GAUDI_EXCEPTION
GAUDI exception was caught.
@ MISSING_ROD
while unpacking detector data ROD fragment is missing
@ MISSING_FEATURE
the feataure was expected but could not be found
@ NAV_ERROR
suspected Navigation error
@ TIMEOUT
the timeout occured
@ CORRUPTED_ROD
ROD with the detector data seems to be corrupted.
@ EFORMAT_EXCEPTION
eformat exception was caught
@ STD_EXCEPTION
std exeption was caught
@ BUSY
to flag that the event was busy
@ MISSING_CALO_ROI
one ore more missing CALO RoIs
@ NO_LVL2_CHAINS
in the LVL2 result unpacked at EF no active LVL2 chains are present, that means no seeding informatio...
@ NO_LVL1_ITEMS
in the LVL1 result delivered to LVL2 none of LVL1 items are present, that means no seeding informatio...
@ MISSING_OTHER_ROI
one ore more missing RoI except CALO/MUON (e.g.
@ WRONG_HLT_RESULT
error while unpacking HLT reult (happnes at EF when LVL2 result is unpacked)
@ ALGO_ERROR
algorithms returned errors
@ NO_LVL1_RESULT
LVL1 result is missing.
@ BAD_JOB_SETUP
job is badly configured
@ NO_HLT_RESULT
no HLT result is present (means that LVL2 result was not delivered to EF)
@ MISSING_MUON_ROI
one ore more missing MUON RoIs
@ LAST_
there is basically no restriction on size since these errors are not saved per chain so do not need t...
@ TIMEOUT
timeout forced by the steering