Logo ROOT  
Reference Guide
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 
14 
15 #include <memory>
16 
17 namespace ROOT {
18 
19 namespace Minuit2 {
20 
21 class MinimumState;
22 class MinimumParameters;
23 class MinimumError;
24 class FunctionGradient;
25 class MnUserTransformation;
26 
27 /** MinimumSeed contains the starting values for the minimization produced
28  by the SeedGenerator.
29  */
30 
31 class MinimumSeed {
32 
33 public:
35  : fData(std::make_shared<BasicMinimumSeed>(st, trafo))
36  {
37  }
38 
39  const MinimumState &State() const { return fData->State(); }
40  const MinimumParameters &Parameters() const { return fData->Parameters(); }
41  const MinimumError &Error() const { return fData->Error(); }
42  const FunctionGradient &Gradient() const { return fData->Gradient(); }
43  const MnUserTransformation &Trafo() const { return fData->Trafo(); }
44  const MnMachinePrecision &Precision() const { return fData->Precision(); }
45  double Fval() const { return fData->Fval(); }
46  double Edm() const { return fData->Edm(); }
47  unsigned int NFcn() const { return fData->NFcn(); }
48  bool IsValid() const { return fData->IsValid(); }
49 
50 private:
51  std::shared_ptr<BasicMinimumSeed> fData;
52 };
53 
54 } // namespace Minuit2
55 
56 } // namespace ROOT
57 
58 #endif // ROOT_Minuit2_MinimumSeed
ROOT::Minuit2::MinimumState
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
Definition: MinimumState.h:29
ROOT::Minuit2::MinimumSeed::MinimumSeed
MinimumSeed(const MinimumState &st, const MnUserTransformation &trafo)
Definition: MinimumSeed.h:34
BasicMinimumSeed.h
ROOT::Minuit2::FunctionGradient
Definition: FunctionGradient.h:21
ROOT::Minuit2::BasicMinimumSeed
Definition: BasicMinimumSeed.h:27
ROOT::Minuit2::MinimumSeed::Gradient
const FunctionGradient & Gradient() const
Definition: MinimumSeed.h:42
ROOT::Minuit2::MinimumParameters
Definition: MinimumParameters.h:21
ROOT::Minuit2::MinimumSeed::Error
const MinimumError & Error() const
Definition: MinimumSeed.h:41
ROOT::Minuit2::MnMachinePrecision
Sets the relative floating point (double) arithmetic precision.
Definition: MnMachinePrecision.h:32
ROOT::Minuit2::MinimumSeed::Precision
const MnMachinePrecision & Precision() const
Definition: MinimumSeed.h:44
ROOT::Minuit2::MinimumSeed::Edm
double Edm() const
Definition: MinimumSeed.h:46
ROOT::Minuit2::MinimumSeed::NFcn
unsigned int NFcn() const
Definition: MinimumSeed.h:47
ROOT::Minuit2::MnUserTransformation
class dealing with the transformation between user specified parameters (external) and internal param...
Definition: MnUserTransformation.h:38
ROOT::Minuit2::MinimumSeed::fData
std::shared_ptr< BasicMinimumSeed > fData
Definition: MinimumSeed.h:51
ROOT::Minuit2::MinimumSeed::IsValid
bool IsValid() const
Definition: MinimumSeed.h:48
ROOT::Minuit2::MinimumError
MinimumError keeps the inv.
Definition: MinimumError.h:26
ROOT::Minuit2::MinimumSeed::Parameters
const MinimumParameters & Parameters() const
Definition: MinimumSeed.h:40
ROOT::Minuit2::MinimumSeed::Fval
double Fval() const
Definition: MinimumSeed.h:45
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition: EExecutionPolicy.hxx:4
ROOT::Minuit2::MinimumSeed
MinimumSeed contains the starting values for the minimization produced by the SeedGenerator.
Definition: MinimumSeed.h:31
ROOT::Minuit2::MinimumSeed::State
const MinimumState & State() const
Definition: MinimumSeed.h:39
ROOT::Minuit2::MinimumSeed::Trafo
const MnUserTransformation & Trafo() const
Definition: MinimumSeed.h:43