BOSS 7.0.6
BESIII Offline Software System
|
#include <TrkErrCode.h>
Public Types | |
enum | TrkSuccess { fail , succeed } |
Public Member Functions | |
TrkErrCode (TrkSuccess=succeed, int code=1, const char *str=0) | |
~TrkErrCode () | |
TrkErrCode (const TrkErrCode &) | |
TrkErrCode & | operator= (const TrkErrCode &) |
int | failure () const |
int | success () const |
const std::string & | message () const |
void | print (std::ostream &ostr) const |
void | setMessage (const char *str=0) |
void | setFailure (int i, const char *str=0) |
void | setSuccess (int i, const char *str=0) |
Definition at line 48 of file TrkErrCode.h.
TrkErrCode::TrkErrCode | ( | TrkSuccess | succ = succeed , |
int | code = 1 , |
||
const char * | str = 0 |
||
) |
Definition at line 23 of file TrkErrCode.cxx.
TrkErrCode::~TrkErrCode | ( | ) |
Definition at line 48 of file TrkErrCode.cxx.
TrkErrCode::TrkErrCode | ( | const TrkErrCode & | theCode | ) |
Definition at line 35 of file TrkErrCode.cxx.
|
inline |
Definition at line 61 of file TrkErrCode.h.
Referenced by TrkDifPieceTraj::append(), MdcTrackListBase::arbitrateHits(), TrkSimpTraj::changePoint(), MdcTrackList::finishCircle(), MdcTrackList::finishHelix(), Hough2D::fit(), Hough3D::fit(), TrkHelixFitter::fit(), TrkHitOnTrk::getFitStuff(), TrkDifPieceTraj::prepend(), print(), TrkHelixRep::resid(), TrkDifPieceTraj::TrkDifPieceTraj(), TrkPocaXY::TrkPocaXY(), and TrkHitOnTrk::updatePoca().
|
inline |
Definition at line 63 of file TrkErrCode.h.
TrkErrCode & TrkErrCode::operator= | ( | const TrkErrCode & | theCode | ) |
Definition at line 56 of file TrkErrCode.cxx.
void TrkErrCode::print | ( | std::ostream & | ostr | ) | const |
Definition at line 79 of file TrkErrCode.cxx.
Referenced by MdcTrackListBase::arbitrateHits(), MdcTrackList::finishCircle(), MdcTrackList::finishHelix(), TrkHelixFitter::fit(), and operator<<().
|
inline |
Definition at line 79 of file TrkErrCode.h.
Referenced by TrkHelixFitter::fit(), TrkPocaBase::minimize(), TrkPocaBase::stepToPointPoca(), and TrkPocaXY::TrkPocaXY().
|
inline |
Definition at line 70 of file TrkErrCode.h.
Referenced by setFailure(), setSuccess(), and TrkErrCode().
|
inline |
Definition at line 84 of file TrkErrCode.h.
Referenced by TrkHelixFitter::fit(), TrkPocaBase::minimize(), TrkPocaBase::stepTowardPoca(), and TrkPocaXY::TrkPocaXY().
|
inline |
Definition at line 62 of file TrkErrCode.h.
Referenced by TrkDifPieceTraj::append(), MdcTrackListBase::arbitrateHits(), MdcHitOnTrack::dcaToWire(), MdcTrackListCsmc::finish3d(), MdcTrackList::finishHelix(), TrkHelixFitter::fit(), TrkPocaBase::minimize(), TrkDifPieceTraj::prepend(), TrkKalTrk::print(), print(), TrkPocaXY::TrkPocaXY(), and TrkBmSpotOnTrk::updateMeasurement().