26 std::vector<std::pair<double, double> >
result; result.reserve(maxsteps+1);
28 result.push_back(std::pair<double, double>(params[par],
fAmin));
30 if(low > high)
return result;
31 if(maxsteps < 2)
return result;
33 if(low == 0. && high == 0.) {
53 double stp = (high - low)/
double(maxsteps - 1);
54 for(
unsigned int i = 0; i < maxsteps; i++) {
56 double fval =
fFCN(params);
61 result.push_back(std::pair<double, double>(params[par], fval));
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
Namespace for new ROOT classes and functions.
std::vector< std::pair< double, double > > operator()(unsigned int par, unsigned int maxsteps=41, double low=0., double high=0.)
double LowerLimit() const
double Error(unsigned int) const
const MinuitParameter & Parameter(unsigned int) const
access to single Parameter
void SetValue(unsigned int, double)
double UpperLimit() const
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
bool HasUpperLimit() const
API class for the user interaction with the parameters; serves as input to the minimizer as well as o...
std::vector< double > Params() const
access to parameters and errors in column-wise representation
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
bool HasLowerLimit() const
MnParameterScan(const FCNBase &, const MnUserParameters &)
MnUserParameters fParameters