Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
13namespace ROOT {
14
15namespace Minuit2 {
16
17class MinimumState;
18class MnUserParameterState;
19
21
22public:
23 MnTraceObject(int parNumber = -1) : fUserState(nullptr), 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
37private:
40};
41
42} // namespace Minuit2
43} // namespace ROOT
44
45#endif // ROOT_Minuit2_MnTraceIter
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
void SetParNumber(int number)
virtual void operator()(int i, const MinimumState &state)
virtual void Init(const MnUserParameterState &state)
const MnUserParameterState & UserState() const
const MnUserParameterState * fUserState
MnTraceObject(int parNumber=-1)
class which holds the external user and/or internal Minuit representation of the parameters and error...
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...