CbmRoot
RapidityFit Class Reference

#include <RapidityFit.h>

Collaboration diagram for RapidityFit:
[legend]

Public Member Functions

 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)
 
 ~RapidityFit (void)
 
void SetFitFlag (const std::string &name, bool flag)
 
void SetData (const std::vector< double > &y_, const std::vector< double > &dndy_, const std::vector< double > &err_)
 
RapidityFitParameters PerformFit ()
 

Private Attributes

std::vector< double > y
 
std::vector< double > dndy
 
std::vector< double > err
 
RapidityFitParameters Parameters
 

Detailed Description

Definition at line 78 of file RapidityFit.h.

Constructor & Destructor Documentation

◆ RapidityFit()

RapidityFit::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 
)
inline

Definition at line 83 of file RapidityFit.h.

◆ ~RapidityFit()

RapidityFit::~RapidityFit ( void  )

Definition at line 62 of file RapidityFit.cxx.

Member Function Documentation

◆ PerformFit()

◆ SetData()

void RapidityFit::SetData ( const std::vector< double > &  y_,
const std::vector< double > &  dndy_,
const std::vector< double > &  err_ 
)
inline

Definition at line 94 of file RapidityFit.h.

References dndy, err, and y.

◆ SetFitFlag()

void RapidityFit::SetFitFlag ( const std::string &  name,
bool  flag 
)
inline

Definition at line 91 of file RapidityFit.h.

References Parameters, and RapidityFitParameters::SetParameterFitFlag().

Member Data Documentation

◆ dndy

std::vector<double> RapidityFit::dndy
private

Definition at line 79 of file RapidityFit.h.

Referenced by SetData().

◆ err

std::vector<double> RapidityFit::err
private

Definition at line 79 of file RapidityFit.h.

Referenced by SetData().

◆ Parameters

RapidityFitParameters RapidityFit::Parameters
private

Definition at line 80 of file RapidityFit.h.

Referenced by SetFitFlag().

◆ y

std::vector<double> RapidityFit::y
private

Definition at line 79 of file RapidityFit.h.

Referenced by SetData().


The documentation for this class was generated from the following files: