EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FCNEllipse Class Reference

FCN for Minuit. More...

#include <EicRoot/blob/master/rich/fitter/CbmRichRingFitterEllipseMinuit.h>

+ Inheritance diagram for FCNEllipse:
+ Collaboration diagram for FCNEllipse:

Public Member Functions

 FCNEllipse (const vector< Double_t > &x, const vector< Double_t > &y)
 Default constructor.
 
 ~FCNEllipse ()
 Default destructor.
 
virtual Double_t Up () const
 Inherited from ROOT::Minuit2::FCNBase.
 
virtual Double_t operator() (const vector< Double_t > &par) const
 Inherited from ROOT::Minuit2::FCNBase.
 
Double_t calcE (Int_t i, const vector< Double_t > &par) const
 Calculate E for certain hit.
 
vector< Double_t > X () const
 
vector< Double_t > Y () const
 
void SetErrorDef (Double_t def)
 

Private Attributes

vector< Double_t > fX
 
vector< Double_t > fY
 
Double_t fErrorDef
 

Detailed Description

FCN for Minuit.

Author
Semen Lebedev s.leb.nosp@m.edev.nosp@m.@gsi..nosp@m.de
Date
2011

Definition at line 25 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 25 of file CbmRichRingFitterEllipseMinuit.h

Constructor & Destructor Documentation

FCNEllipse::FCNEllipse ( const vector< Double_t > &  x,
const vector< Double_t > &  y 
)
inline

Default constructor.

Definition at line 30 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 30 of file CbmRichRingFitterEllipseMinuit.h

FCNEllipse::~FCNEllipse ( )
inline

Default destructor.

Definition at line 43 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 43 of file CbmRichRingFitterEllipseMinuit.h

Member Function Documentation

Double_t FCNEllipse::calcE ( Int_t  i,
const vector< Double_t > &  par 
) const
inline

Calculate E for certain hit.

Parameters
[in]iHit index.
[in]parEllipse parameters.

Definition at line 75 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 75 of file CbmRichRingFitterEllipseMinuit.h

References fX, and fY.

Referenced by operator()().

+ Here is the caller graph for this function:

virtual Double_t FCNEllipse::operator() ( const vector< Double_t > &  par) const
inlinevirtual

Inherited from ROOT::Minuit2::FCNBase.

Definition at line 59 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 59 of file CbmRichRingFitterEllipseMinuit.h

References calcE(), and fX.

+ Here is the call graph for this function:

void FCNEllipse::SetErrorDef ( Double_t  def)
inline

Definition at line 92 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 92 of file CbmRichRingFitterEllipseMinuit.h

References fErrorDef.

virtual Double_t FCNEllipse::Up ( ) const
inlinevirtual

Inherited from ROOT::Minuit2::FCNBase.

Definition at line 51 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 51 of file CbmRichRingFitterEllipseMinuit.h

References fErrorDef.

vector<Double_t> FCNEllipse::X ( ) const
inline

Definition at line 88 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 88 of file CbmRichRingFitterEllipseMinuit.h

References fX.

vector<Double_t> FCNEllipse::Y ( ) const
inline

Definition at line 90 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 90 of file CbmRichRingFitterEllipseMinuit.h

References fY.

Member Data Documentation

Double_t FCNEllipse::fErrorDef
private

Definition at line 97 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 97 of file CbmRichRingFitterEllipseMinuit.h

Referenced by SetErrorDef(), and Up().

vector<Double_t> FCNEllipse::fX
private

Definition at line 95 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 95 of file CbmRichRingFitterEllipseMinuit.h

Referenced by calcE(), operator()(), and X().

vector<Double_t> FCNEllipse::fY
private

Definition at line 96 of file CbmRichRingFitterEllipseMinuit.h.

View newest version in sPHENIX GitHub at line 96 of file CbmRichRingFitterEllipseMinuit.h

Referenced by calcE(), and Y().


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