CbmRoot
FCNPolynom Class Reference

Implements FCNBase which is used for MINUIT minimization. More...

Inheritance diagram for FCNPolynom:
[legend]
Collaboration diagram for FCNPolynom:
[legend]

Public Member Functions

 FCNPolynom (const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &z, CbmLitPolynom *polynom)
 Constructor. More...
 
 ~FCNPolynom ()
 Destructor. More...
 
virtual double Up () const
 Inherited from FCNBase. More...
 
Double_t DoEval (const Double_t *x) const
 Inherited from FCNBase. More...
 
unsigned int NDim () const
 
ROOT::Math::IBaseFunctionMultiDim * Clone () const
 
const CbmLitPolynomGetPolynom () const
 Return polynomial which is used for minimization. More...
 

Private Attributes

std::vector< double > fX
 
std::vector< double > fY
 
std::vector< double > fZ
 
CbmLitPolynomfPolynom
 

Detailed Description

Implements FCNBase which is used for MINUIT minimization.

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Date
2009

Definition at line 721 of file CbmLitFieldFitter.cxx.

Constructor & Destructor Documentation

◆ FCNPolynom()

FCNPolynom::FCNPolynom ( const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  z,
CbmLitPolynom polynom 
)
inline

Constructor.

Definition at line 726 of file CbmLitFieldFitter.cxx.

Referenced by Clone().

◆ ~FCNPolynom()

FCNPolynom::~FCNPolynom ( )
inline

Destructor.

Definition at line 735 of file CbmLitFieldFitter.cxx.

Member Function Documentation

◆ Clone()

ROOT::Math::IBaseFunctionMultiDim* FCNPolynom::Clone ( ) const
inline

Definition at line 768 of file CbmLitFieldFitter.cxx.

References FCNPolynom(), fPolynom, fX, fY, and fZ.

◆ DoEval()

Double_t FCNPolynom::DoEval ( const Double_t *  x) const
inline

Inherited from FCNBase.

Definition at line 748 of file CbmLitFieldFitter.cxx.

References CbmLitPolynom::Calculate(), fPolynom, fX, fY, fZ, i, and x.

◆ GetPolynom()

const CbmLitPolynom* FCNPolynom::GetPolynom ( ) const
inline

Return polynomial which is used for minimization.

Returns
Polynomial which is used for minimization.

Definition at line 776 of file CbmLitFieldFitter.cxx.

References fPolynom.

Referenced by CbmLitFieldFitter::FitSlice().

◆ NDim()

unsigned int FCNPolynom::NDim ( ) const
inline

Definition at line 766 of file CbmLitFieldFitter.cxx.

References fPolynom, and CbmLitPolynom::GetNofCoefficients().

◆ Up()

virtual double FCNPolynom::Up ( ) const
inlinevirtual

Inherited from FCNBase.

Definition at line 740 of file CbmLitFieldFitter.cxx.

Member Data Documentation

◆ fPolynom

CbmLitPolynom* FCNPolynom::fPolynom
private

Definition at line 782 of file CbmLitFieldFitter.cxx.

Referenced by Clone(), DoEval(), GetPolynom(), and NDim().

◆ fX

std::vector<double> FCNPolynom::fX
private

Definition at line 779 of file CbmLitFieldFitter.cxx.

Referenced by Clone(), and DoEval().

◆ fY

std::vector<double> FCNPolynom::fY
private

Definition at line 780 of file CbmLitFieldFitter.cxx.

Referenced by Clone(), and DoEval().

◆ fZ

std::vector<double> FCNPolynom::fZ
private

Definition at line 781 of file CbmLitFieldFitter.cxx.

Referenced by Clone(), and DoEval().


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