Logo ROOT  
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 
31 
32 public:
33  TMinuit2TraceObject(int parNumber = -1);
34 
35  virtual ~TMinuit2TraceObject();
36 
37  virtual void Init(const ROOT::Minuit2::MnUserParameterState &state);
38 
39  virtual void operator()(int i, const ROOT::Minuit2::MinimumState &state);
40 
41  ClassDef(TMinuit2TraceObject, 0) // Example Trace Object for Minuit2
42 
43  private :
44 
45  int fIterOffset; // offset in iteration in case of combined minimizers
46  TH1 *fHistoFval; // Function value histogram
47  TH1 *fHistoEdm; // Edm histogram
48  TList *fHistoParList; // list of parameter values histograms
49  TVirtualPad *fOldPad; // old existing current pad
50  TVirtualPad *fMinuitPad; // new pad with trace histograms
51 };
52 
53 #endif // ROOT_TMinuit2TraceObject
TMinuit2TraceObject::fHistoParList
TList * fHistoParList
Definition: TMinuit2TraceObject.h:48
ROOT::Minuit2::MinimumState
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
Definition: MinimumState.h:27
TNamed.h
TMinuit2TraceObject::fHistoEdm
TH1 * fHistoEdm
Definition: TMinuit2TraceObject.h:47
TMinuit2TraceObject::fHistoFval
TH1 * fHistoFval
Definition: TMinuit2TraceObject.h:46
TMinuit2TraceObject::fMinuitPad
TVirtualPad * fMinuitPad
Definition: TMinuit2TraceObject.h:50
TMinuit2TraceObject::operator()
virtual void operator()(int i, const ROOT::Minuit2::MinimumState &state)
Definition: TMinuit2TraceObject.cxx:93
ROOT::Minuit2::MnTraceObject
Definition: MnTraceObject.h:20
TMinuit2TraceObject::fOldPad
TVirtualPad * fOldPad
Definition: TMinuit2TraceObject.h:49
TNamed
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
TMinuit2TraceObject::~TMinuit2TraceObject
virtual ~TMinuit2TraceObject()
Definition: TMinuit2TraceObject.cxx:25
TMinuit2TraceObject
Definition: TMinuit2TraceObject.h:30
MnTraceObject.h
TMinuit2TraceObject::Init
virtual void Init(const ROOT::Minuit2::MnUserParameterState &state)
Definition: TMinuit2TraceObject.cxx:46
TMinuit2TraceObject::fIterOffset
int fIterOffset
Definition: TMinuit2TraceObject.h:45
TVirtualPad
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Definition: TVirtualPad.h:51
ROOT::Minuit2::MnUserParameterState
class which holds the external user and/or internal Minuit representation of the parameters and error...
Definition: MnUserParameterState.h:33
TMinuit2TraceObject::TMinuit2TraceObject
TMinuit2TraceObject(int parNumber=-1)
Definition: TMinuit2TraceObject.cxx:19
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TH1
TH1 is the base class of all histogram classes in ROOT.
Definition: TH1.h:58
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition: EExecutionPolicy.hxx:4
TList
A doubly linked list.
Definition: TList.h:44