32 if (fPointer) fStatus = fPointer->
Status();
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;
TFitResultPtr & operator=(const TFitResultPtr &rhs)
Assignment operator.
Extends the ROOT::Fit::Result class with a TNamed inheritance providing easy possibility for I/O...
virtual ~TFitResultPtr()
Destructor.
void Error(const char *location, const char *msgfmt,...)
TFitResult & operator*() const
Implement the de-reference operator to make the class acts as a pointer to a TFitResult assert in cas...
TFitResultPtr(int status=-1)
ClassImp(TFitResultPtr) TFitResultPtr
Constructor from a TFitResult pointer.
int Status() const
minimizer status code
Provides an indirection to the TFitResult class and with a semantics identical to a TFitResult pointe...
TFitResult * operator->() const
Implement the -> operator to make the class acts as a pointer to a TFitResult.
TFitResult * Get() const
Return contained pointer.
std::shared_ptr< TFitResult > fPointer