Topher, I'm sorry, that's a bug in PyROOT when getting the global. I'll fix it later (I'm working on your TMatrixD issues right now :) ). Below first a recipe to get you going. > ROOT.gROOT.ProcessLine("TVirtualFitter *fitter = TVirtualFitter::GetFitter()") > fitter = ROOT.gROOT.GetGlobal( "fitter", 1 ) The above is your workaround for static functions, no? (I actually have code to implement static functions, thanks to Scott Snyder, but haven't had time to get it vetted and into the repository.) Anyway, please use the C++ style workaround: fitter = ROOT.TVirtualFitter.GetFitter( ROOT.TVirtualFitter() ) which effectively gets translated into: TVirtualFitter().GetFitter() which CINT in turn properly handles. Your example (getting the parameters from the Gauss) then work fine (for me anyway). 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