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++) {
55 params[
par] = x0 + double(i)*stp;
56 double fval =
fFCN(params);
61 result.push_back(std::pair<double, double>(params[par], fval));
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
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
bool HasLowerLimit() const
MnParameterScan(const FCNBase &, const MnUserParameters &)
MnUserParameters fParameters