Logo ROOT   6.13/01
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"
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 
30 class TMinuit2TraceObject : public ROOT::Minuit2::MnTraceObject, public TNamed {
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
Namespace for new ROOT classes and functions.
Definition: TFoamSampler.h:19
class which holds the external user and/or internal Minuit representation of the parameters and error...
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
Definition: MinimumState.h:29