CbmRoot
Loading...
Searching...
No Matches
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.
 
 ~FCNPolynom ()
 Destructor.
 
virtual double Up () const
 Inherited from FCNBase.
 
Double_t DoEval (const Double_t *x) const
 Inherited from FCNBase.
 
unsigned int NDim () const
 
ROOT::Math::IBaseFunctionMultiDim * Clone () const
 
const CbmLitPolynomGetPolynom () const
 Return polynomial which is used for minimization.
 

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 708 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 713 of file CbmLitFieldFitter.cxx.

Referenced by Clone().

◆ ~FCNPolynom()

FCNPolynom::~FCNPolynom ( )
inline

Destructor.

Definition at line 725 of file CbmLitFieldFitter.cxx.

Member Function Documentation

◆ Clone()

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

Definition at line 759 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 738 of file CbmLitFieldFitter.cxx.

References CbmLitPolynom::Calculate(), fPolynom, fX, fY, fZ, 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 765 of file CbmLitFieldFitter.cxx.

References fPolynom.

Referenced by CbmLitFieldFitter::FitSlice().

◆ NDim()

unsigned int FCNPolynom::NDim ( ) const
inline

Definition at line 757 of file CbmLitFieldFitter.cxx.

References fPolynom, and CbmLitPolynom::GetNofCoefficients().

◆ Up()

virtual double FCNPolynom::Up ( ) const
inlinevirtual

Inherited from FCNBase.

Definition at line 730 of file CbmLitFieldFitter.cxx.

Member Data Documentation

◆ fPolynom

CbmLitPolynom* FCNPolynom::fPolynom
private

Definition at line 771 of file CbmLitFieldFitter.cxx.

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

◆ fX

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

Definition at line 768 of file CbmLitFieldFitter.cxx.

Referenced by Clone(), and DoEval().

◆ fY

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

Definition at line 769 of file CbmLitFieldFitter.cxx.

Referenced by Clone(), and DoEval().

◆ fZ

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

Definition at line 770 of file CbmLitFieldFitter.cxx.

Referenced by Clone(), and DoEval().


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