10 #ifndef ROOT_Minuit2_BasicFunctionMinimum
11 #define ROOT_Minuit2_BasicFunctionMinimum
44 BasicFunctionMinimum(
const MinimumSeed& seed,
double up) :
fSeed(seed),
fStates(std::vector<
MinimumState>(1,
MinimumState(seed.
Parameters(), seed.
Error(), seed.Gradient(), seed.
Parameters().
Fval(), seed.
NFcn()))),
fErrorDef(up),
fAboveMaxEdm(false),
fReachedCallLimit(false),
fUserState(
MnUserParameterState()) {}
105 void*
operator new(
size_t nbytes) {
109 void operator delete(
void* p,
size_t ) {
156 #endif // ROOT_Minuit2_BasicFunctionMinimum
void Add(const MinimumState &state)
add latest minimization state (for example add Hesse result after Migrad)
const MnUserParameters & Parameters() const
const MinimumError & Error() const
BasicFunctionMinimum(const MinimumSeed &seed, const std::vector< MinimumState > &states, double up, MnReachedCallLimit)
constructor at the end of a failed minimization due to exceeding function call limit ...
bool HasMadePosDefCovar() const
bool HasValidParameters() const
bool HasReachedCallLimit() const
MinimumSeed contains the starting values for the minimization produced by the SeedGenerator.
BasicFunctionMinimum(const BasicFunctionMinimum &min)
copy constructor
BasicFunctionMinimum & operator=(const BasicFunctionMinimum &min)
bool HasValidCovariance() const
const MnUserParameters & UserParameters() const
const FunctionGradient & Grad() const
const MinimumError & Error() const
const MnUserParameterState & UserState() const
bool HasAccurateCovar() const
BasicFunctionMinimum(const MinimumSeed &seed, const std::vector< MinimumState > &states, double up, MnAboveMaxEdm)
constructor at the end of a failed minimization due to edm above maximum value
void * Allocate(size_t nBytes)
bool HasCovariance() const
MnUserParameterState fUserState
result of the minimization; both internal and external (MnUserParameterState) representation availabl...
bool HasPosDefCovar() const
std::vector< MinimumState > fStates
const MnUserCovariance & UserCovariance() const
void Add(const MinimumState &state, MnAboveMaxEdm)
Add a new state and flag that edm is above maximum.
bool IsMadePosDef() const
class which holds the external user and/or internal Minuit representation of the parameters and error...
bool IsAboveMaxEdm() const
BasicFunctionMinimum(const MinimumSeed &seed, const std::vector< MinimumState > &states, double up)
constructor at the end of a successfull minimization from seed and vector of states ...
API class for the user interaction with the parameters; serves as input to the minimizer as well as o...
const MinimumSeed & Seed() const
const MinimumParameters & Parameters() const
MinimumError keeps the inv.
const std::vector< MinimumState > & States() const
const MnUserTransformation & Trafo() const
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
BasicFunctionMinimum(const MinimumSeed &seed, double up)
constructor from only MinimumSeed. Minimum is only from seed result not the full minimization ...
static StackAllocator & Get()
void SetErrorDef(double up)
const MinimumParameters & Parameters() const
const MnUserCovariance & Covariance() const
const MinimumState & State() const
Class containing the covariance matrix data represented as a vector of size n*(n+1)/2 Used to hide in...