FairRoot/PandaRoot
|
#include <ErrCode.h>
Public Types | |
enum | Status { success =0, pocafailure =1, baddistance =2, inversionerror =4, badsetup =8, divergingconstraint =16, slowdivergingfit =32, fastdivergingfit =64 } |
Public Member Functions | |
ErrCode () | |
ErrCode (Status aflag) | |
virtual | ~ErrCode () |
const ErrCode & | operator|= (const ErrCode &rhs) |
bool | operator== (const ErrCode &rhs) const |
bool | operator== (const ErrCode::Status &rhs) const |
void | reset () |
bool | failure () const |
unsigned int | flag () const |
void | Print (std::ostream &os) |
Private Attributes | |
unsigned int | _flag |
Enumerator | |
---|---|
success | |
pocafailure | |
baddistance | |
inversionerror | |
badsetup | |
divergingconstraint | |
slowdivergingfit | |
fastdivergingfit |
Definition at line 20 of file ErrCode.h.
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 45 of file ErrCode.h.
References _flag, and success.
Referenced by DecayTreeFitter::DecayChain::filter(), and DecayTreeFitter::Constraint::filter().
|
inline |
|
inline |
|
inline |
void ErrCode::Print | ( | std::ostream & | os | ) |
Definition at line 34 of file ErrCode.cxx.
References _flag, baddistance, badsetup, divergingconstraint, fastdivergingfit, inversionerror, pocafailure, and slowdivergingfit.
Referenced by DecayTreeFitter::DecayChain::filter(), DecayTreeFitter::Constraint::filter(), and DecayTreeFitter::DecayChain::init().
|
inline |
|
private |
Definition at line 50 of file ErrCode.h.
Referenced by failure(), flag(), operator==(), operator|=(), Print(), and reset().