CbmRoot
RapidityFitParameters Struct Reference

#include <RapidityFit.h>

Collaboration diagram for RapidityFitParameters:
[legend]

Public Member Functions

 RapidityFitParameters (double A_=200., double sig_=1., double yav_=0.)
 
RapidityFitParameter GetParamater (const std::string &name) const
 
void SetParameter (const std::string &name, const RapidityFitParameter &param)
 
void SetParameter (const std::string &name, double val, double err, double xmin, double xmax)
 
void SetParameterFitFlag (const std::string &name, bool toFit)
 
RapidityFitParameters GetRapidityFitParameters ()
 

Public Attributes

RapidityFitParameter A
 
RapidityFitParameter sig
 
RapidityFitParameter yav
 
double chi2ndf
 

Detailed Description

Definition at line 28 of file RapidityFit.h.

Constructor & Destructor Documentation

◆ RapidityFitParameters()

RapidityFitParameters::RapidityFitParameters ( double  A_ = 200.,
double  sig_ = 1.,
double  yav_ = 0. 
)
inline

Definition at line 31 of file RapidityFit.h.

Referenced by GetRapidityFitParameters().

Member Function Documentation

◆ GetParamater()

RapidityFitParameter RapidityFitParameters::GetParamater ( const std::string &  name) const
inline

Definition at line 40 of file RapidityFit.h.

References A, RapidityFitParameter::name, sig, and yav.

◆ GetRapidityFitParameters()

RapidityFitParameters RapidityFitParameters::GetRapidityFitParameters ( )
inline

Definition at line 69 of file RapidityFit.h.

References A, RapidityFitParameters(), sig, RapidityFitParameter::value, and yav.

◆ SetParameter() [1/2]

void RapidityFitParameters::SetParameter ( const std::string &  name,
const RapidityFitParameter param 
)
inline

Definition at line 46 of file RapidityFit.h.

References A, RapidityFitParameter::name, sig, and yav.

◆ SetParameter() [2/2]

void RapidityFitParameters::SetParameter ( const std::string &  name,
double  val,
double  err,
double  xmin,
double  xmax 
)
inline

Definition at line 52 of file RapidityFit.h.

References A, RapidityFitParameter::name, sig, and yav.

◆ SetParameterFitFlag()

void RapidityFitParameters::SetParameterFitFlag ( const std::string &  name,
bool  toFit 
)
inline

Definition at line 64 of file RapidityFit.h.

References A, RapidityFitParameter::name, sig, RapidityFitParameter::toFit, and yav.

Referenced by RapidityFit::SetFitFlag().

Member Data Documentation

◆ A

◆ chi2ndf

double RapidityFitParameters::chi2ndf

Definition at line 30 of file RapidityFit.h.

Referenced by RapidityFit::PerformFit().

◆ sig

◆ yav


The documentation for this struct was generated from the following file: