Logo ROOT   6.18/05
Reference Guide
TMinuit2TraceObject.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_TMinuit2TraceObject
11#define ROOT_TMinuit2TraceObject
12
13#include "TNamed.h"
15
16class TH1;
17class TVirtualPad;
18class TList;
19
20namespace ROOT {
21
22 namespace Minuit2 {
23
24 class MinimumState;
25 class MnUserParameterState;
26
27 } // namespace Minuit2
28} // namespace ROOT
29
31
32public:
33
34 TMinuit2TraceObject(int parNumber = -1);
35
36 virtual ~TMinuit2TraceObject();
37
38 virtual void Init(const ROOT::Minuit2::MnUserParameterState & state);
39
40 virtual void operator() (int i, const ROOT::Minuit2::MinimumState & state);
41
42 ClassDef(TMinuit2TraceObject,0) // Example Trace Object for Minuit2
43
44private:
45
46 int fIterOffset; // offset in iteration in case of combined minimizers
47 TH1 * fHistoFval; // Function value histogram
48 TH1 * fHistoEdm; // Edm histogram
49 TList * fHistoParList; // list of parameter values histograms
50 TVirtualPad * fOldPad; // old existing current pad
51 TVirtualPad * fMinuitPad; // new pad with trace histograms
52
53
54};
55
56
57#endif // ROOT_TMinuit2TraceObject
#define ClassDef(name, id)
Definition: Rtypes.h:326
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
Definition: MinimumState.h:29
class which holds the external user and/or internal Minuit representation of the parameters and error...
The TH1 histogram class.
Definition: TH1.h:56
A doubly linked list.
Definition: TList.h:44
virtual void Init(const ROOT::Minuit2::MnUserParameterState &state)
TMinuit2TraceObject(int parNumber=-1)
virtual void operator()(int i, const ROOT::Minuit2::MinimumState &state)
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Definition: TVirtualPad.h:50
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21