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 ) {
result of the minimization; both internal and external (MnUserParameterState) representation availabl...
const MnUserParameterState & UserState() const
const MinimumParameters & Parameters() 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 HasValidCovariance() const
std::vector< MinimumState > fStates
const MinimumState & State() const
bool HasMadePosDefCovar() const
const MinimumError & Error() const
BasicFunctionMinimum & operator=(const BasicFunctionMinimum &min)
MnUserParameterState fUserState
bool IsAboveMaxEdm() const
const std::vector< MinimumState > & States() const
BasicFunctionMinimum(const MinimumSeed &seed, double up)
constructor from only MinimumSeed. Minimum is only from seed result not the full minimization
bool HasPosDefCovar() 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
bool HasValidParameters() const
const MnUserCovariance & UserCovariance() const
bool HasReachedCallLimit() const
void Add(const MinimumState &state)
add latest minimization state (for example add Hesse result after Migrad)
bool HasCovariance() const
const MnUserParameters & UserParameters() const
bool HasAccurateCovar() const
BasicFunctionMinimum(const BasicFunctionMinimum &min)
copy constructor
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 SetErrorDef(double up)
const FunctionGradient & Grad() const
void Add(const MinimumState &state, MnAboveMaxEdm)
Add a new state and flag that edm is above maximum.
const MinimumSeed & Seed() const
MinimumError keeps the inv.
bool IsMadePosDef() const
MinimumSeed contains the starting values for the minimization produced by the SeedGenerator.
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
const MinimumError & Error() const
const MinimumParameters & Parameters() const
Class containing the covariance matrix data represented as a vector of size n*(n+1)/2 Used to hide in...
class which holds the external user and/or internal Minuit representation of the parameters and error...
const MnUserParameters & Parameters() const
const MnUserCovariance & Covariance() const
API class for the user interaction with the parameters; serves as input to the minimizer as well as o...
static StackAllocator & Get()
void * Allocate(size_t nBytes)
Namespace for new ROOT classes and functions.