Re: [ROOT] TTree::MAkeClass() method

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 01 2001 - 16:19:37 MET


Hi Aleksej,

A few problems in TTree::MakeClass have been fixed in 3.01, then in 3.02.
I suggest you move to the latest versions.
If you want to send me one of your Root files, I can check that the
code generation is OK with our latest version.

Rene Brun

Aleksej Abyzov wrote:
> 
>                 Hi!
>         While creating klass for analizing tree I've got the following
> messege
> 
>   *******************************************
>   *                                         *
>   *        W E L C O M E  to  R O O T       *
>   *                                         *
>   *   Version   3.00/06   11 October 2001   *
>   *                                         *
>   *  You are welcome to visit our Web site  *
>   *          http://root.cern.ch            *
>   *                                         *
>   *******************************************
> 
> Compiled with thread support.
> 
> CINT/ROOT C/C++ Interpreter version 5.14.79, Feb 24 2001
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> 
> Welcome to the ROOT mister Abyzov :)!
> 
> Loading 'libPhysics.so' library ...
> Loading 'libEG.so' library ...
> Creating style 'My_default' ...
> Creating style 'My_report' ...
> root [0] new TBrowser
> (class TBrowser*)0x88428f0
> root [1] h1.Print()
> ******************************************************************************
> *Tree    :h1        : generated
> *
> *Entries :     9212 : Total =         4143383 bytes  File  Size =
> 1916655 *
> *        :          : Tree compression factor =   2.18
> *
> ******************************************************************************
> *Br    0 :Npartons  : Npartons/I
> *
> *Entries :     9212 : Total  Size=      31988 bytes  File Size  =
> 4760 *
> *Baskets :        4 : Basket Size=       8000 bytes  Compression=   6.72
> *
> *............................................................................*
> *Br    1 :Kf_gen    : Kf_gen[Npartons]/I
> *
> *Entries :     9212 : Total  Size=     554670 bytes  File Size  =
> 124239 *
> *Baskets :       74 : Basket Size=       8000 bytes  Compression=   4.46
> *
> *............................................................................*
> *Br    2 :Ks_gen    : Ks_gen[Npartons]/I
> *
> *Entries :     9212 : Total  Size=     554670 bytes  File Size  =
> 70020 *
> *Baskets :       74 : Basket Size=       8000 bytes  Compression=   7.92
> *
> *............................................................................*
> *Br    3 :Px_gen    : Px_gen[Npartons]/F
> *
> *Entries :     9212 : Total  Size=     554670 bytes  File Size  =
> 378650 *
> *Baskets :       74 : Basket Size=       8000 bytes  Compression=   1.46
> *
> *............................................................................*
> *Br    4 :Py_gen    : Py_gen[Npartons]/F
> *
> *Entries :     9212 : Total  Size=     554670 bytes  File Size  =
> 378883 *
> *Baskets :       74 : Basket Size=       8000 bytes  Compression=   1.46
> *
> *............................................................................*
> *Br    5 :Pz_gen    : Pz_gen[Npartons]/F
> *
> *Entries :     9212 : Total  Size=     554670 bytes  File Size  =
> 374437 *
> *Baskets :       74 : Basket Size=       8000 bytes  Compression=   1.48
> *
> *............................................................................*
> *Br    6 :Pe_gen    : Pe_gen[Npartons]/F
> *
> *Entries :     9212 : Total  Size=     554670 bytes  File Size  =
> 373013 *
> *Baskets :       74 : Basket Size=       8000 bytes  Compression=   1.49
> *
> *............................................................................*
> *Br    7 :Pm_gen    : Pm_gen[Npartons]/F
> *
> *Entries :     9212 : Total  Size=     554670 bytes  File Size  =
> 98084 *
> *Baskets :       74 : Basket Size=       8000 bytes  Compression=   5.66
> *
> *............................................................................*
> *Br    8 :Iev_bb_gen : Iev_bb_gen/I
> *
> *Entries :     9212 : Total  Size=      31996 bytes  File Size  =
> 11484 *
> *Baskets :        4 : Basket Size=       8000 bytes  Compression=   2.79
> *
> *............................................................................*
> *Br    9 :Iev_gen   : Iev_gen/I
> *
> *Entries :     9212 : Total  Size=      31984 bytes  File Size  =
> 11472 *
> *Baskets :        4 : Basket Size=       8000 bytes  Compression=   2.79
> *
> *............................................................................*
> *Br   10 :Iproc_gen : Iproc_gen/I
> *
> *Entries :     9212 : Total  Size=      31992 bytes  File Size  =
> 2990 *
> *Baskets :        4 : Basket Size=       8000 bytes  Compression=  10.70
> *
> *............................................................................*
> *Br   11 :Pthard_gen : Pthard_gen/F
> *
> *Entries :     9212 : Total  Size=      31996 bytes  File Size  =
> 28635 *
> *Baskets :        4 : Basket Size=       8000 bytes  Compression=   1.12
> *
> *............................................................................*
> *Br   12 :Mrpy_2    : Mrpy_2/I
> *
> *Entries :     9212 : Total  Size=      31996 bytes  File Size  =
> 397 *
> *Baskets :        4 : Basket Size=       8000 bytes  Compression=  80.59
> *
> *............................................................................*
> *Br   13 :Mrpy_3    : Mrpy_3/I
> *
> *Entries :     9212 : Total  Size=      31996 bytes  File Size  =
> 22846 *
> *Baskets :        4 : Basket Size=       8000 bytes  Compression=   1.40
> *
> *............................................................................*
> root [2] h1->MakeClass()
> ERROR leaf:Kf_gen, len=728738744 and max=1000
> ERROR leaf:Ks_gen, len=728738744 and max=1000
> ERROR leaf:Px_gen, len=728738744 and max=1000
> ERROR leaf:Py_gen, len=728738744 and max=1000
> ERROR leaf:Pz_gen, len=728738744 and max=1000
> ERROR leaf:Pe_gen, len=728738744 and max=1000
> ERROR leaf:Pm_gen, len=728738744 and max=1000
> ERROR leaf:Kf_gen, len=728738744 and max=1000
> ERROR leaf:Ks_gen, len=728738744 and max=1000
> ERROR leaf:Px_gen, len=728738744 and max=1000
> ERROR leaf:Py_gen, len=728738744 and max=1000
> ERROR leaf:Pz_gen, len=728738744 and max=1000
> ERROR leaf:Pe_gen, len=728738744 and max=1000
> ERROR leaf:Pm_gen, len=728738744 and max=1000
> ERROR leaf:Kf_gen, len=728738744 and max=1000
> ERROR leaf:Ks_gen, len=728738744 and max=1000
> ERROR leaf:Px_gen, len=728738744 and max=1000
> ERROR leaf:Py_gen, len=728738744 and max=1000
> ERROR leaf:Pz_gen, len=728738744 and max=1000
> ERROR leaf:Pe_gen, len=728738744 and max=1000
> ERROR leaf:Pm_gen, len=728738744 and max=1000
> Files: h1.h and h1.C generated from Tree: h1
> (Int_t)0
> root [3]
> =============================================================================
>         Can it influence mu future analizise? If it can is anybody knows
> how to avoid such error?
> 
>     With best regards
>     Mit freundlichen Gruessen
> 
>                                                  Alex Abyzov
> -----------------------------------------------------------------------
> -     Deutsches Elektronen Synchrotron (DESY), Hamburg, Germany       -
> -                 collaboration HERA-B                                -
> -                 office HERA-B bld. 61/110                           -
> -                 office phone +49 40 8998-2844                       -
> -----------------------------------------------------------------------



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