Go to the documentation of this file.
41 if (
A.
name == name)
return A;
48 if (
A.
name == name)
A = param;
75 double TwoGauss(
double y,
double A,
double sig,
double y0);
84 const std::vector<double>& dndy_,
85 const std::vector<double>& err_,
94 void SetData(
const std::vector<double>& y_,
95 const std::vector<double>& dndy_,
96 const std::vector<double>& err_) {
RapidityFitParameter GetParamater(const std::string &name) const
RapidityFit(const std::vector< double > &y_, const std::vector< double > &dndy_, const std::vector< double > &err_, double A_=200., double sig_=1., double yav_=0.2)
void SetParameter(const std::string &name, const RapidityFitParameter ¶m)
void SetData(const std::vector< double > &y_, const std::vector< double > &dndy_, const std::vector< double > &err_)
RapidityFitParameters PerformFit()
RapidityFitParameter(std::string name_="", bool toFit_=true, double val=1., double err=0., double vmin=-2., double vmax=2.)
std::vector< double > err
void SetFitFlag(const std::string &name, bool flag)
double TwoGauss(double y, double A, double sig, double y0)
RapidityFitParameters Parameters
void SetParameterFitFlag(const std::string &name, bool toFit)
RapidityFitParameters(double A_=200., double sig_=1., double yav_=0.)
RapidityFitParameters GetRapidityFitParameters()
void SetParameter(const std::string &name, double val, double err, double xmin, double xmax)
std::vector< double > dndy