Logo ROOT   6.10/09
Reference Guide
MinimumParameters.h
Go to the documentation of this file.
1 // @(#)root/minuit2:$Id$
2 // Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3 
4 /**********************************************************************
5  * *
6  * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7  * *
8  **********************************************************************/
9 
10 #ifndef ROOT_Minuit2_MinimumParameters
11 #define ROOT_Minuit2_MinimumParameters
12 
15 
16 namespace ROOT {
17 
18  namespace Minuit2 {
19 
20 
22 
23 public:
24 
25  MinimumParameters(unsigned int n, double fval = 0) :
27 
28  /** takes the Parameter vector */
29  MinimumParameters(const MnAlgebraicVector& avec, double fval) :
31 
32  /** takes the Parameter vector plus step size x1 - x0 = dirin */
33  MinimumParameters(const MnAlgebraicVector& avec, const MnAlgebraicVector& dirin, double fval) :
35 
37 
39 
41  fData = par.fData;
42  return *this;
43  }
44 
45  const MnAlgebraicVector& Vec() const {return fData->Vec();}
46  const MnAlgebraicVector& Dirin() const {return fData->Dirin();}
47  double Fval() const {return fData->Fval();}
48  bool IsValid() const {return fData->IsValid();}
49  bool HasStepSize() const {return fData->HasStepSize();}
50 
51 private:
52 
54 };
55 
56  } // namespace Minuit2
57 
58 } // namespace ROOT
59 
60 #endif // ROOT_Minuit2_MinimumParameters
double par[1]
Definition: unuranDistr.cxx:38
MnRefCountedPointer< BasicMinimumParameters > fData
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21
const MnAlgebraicVector & Vec() const
MinimumParameters(const MnAlgebraicVector &avec, const MnAlgebraicVector &dirin, double fval)
takes the Parameter vector plus step size x1 - x0 = dirin
MinimumParameters(const MnAlgebraicVector &avec, double fval)
takes the Parameter vector
MinimumParameters(unsigned int n, double fval=0)
const MnAlgebraicVector & Dirin() const
MinimumParameters(const MinimumParameters &par)
MinimumParameters & operator=(const MinimumParameters &par)
const Int_t n
Definition: legend1.C:16