Re: [ROOT] h2root segmentation error message

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jul 11 2003 - 09:21:11 MEST


Hi Zaldy,

I have no problems in converting your Hbook file via h2root.
See results in the attachement.
I checked that the file is readable.

Note that the Root file is 3.5 times smaller than the Hbook file !

Rene Brun

zaldy wrote:
> 
> Dear Root Experts,
> 
> I would like to report a segmentation problem using root's h2root.
> Pls see URL:
> http://neutrino.kek.jp/~zaldy/root_work/MyRootFaq/h2root_msg.txt
> 
> ROOT Version: 3.05/05   8 May 2003
> gcc 3.2.2 Red Hat Linux 3.2.2-5
> Yet I still have the root file. Is this not a serious problem?
> 
> On the other hand, I did not encounter this problem in the older version
> 3.04/02 18 December 2002
> gcc egcs-2.91.66 19990314/Linux(egcs-1.1.2 release)
> 
> --
> 
> --------------------------------------------------------
>                    Zaldy A. Nawang
>                    PS Users Room 2
>                    Yon Gokan,
>                    E362, Neutrino Group,
>                    IPNS, KEK,
>                    Japan
> 
>                    e-mail: zaldy@neutrino.kek.jp
>                    Tel. No. : (81) 029864 - 5387
> --------------------------------------------------------

(pcbrun.cern.ch) [164] h2root zaldy.hbook
 RZOPEN. Cannot determine record length -  EXCHANGE mode is used.
 Converting directory //example
 Converting CWN with ID= 1, nentries = 3833
Creating branch:Run, block:RUN, fullname:Run/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Srun, block:RUN, fullname:Srun/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Spill, block:RUN, fullname:Spill/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Event, block:RUN, fullname:Event/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Year, block:RUN, fullname:Year/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Month, block:RUN, fullname:Month/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Day, block:RUN, fullname:Day/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Hour, block:RUN, fullname:Hour/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Minute, block:RUN, fullname:Minute/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Sec, block:RUN, fullname:Sec/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Elday, block:RUN, fullname:Elday/F, nsub=0, itype=1, isize=4, ielem=1
Creating branch:Idtrig, block:RUN, fullname:Idtrig/i, nsub=0, itype=3, isize=4, ielem=1
Creating branch:Tid, block:HITT, fullname:Tid[2][4][48]/i, nsub=3, itype=3, isize=4, ielem=384
Creating branch:Tlen, block:HITT, fullname:Tlen[2][4][48]/i, nsub=3, itype=3, isize=4, ielem=384
Creating branch:Tid2, block:HITT, fullname:Tid2[4]/i, nsub=1, itype=3, isize=4, ielem=4
Creating branch:Tlen2, block:HITT, fullname:Tlen2[4]/i, nsub=1, itype=3, isize=4, ielem=4
Creating branch:Nhitt, block:HITT, fullname:Nhitt/I, nsub=0, itype=2, isize=4, ielem=1
Creating branch:Tflag, block:HITT, fullname:Tflag[Nhitt]/i, nsub=1, itype=3, isize=4, ielem=1024
Creating branch:Traw, block:HITT, fullname:Traw[Nhitt]/i, nsub=1, itype=3, isize=4, ielem=1024
Creating branch:Treal, block:HITT, fullname:Treal[Nhitt]/F, nsub=1, itype=1, isize=4, ielem=1024
Creating branch:Qid, block:HITQ, fullname:Qid[2][4][48]/i, nsub=3, itype=3, isize=4, ielem=384
Creating branch:Qlen, block:HITQ, fullname:Qlen[2][4][48]/i, nsub=3, itype=3, isize=4, ielem=384
Creating branch:Nhitq, block:HITQ, fullname:Nhitq/I, nsub=0, itype=2, isize=4, ielem=1
Creating branch:Qflag, block:HITQ, fullname:Qflag[Nhitq]/i, nsub=1, itype=3, isize=4, ielem=1024
Creating branch:Qraw, block:HITQ, fullname:Qraw[Nhitq]/i, nsub=1, itype=3, isize=4, ielem=1024
Creating branch:Qreal, block:HITQ, fullname:Qreal[Nhitq]/F, nsub=1, itype=1, isize=4, ielem=1024
Creating branch:Pe, block:HITQ, fullname:Pe[Nhitq]/F, nsub=1, itype=1, isize=4, ielem=1024
******************************************************************************
*Tree    :h1        : MINISCIBAR                                             *
*Entries :     3833 : Total =        30710107 bytes  File  Size =    4996284 *
*        :          : Tree compression factor =   6.04                       *
******************************************************************************
*Br    0 :Run       : Run/i                                                  *
*Entries :     3833 : Total  Size=      27786 bytes  File Size  =         98 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  81.59     *
*............................................................................*
*Br    1 :Srun      : Srun/i                                                 *
*Entries :     3833 : Total  Size=      27793 bytes  File Size  =         97 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  82.44     *
*............................................................................*
*Br    2 :Spill     : Spill/i                                                *
*Entries :     3833 : Total  Size=      27800 bytes  File Size  =         99 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  80.79     *
*............................................................................*
*Br    3 :Event     : Event/i                                                *
*Entries :     3833 : Total  Size=      27800 bytes  File Size  =       3424 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=   2.34     *
*............................................................................*
*Br    4 :Year      : Year/i                                                 *
*Entries :     3833 : Total  Size=      27793 bytes  File Size  =         98 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  81.60     *
*............................................................................*
*Br    5 :Month     : Month/i                                                *
*Entries :     3833 : Total  Size=      27800 bytes  File Size  =         99 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  80.79     *
*............................................................................*
*Br    6 :Day       : Day/i                                                  *
*Entries :     3833 : Total  Size=      27786 bytes  File Size  =         97 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  82.43     *
*............................................................................*
*Br    7 :Hour      : Hour/i                                                 *
*Entries :     3833 : Total  Size=      27793 bytes  File Size  =         98 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  81.60     *
*............................................................................*
*Br    8 :Minute    : Minute/i                                               *
*Entries :     3833 : Total  Size=      27807 bytes  File Size  =        114 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  70.17     *
*............................................................................*
*Br    9 :Sec       : Sec/i                                                  *
*Entries :     3833 : Total  Size=      27786 bytes  File Size  =        731 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  10.94     *
*............................................................................*
*Br   10 :Elday     : Elday/F                                                *
*Entries :     3833 : Total  Size=      27800 bytes  File Size  =        173 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  46.23     *
*............................................................................*
*Br   11 :Idtrig    : Idtrig/i                                               *
*Entries :     3833 : Total  Size=      27807 bytes  File Size  =        583 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=  13.72     *
*............................................................................*
*Br   12 :Tid       : Tid[2][4][48]/i                                        *
*Entries :     3833 : Total  Size=    5948922 bytes  File Size  =     303520 *
*Baskets :      766 : Basket Size=       8000 bytes  Compression=  19.53     *
*............................................................................*
*Br   13 :Tlen      : Tlen[2][4][48]/i                                       *
*Entries :     3833 : Total  Size=    5949694 bytes  File Size  =     289897 *
*Baskets :      766 : Basket Size=       8000 bytes  Compression=  20.45     *
*............................................................................*
*Br   14 :Tid2      : Tid2[4]/i                                              *
*Entries :     3833 : Total  Size=      74185 bytes  File Size  =      10283 *
*Baskets :        7 : Basket Size=       8000 bytes  Compression=   5.44     *
*............................................................................*
*Br   15 :Tlen2     : Tlen2[4]/i                                             *
*Entries :     3833 : Total  Size=      74198 bytes  File Size  =       6597 *
*Baskets :        7 : Basket Size=       8000 bytes  Compression=   8.49     *
*............................................................................*
*Br   16 :Nhitt     : Nhitt/I                                                *
*Entries :     3833 : Total  Size=      27800 bytes  File Size  =       2538 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=   3.15     *
*............................................................................*
*Br   17 :Tflag     : Tflag[Nhitt]/i                                         *
*Entries :     3833 : Total  Size=     416078 bytes  File Size  =      15479 *
*Baskets :       52 : Basket Size=       8000 bytes  Compression=  25.66     *
*............................................................................*
*Br   18 :Traw      : Traw[Nhitt]/i                                          *
*Entries :     3833 : Total  Size=     416020 bytes  File Size  =     247473 *
*Baskets :       52 : Basket Size=       8000 bytes  Compression=   1.61     *
*............................................................................*
*Br   19 :Treal     : Treal[Nhitt]/F                                         *
*Entries :     3833 : Total  Size=     416085 bytes  File Size  =     302757 *
*Baskets :       52 : Basket Size=       8000 bytes  Compression=   1.31     *
*............................................................................*
*Br   20 :Qid       : Qid[2][4][48]/i                                        *
*Entries :     3833 : Total  Size=    5948922 bytes  File Size  =     623746 *
*Baskets :      766 : Basket Size=       8000 bytes  Compression=   9.51     *
*............................................................................*
*Br   21 :Qlen      : Qlen[2][4][48]/i                                       *
*Entries :     3833 : Total  Size=    5949694 bytes  File Size  =     236318 *
*Baskets :      766 : Basket Size=       8000 bytes  Compression=  25.09     *
*............................................................................*
*Br   22 :Nhitq     : Nhitq/I                                                *
*Entries :     3833 : Total  Size=      27800 bytes  File Size  =       2849 *
*Baskets :        1 : Basket Size=       8000 bytes  Compression=   2.81     *
*............................................................................*
*Br   23 :Qflag     : Qflag[Nhitq]/i                                         *
*Entries :     3833 : Total  Size=    1282044 bytes  File Size  =      80952 *
*Baskets :      163 : Basket Size=       8000 bytes  Compression=  15.59     *
*............................................................................*
*Br   24 :Qraw      : Qraw[Nhitq]/i                                          *
*Entries :     3833 : Total  Size=    1281875 bytes  File Size  =     613494 *
*Baskets :      163 : Basket Size=       8000 bytes  Compression=   2.06     *
*............................................................................*
*Br   25 :Qreal     : Qreal[Nhitq]/F                                         *
*Entries :     3833 : Total  Size=    1282051 bytes  File Size  =    1108962 *
*Baskets :      163 : Basket Size=       8000 bytes  Compression=   1.14     *
*............................................................................*
*Br   26 :Pe        : Pe[Nhitq]/F                                            *
*Entries :     3833 : Total  Size=    1281544 bytes  File Size  =    1145708 *
*Baskets :      163 : Basket Size=       8000 bytes  Compression=   1.10     *
*............................................................................*
TFile**         zaldy.root      HBOOK file: zaldy.hbook converted to ROOT
 TFile*         zaldy.root      HBOOK file: zaldy.hbook converted to ROOT
  KEY: TTree    h1;1    MINISCIBAR
(pcbrun.cern.ch) [165] ls -l zaldy.*
-rw-r--r--    1 brun     vp       17948672 Jul 11 09:11 zaldy.hbook
-rw-r--r--    1 brun     vp        5070401 Jul 11 09:17 zaldy.root



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET