Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
MinimumSeed.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_MinimumSeed
11#define ROOT_Minuit2_MinimumSeed
12
18
19namespace ROOT {
20
21namespace Minuit2 {
22
24
25public:
26 MinimumSeed(const MinimumState &state, const MnUserTransformation &trafo) : fPtr{new Data{state, trafo, true}} {}
27
28 const MinimumState &State() const { return fPtr->fState; }
29 const MinimumParameters &Parameters() const { return State().Parameters(); }
30 const MinimumError &Error() const { return State().Error(); };
31 const FunctionGradient &Gradient() const { return State().Gradient(); }
32 const MnUserTransformation &Trafo() const { return fPtr->fTrafo; }
33 const MnMachinePrecision &Precision() const { return Trafo().Precision(); }
34 double Fval() const { return State().Fval(); }
35 double Edm() const { return State().Edm(); }
36 unsigned int NFcn() const { return State().NFcn(); }
37 bool IsValid() const { return fPtr->fValid; }
38
39private:
40 struct Data {
43 bool fValid;
44 };
45
46 std::shared_ptr<Data> fPtr;
47};
48
49} // namespace Minuit2
50
51} // namespace ROOT
52
53#endif // ROOT_Minuit2_MinimumSeed
MinimumError keeps the inv.
const FunctionGradient & Gradient() const
Definition MinimumSeed.h:31
unsigned int NFcn() const
Definition MinimumSeed.h:36
const MinimumError & Error() const
Definition MinimumSeed.h:30
const MnUserTransformation & Trafo() const
Definition MinimumSeed.h:32
const MinimumParameters & Parameters() const
Definition MinimumSeed.h:29
const MnMachinePrecision & Precision() const
Definition MinimumSeed.h:33
MinimumSeed(const MinimumState &state, const MnUserTransformation &trafo)
Definition MinimumSeed.h:26
const MinimumState & State() const
Definition MinimumSeed.h:28
std::shared_ptr< Data > fPtr
Definition MinimumSeed.h:46
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
const MinimumError & Error() const
const MinimumParameters & Parameters() const
const FunctionGradient & Gradient() const
Sets the relative floating point (double) arithmetic precision.
class dealing with the transformation between user specified parameters (external) and internal param...
const MnMachinePrecision & Precision() const
forwarded interface
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
MnUserTransformation fTrafo
Definition MinimumSeed.h:42