Re: [ROOT] Accessing Minuit's error matrix using pyROOT

From: WLavrijsen@lbl.gov
Date: Wed Jul 28 2004 - 22:03:37 MEST


Topher,

some of the things you are trying to do are best interpreted by me as new
feature requests. :) That's for later.

For now, one hopefully helpful hint: the list of globals is not synchronized
under PyROOT (I haven't looked into the why of that), whereas under CINT, it
is synchronized.

Get your global with the second parameter set to 1 (ie. load = true) to force
synchronization. Note, though that gMinuit doesn't exist by default. Ie, do
something like:

 >>> import ROOT
 >>> minuit = ROOT.TMinuit()
 >>> not not ROOT.gROOT.GetGlobal( "gMinuit", 1 )
 1

(the TMinuit ctor sets gMinuit to 'this').

More later ...

HTH,
  Wim
-- 
Wim.Lavrijsen@cern.ch   --   WLavrijsen@lbl.gov   --   www.lavrijsen.net

"Stop making excuses for your software."    --first step towards quality



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET