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)
bool HasValidCovariance() const
const MnUserParameterState & UserState() 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 ...
Namespace for new ROOT classes and functions.
const MnUserTransformation & Trafo() const
bool HasCovariance() const
MinimumSeed contains the starting values for the minimization produced by the SeedGenerator.
bool IsAboveMaxEdm() const
BasicFunctionMinimum(const BasicFunctionMinimum &min)
copy constructor
BasicFunctionMinimum & operator=(const BasicFunctionMinimum &min)
const FunctionGradient & Grad() const
const MinimumState & State() const
bool HasValidParameters() 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)
MnUserParameterState fUserState
const MnUserCovariance & UserCovariance() const
result of the minimization; both internal and external (MnUserParameterState) representation availabl...
const MinimumError & Error() const
std::vector< MinimumState > fStates
bool HasMadePosDefCovar() const
void Add(const MinimumState &state, MnAboveMaxEdm)
Add a new state and flag that edm is above maximum.
class which holds the external user and/or internal Minuit representation of the parameters and error...
const MinimumSeed & Seed() 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 MnUserCovariance & Covariance() const
bool HasPosDefCovar() const
const std::vector< MinimumState > & States() const
const MnUserParameters & Parameters() const
const MinimumError & Error() const
const MinimumParameters & Parameters() const
const MinimumParameters & Parameters() const
MinimumError keeps the inv.
const MnUserParameters & UserParameters() const
bool IsMadePosDef() 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)
bool HasReachedCallLimit() const
Class containing the covariance matrix data represented as a vector of size n*(n+1)/2 Used to hide in...