ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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"
14 #include "Minuit2/MnTraceObject.h"
15 
16 class TH1;
17 class TVirtualPad;
18 class TList;
19 
20 namespace ROOT {
21 
22  namespace Minuit2 {
23 
24  class MinimumState;
25  class MnUserParameterState;
26 
27  } // namespace Minuit2
28 } // namespace ROOT
29 
31 
32 public:
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 
44 private:
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:254
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:33
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Definition: TVirtualPad.h:59
A doubly linked list.
Definition: TList.h:47
class which holds the external user and/or internal Minuit representation of the parameters and error...
The TH1 histogram class.
Definition: TH1.h:80
virtual void operator()(int i, const ROOT::Minuit2::MinimumState &state)
virtual void Init(const ROOT::Minuit2::MnUserParameterState &state)
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
Definition: MinimumState.h:29
TMinuit2TraceObject(int parNumber=-1)