[ROOT] TVirtualFitter::GetParameter error in compiled macro

From: Rosario Turrisi (rosario.turrisi@pd.infn.it)
Date: Mon Jul 16 2001 - 18:59:10 MEST


Dear Rooters,
I have a simple macro that I attach here together with an 
input data file.
When the macro is executed "interpreted",
i.e.:   root>.L Helidebug.C 
        root>Helidebug()
I get the right result.
When I compile it, i.e.:
root>.L Helidebug.C++
root>Helidebug()
(no errors or warnings during compilation)
I get a segmentation violation at the call of 
minuit->GetParameter.
I run in the standard Linux environment (6.2, gcc 2.95.2) and Root 
is v3.00.06.
Any hint very welcome...
Cheers,
	Rosario
-- 
Rosario Turrisi - *** ALICE & NA57 Collaboration ***
Dipartimento di Fisica e INFN - Padova
Tel.:+39-049-8277106 - Fax: +39-049-8762641
  " Nothing is as stupid as intelligence
    proud of itself. "
        Mikhail Bakounin


idraw..... 1 r01x...... 0.00 r01y...... 1580.00 r01z...... 0.00 r1........ 1600.00 w1........ 0.093 f1/PI..... 0.50 vp1....... 1.00 r02x...... 0.00 r02y...... -1600.00 r02z...... 0.00 r2........ 1600.00 w2........ -0.094 f2/PI..... -0.50 vp2....... 0.00 imin...... 1 t1min..... -2.00 lim/t1m... 1000.00 init1..... 11.0 init2..... 10.0 errt1..... 3.0 errt2..... 1.0 t1ll...... 0.0 t1hl...... 0.0 t2ll...... 0.0 t2hl...... 0.0



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:52 MET