5 #include <Minuit2/FCNBase.h> 6 #include <Minuit2/MnUserParameterState.h> 7 #include <Minuit2/MnUserParameters.h> 18 class Params :
public Minuit2::MnUserParameters {
30 using MnUserParameters::MnUserParameters;
38 size_t size()
const {
return vars_.size(); };
44 void from_minuit_vector(
const std::vector<double> &values,
bool force_changed =
false);
std::vector< Variable > vars_
std::vector< std::vector< double > > get_recorded() const
Get recorded values array.
std::vector< double > make_minuit_vector() const
Make a parameter array with the current variable values.
size_t size() const
Get the number of params in the fit.
void from_minuit_vector(const std::vector< double > &values, bool force_changed=false)
Set from a minuit vector. Optional force_changed to force complete recalculation. ...
void set_record(bool do_record=true)
Set recording of Minuit parameter changes.
void SetGooFitParams(const Minuit2::MnUserParameterState &input)
Read the values back into GooFit.
std::vector< std::vector< double > > recorded_