The Gaudi Framework  master (37c0b60a)
EventStatus Namespace Reference

Enumerations

enum  Status {
  Invalid = 0, Success = 1, AlgFail = 2, AlgStall = 3,
  Other = 4
}
 

Functions

std::ostreamoperator<< (std::ostream &os, Status s)
 

Enumeration Type Documentation

◆ Status

Enumerator
Invalid 
Success 
AlgFail 
AlgStall 
Other 

Definition at line 72 of file IAlgExecStateSvc.h.

72 { Invalid = 0, Success = 1, AlgFail = 2, AlgStall = 3, Other = 4 };

Function Documentation

◆ operator<<()

std::ostream& EventStatus::operator<< ( std::ostream os,
Status  s 
)
inline

Definition at line 73 of file IAlgExecStateSvc.h.

73  {
74  static constexpr std::array<const char*, 5> label{ "Invalid", "Success", "AlgFail", "AlgStall", "Other" };
75  return os << label.at( s );
76  }
gaudirun.s
string s
Definition: gaudirun.py:346
EventStatus::Other
@ Other
Definition: IAlgExecStateSvc.h:72
EventStatus::Success
@ Success
Definition: IAlgExecStateSvc.h:72
EventStatus::Invalid
@ Invalid
Definition: IAlgExecStateSvc.h:72
EventStatus::AlgStall
@ AlgStall
Definition: IAlgExecStateSvc.h:72
std::array
STL class.
EventStatus::AlgFail
@ AlgFail
Definition: IAlgExecStateSvc.h:72