Satyajit Jena | 30 Jun 2012 12:18
Picon
Picon

Dimension of THnSparse

Dear Root Experts,

I wonder about the maximum dimension of a THnSparse. When I create an
object of THnSparse with more then 16 dimensions, it is having an problem
while opening in TBrowser and it shows me only 16 axises.

However nor it complains, neither gives any error during creation and filling.

Could you please have a look. I am attaching a demo macro. Following are the 
errors with ndim = 20; but it works well when ndim < 17; generated by attached
macro.

With regards,
satya
-----------------------------------------------
root [0] TBrowser v
root [1] (class TFile*)0x103c09090
Error in <TObjArray::operator[]>: index 16 out of bounds (size: 16, this: 0x1042516b0)
Error in <TObjArray::operator[]>: index 17 out of bounds (size: 16, this: 0x1042516b0)
Error in <TObjArray::operator[]>: index 18 out of bounds (size: 16, this: 0x1042516b0)
Error in <TObjArray::operator[]>: index 19 out of bounds (size: 16, this: 0x1042516b0)

Attachment (sparse.C): application/octet-stream, 580 bytes
Axel Naumann | 2 Jul 2012 11:02
Picon
Picon

Re: Dimension of THnSparse

Hi Satya,

Thanks for reporting! This is now fixed in the trunk and v5-34-patches. 
Note that this does not affect the integrity of the THnSparse, but only 
its interaction with TBrowser.

Cheers, Axel.

On 06/30/2012 12:18 PM, Satyajit Jena wrote:
> Dear Root Experts,
>
> I wonder about the maximum dimension of a THnSparse. When I create an
> object of THnSparse with more then 16 dimensions, it is having an problem
> while opening in TBrowser and it shows me only 16 axises.
>
> However nor it complains, neither gives any error during creation and
> filling.
>
> Could you please have a look. I am attaching a demo macro. Following are
> the
> errors with ndim = 20; but it works well when ndim < 17; generated by
> attached
> macro.
>
> With regards,
> satya
> -----------------------------------------------
> root [0] TBrowser v
> root [1] (class TFile*)0x103c09090
> Error in <TObjArray::operator[]>: index 16 out of bounds (size: 16,
> this: 0x1042516b0)
> Error in <TObjArray::operator[]>: index 17 out of bounds (size: 16,
> this: 0x1042516b0)
> Error in <TObjArray::operator[]>: index 18 out of bounds (size: 16,
> this: 0x1042516b0)
> Error in <TObjArray::operator[]>: index 19 out of bounds (size: 16,
> this: 0x1042516b0)
>

N. Kulkarni | 2 Jul 2012 17:11
Favicon

Re: Dimension of THnSparse

Please remove me from this mailing list. I don't know why am I getting these emails at all.
Regards,
au2442


On 6/30/12 6:18 AM, Satyajit Jena wrote:
Dear Root Experts,

I wonder about the maximum dimension of a THnSparse. When I create an
object of THnSparse with more then 16 dimensions, it is having an problem
while opening in TBrowser and it shows me only 16 axises.

However nor it complains, neither gives any error during creation and filling.

Could you please have a look. I am attaching a demo macro. Following are the 
errors with ndim = 20; but it works well when ndim < 17; generated by attached
macro.

With regards,
satya
-----------------------------------------------
root [0] TBrowser v
root [1] (class TFile*)0x103c09090
Error in <TObjArray::operator[]>: index 16 out of bounds (size: 16, this: 0x1042516b0)
Error in <TObjArray::operator[]>: index 17 out of bounds (size: 16, this: 0x1042516b0)
Error in <TObjArray::operator[]>: index 18 out of bounds (size: 16, this: 0x1042516b0)
Error in <TObjArray::operator[]>: index 19 out of bounds (size: 16, this: 0x1042516b0)


Paul Prichard | 2 Jul 2012 17:13
Picon

Re: Dimension of THnSparse

unsubscribe







Gmane