Project
Loading...
Searching...
No Matches
o2::utils::fitResult< T, nparams > Class Template Reference

#include <BoostHistogramUtils.h>

Public Member Functions

 fitResult ()=default
 
 fitResult (T chi2, const T(&list)[nparams])
 
template<int index>
getParameter () const
 Get the paratmeters of a fit result. Ex: result.getParameter<1>();.
 
template<int index>
void setParameter (T parameter)
 Set the paratmeters of a fit result. Ex: result.setParameter<1>(T(value)));.
 
void setChi2 (double chi2In)
 Set the chi2 of the fit result.
 
getChi2 () const
 

Detailed Description

template<typename T, int nparams>
class o2::utils::fitResult< T, nparams >

Definition at line 182 of file BoostHistogramUtils.h.

Constructor & Destructor Documentation

◆ fitResult() [1/2]

template<typename T , int nparams>
o2::utils::fitResult< T, nparams >::fitResult ( )
default

◆ fitResult() [2/2]

template<typename T , int nparams>
o2::utils::fitResult< T, nparams >::fitResult ( chi2,
const T(&)  list[nparams] 
)
inline

Definition at line 187 of file BoostHistogramUtils.h.

Member Function Documentation

◆ getChi2()

template<typename T , int nparams>
T o2::utils::fitResult< T, nparams >::getChi2 ( ) const
inline

Definition at line 214 of file BoostHistogramUtils.h.

◆ getParameter()

template<typename T , int nparams>
template<int index>
T o2::utils::fitResult< T, nparams >::getParameter ( ) const
inline

Get the paratmeters of a fit result. Ex: result.getParameter<1>();.

Definition at line 195 of file BoostHistogramUtils.h.

◆ setChi2()

template<typename T , int nparams>
void o2::utils::fitResult< T, nparams >::setChi2 ( double  chi2In)
inline

Set the chi2 of the fit result.

Definition at line 210 of file BoostHistogramUtils.h.

◆ setParameter()

template<typename T , int nparams>
template<int index>
void o2::utils::fitResult< T, nparams >::setParameter ( parameter)
inline

Set the paratmeters of a fit result. Ex: result.setParameter<1>(T(value)));.

Definition at line 203 of file BoostHistogramUtils.h.


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