[ROOT] PARAMETER 22 IS UNDEFINED. IGNORED.

From: Patrick Dupre LCMI (pdupre@labs.polycnrs-gre.fr)
Date: Thu May 04 2000 - 04:09:11 MEST


Hello,

I use Tfitter.


First, I initialize 22 paramters:
  for (UInt_t i = 0 ; i < nb_par ; i++) NLFit -> SetParameter (i, "", par [i], dpar [i], 0, 0) ;

and then I fix all of then by:
  NLFit -> ExecuteCommand ("FIX", fix_arglist, nb_parf) ;

It is fine, of coursethere is no fitting.

Then, I redo the same with my 22 paramters (after clearing of course) and
I fix only 21 paramters (from 2 to 22) and I get :
# NB Par (nb_par)22
 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1              0.00000e+00  1.00000e-04     no limits
     2              2.51271e+04  4.00000e-04     no limits
     3              2.73390e-01  2.73390e-02     no limits
     4              4.00000e-03  4.00000e-04     no limits
     5              2.51272e+04  4.00000e-04     no limits
     6              6.24100e-02  6.24100e-03     no limits
     7              4.00000e-03  4.00000e-04     no limits
     8              2.51272e+04  4.00000e-04     no limits
     9              1.96240e-01  1.96240e-02     no limits
    10              4.00000e-03  4.00000e-04     no limits
    11              2.51274e+04  4.00000e-04     no limits
    12              1.50540e-01  1.50540e-02     no limits
    13              4.00000e-03  4.00000e-04     no limits
    14              2.51274e+04  4.00000e-04     no limits
    15              2.97600e-02  2.97600e-03     no limits
    16              4.00000e-03  4.00000e-04     no limits
    17              2.51275e+04  4.00000e-04     no limits
    18              1.45780e-01  1.45780e-02     no limits
    19              4.00000e-03  4.00000e-04     no limits
    20              2.51276e+04  4.00000e-04     no limits
    21              1.14590e-01  1.14590e-02     no limits
    22              4.00000e-03  4.00000e-04     no limits
 MINUIT USER ERROR.   TOO MANY VARIABLE PARAMETERS.
 **********
 **    2 **FIX           2           3           4           5
 ***********
           6
           7
           8
           9
          10
          11
          12
          13
          14
          15
          16
          17
          18
          19
          20
          21
          22
 **********
 PARAMETER  22  IS UNDEFINED. IGNORED.
 **********

What is going on ?
Why paramters 22 is undefined ? just before ROOT gives my the right value ?
This is due to:
 NLFit -> ExecuteCommand ("FIX", fix_arglist, nb_parf) ;
with arglist (nb_parf = 21):
0: 2
1: 3
2: 4
3: 5
4: 6
5: 7
6: 8
7: 9
8: 10
9: 11
10: 12
11: 13
12: 14
13: 15
14: 16
15: 17
16: 18
17: 19
18: 20
19: 21
20: 22

but why ?

Thank.

-- 
---
==============================================================================
   Patrick DUPRE                |   |   Tel:  (33 4) 76-88-78-51
   CNRS/LCMI (GHMFL)            |   |   Fax:  (33 4) 76-85-56-10
   25 Rue des Martyrs, BP 166   |   |   http://eschyle.polycnrs-gre.fr
   F-38042 GRENOBLE Cedex 09    |   |   email: pdupre@polycnrs-gre.fr
==============================================================================



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:24 MET