ATLAS Offline Software
|
Status codes for track fitters. More...
#include <FitterStatusCode.h>
Public Types | |
enum | FitCode { Success = 0, StraightTrackModelUsed = 1, BadInput = 2, UpdateFailure = 3, FitQualityFailure = 4, MissingCovariance = 5, ExtrapolationFailure = 6, ExtrapolationFailureDueToSmallMomentum = 7, CombineStatesFailure = 8, WeaklyConstraintPars = 9, OutlierLogicFailure = 10, PerigeeMakingFailure = 11, ForwardFilterFailure = 12, SmootherFailure = 13, FewFittableMeasurements = 14, SeedFailure = 15, MatrixInversionFailure = 16, NoConvergence = 17, InvalidAngles = 18, NumberOfStatusCodes = 19 } |
fitter status codes More... | |
Public Member Functions | |
FitterStatusCode () | |
default constructor More... | |
FitterStatusCode (FitCode) | |
constructor More... | |
bool | isFailure () const |
operator unsigned long () const | |
Cast operator. More... | |
operator StatusCode () const | |
Cast operator. More... | |
unsigned long | getCode () const |
Get the status code by value. More... | |
std::string | getString () const |
Get the status code as descriptive string. More... | |
Private Attributes | |
unsigned long | m_code |
fitter status code More... | |
Status codes for track fitters.
This class can be returned by track fitters to give a more detailed feedback of fit failures.
Definition at line 32 of file FitterStatusCode.h.
fitter status codes
Definition at line 37 of file FitterStatusCode.h.
Trk::FitterStatusCode::FitterStatusCode | ( | ) |
default constructor
Definition at line 15 of file FitterStatusCode.cxx.
Trk::FitterStatusCode::FitterStatusCode | ( | FitCode | thecode | ) |
constructor
code | status code according to the enum |
Definition at line 20 of file FitterStatusCode.cxx.
unsigned long Trk::FitterStatusCode::getCode | ( | ) | const |
Get the status code by value.
Definition at line 37 of file FitterStatusCode.cxx.
std::string Trk::FitterStatusCode::getString | ( | ) | const |
bool Trk::FitterStatusCode::isFailure | ( | ) | const |
Definition at line 25 of file FitterStatusCode.cxx.
Trk::FitterStatusCode::operator StatusCode | ( | ) | const |
Cast operator.
Definition at line 33 of file FitterStatusCode.cxx.
Trk::FitterStatusCode::operator unsigned long | ( | ) | const |
|
private |
fitter status code
Definition at line 90 of file FitterStatusCode.h.