Logo ROOT  
Reference Guide
MnTraceObject.h
Go to the documentation of this file.
1 // @(#)root/minuit2:$Id$
2 // Author: L. Moneta 2012
3 
4 /**********************************************************************
5  * *
6  * Copyright (c) 2012 LCG ROOT Math team, CERN/PH-SFT *
7  * *
8  **********************************************************************/
9 
10 #ifndef ROOT_Minuit2_MnTraceObject
11 #define ROOT_Minuit2_MnTraceObject
12 
13 namespace ROOT {
14 
15 namespace Minuit2 {
16 
17 class MinimumState;
18 class MnUserParameterState;
19 
21 
22 public:
23  MnTraceObject(int parNumber = -1) : fUserState(0), fParNumber(parNumber) {}
24 
25  virtual ~MnTraceObject() {}
26 
27  virtual void Init(const MnUserParameterState &state) { fUserState = &state; }
28 
29  virtual void operator()(int i, const MinimumState &state);
30 
31  const MnUserParameterState &UserState() const { return *fUserState; }
32 
33  void SetParNumber(int number) { fParNumber = number; }
34 
35  int ParNumber() const { return fParNumber; }
36 
37 private:
40 };
41 
42 } // namespace Minuit2
43 } // namespace ROOT
44 
45 #endif // ROOT_Minuit2_MnTraceIter
ROOT::Minuit2::MnTraceObject::fParNumber
int fParNumber
Definition: MnTraceObject.h:39
ROOT::Minuit2::MnTraceObject::fUserState
const MnUserParameterState * fUserState
Definition: MnTraceObject.h:38
ROOT::Minuit2::MinimumState
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
Definition: MinimumState.h:29
ROOT::Minuit2::MnTraceObject::UserState
const MnUserParameterState & UserState() const
Definition: MnTraceObject.h:31
ROOT::Minuit2::MnTraceObject::MnTraceObject
MnTraceObject(int parNumber=-1)
Definition: MnTraceObject.h:23
ROOT::Minuit2::MnTraceObject
Definition: MnTraceObject.h:20
ROOT::Minuit2::MnTraceObject::operator()
virtual void operator()(int i, const MinimumState &state)
Definition: MnTraceObject.cxx:20
ROOT::Minuit2::MnTraceObject::Init
virtual void Init(const MnUserParameterState &state)
Definition: MnTraceObject.h:27
ROOT::Minuit2::MnTraceObject::~MnTraceObject
virtual ~MnTraceObject()
Definition: MnTraceObject.h:25
ROOT::Minuit2::MnUserParameterState
class which holds the external user and/or internal Minuit representation of the parameters and error...
Definition: MnUserParameterState.h:33
ROOT::Minuit2::MnTraceObject::ParNumber
int ParNumber() const
Definition: MnTraceObject.h:35
ROOT::Minuit2::MnTraceObject::SetParNumber
void SetParNumber(int number)
Definition: MnTraceObject.h:33
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition: EExecutionPolicy.hxx:4