20 TNamed(
"Minuit2TraceObject",
"ROOT Trace Object for Minuit2"),
22 fHistoFval(0), fHistoEdm(0), fHistoParList(0),
23 fOldPad(0), fMinuitPad(0)
56 fHistoFval =
new TH1D(
"minuit2_hist_fval",
"Function Value/iteration",2,0,1);
57 fHistoEdm =
new TH1D(
"minuit2_hist_edm",
"Edm/iteration",2,0,1);
63 for (
unsigned int ipar = 0; ipar < state.
Params().size(); ++ipar) {
92 if (iter == 0 && lastIter > 0)
105 for (
unsigned int ipar = 0; ipar < state.
Vec().size(); ++ipar) {
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
const MnAlgebraicVector & Vec() const
virtual void operator()(int i, const MinimumState &state)
virtual void Init(const MnUserParameterState &state)
const MnUserParameterState & UserState() const
class which holds the external user and/or internal Minuit representation of the parameters and error...
const MinuitParameter & Parameter(unsigned int i) const
const char * Name(unsigned int) const
const MnUserTransformation & Trafo() const
std::vector< double > Params() const
virtual void SetRange(Int_t first=0, Int_t last=0)
Set the viewing range for the axis from bin first to last.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
1-D histogram with a double per channel (see TH1 documentation)}
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
virtual void SetBinContent(Int_t bin, Double_t content)
Set bin content see convention for numbering bins in TH1::GetBin In case the bin number is greater th...
virtual Double_t GetEntries() const
Return the current number of entries.
virtual UInt_t SetCanExtend(UInt_t extendBitMask)
Make the histogram axes extendable / not extendable according to the bit mask returns the previous bi...
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void Add(TObject *obj)
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
virtual void Init(const ROOT::Minuit2::MnUserParameterState &state)
TMinuit2TraceObject(int parNumber=-1)
virtual void operator()(int i, const ROOT::Minuit2::MinimumState &state)
virtual ~TMinuit2TraceObject()
The TNamed class is the base class for all named ROOT classes.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Namespace for new ROOT classes and functions.