46 fStatus(rhs.fStatus), fPointer(rhs.fPointer)
66 Error(
"TFitResultPtr",
"TFitResult is empty - use the fit option S");
78 Error(
"TFitResultPtr",
"TFitResult is empty - use the fit option S");
96 if ( &rhs ==
this)
return *
this;
110 return printValue(fr);
111 return "<nullptr TFitResult>";
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
winID h TVirtualViewer3D TVirtualGLPainter p
Provides an indirection to the TFitResult class and with a semantics identical to a TFitResult pointe...
virtual ~TFitResultPtr()
Destructor.
TFitResult * Get() const
Return contained pointer.
std::shared_ptr< TFitResult > fPointer
! Smart Pointer to TFitResult class
int fStatus
fit status code
TFitResult & operator*() const
Implement the de-reference operator to make the class acts as a pointer to a TFitResult assert in cas...
TFitResult * operator->() const
Implement the -> operator to make the class acts as a pointer to a TFitResult.
TFitResultPtr & operator=(const TFitResultPtr &rhs)
Assignment operator.
TFitResultPtr(int status=-1)
Extends the ROOT::Fit::Result class with a TNamed inheritance providing easy possibility for I/O.