18 : fFCN(fcn), fParameters(par), fAmin(fcn(par.Params()))
23 : fFCN(fcn), fParameters(par), fAmin(fval)
28operator()(
unsigned int par,
unsigned int maxsteps,
double low,
double high)
33 std::vector<std::pair<double, double>>
result;
34 result.reserve(maxsteps + 1);
36 result.push_back(std::pair<double, double>(params[par],
fAmin));
43 if (low == 0. && high == 0.) {
63 double stp = (high - low) /
double(maxsteps - 1);
64 for (
unsigned int i = 0; i < maxsteps; i++) {
65 params[par] = x0 +
double(i) * stp;
66 double fval =
fFCN(params);
71 result.push_back(std::pair<double, double>(params[par], fval));
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
double LowerLimit() const
double UpperLimit() const
bool HasLowerLimit() const
bool HasUpperLimit() const
std::vector< std::pair< double, double > > operator()(unsigned int par, unsigned int maxsteps=41, double low=0., double high=0.)
MnParameterScan(const FCNBase &, const MnUserParameters &)
MnUserParameters fParameters
API class for the user interaction with the parameters; serves as input to the minimizer as well as o...
double Error(unsigned int) const
std::vector< double > Params() const
access to parameters and errors in column-wise representation
const MinuitParameter & Parameter(unsigned int) const
access to single Parameter
void SetValue(unsigned int, double)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...