Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
22namespace Minuit2 {
23
24class MinimumState;
25class MnUserParameterState;
26
27} // namespace Minuit2
28} // namespace ROOT
29
31
32public:
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
#define ClassDef(name, id)
Definition Rtypes.h:325
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
class which holds the external user and/or internal Minuit representation of the parameters and error...
TH1 is the base class of all histogram classes in ROOT.
Definition TH1.h:58
A doubly linked list.
Definition TList.h:38
virtual void Init(const ROOT::Minuit2::MnUserParameterState &state)
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:51
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...