Re: [ROOT] No. of 1D histos

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Sep 13 2002 - 07:41:53 MEST


Hi Jyothsna,

There are no such limitations in Root.
You are probably using a null pointer somewhere.

Rene Brun

On Fri, 13 Sep 2002, Jyothsna Rani wrote:

> 
> Hi,
> 
> How many no.of 1d histos I'm supposed to book ???
> 
> I book 26 histos as following:
> 
> TH1F *Mj1j2[26];
> Mj1j2[0] = new TH1F("Mj1j2_0","",100,0.,250.);
> Mj1j2[1] = new TH1F("Mj1j2_1","",100,0.,250.);
> .............................................
> Mj1j2[25] = new TH1F("Mj1j2_25","",100,0.,250.);
> 
> When I want to use loop over certain no.of events and fill the histos, I
> get error message like:
> 
>  *** Break *** segmentation violation
> Root > Function Loop() busy flag cleared
> 
> 
> The same macro works fine if I book only 12 histos in the same way as
> above.
> 
> Is there any upper limit??
> 
> I'm using root: Linux-2-4/v3_03_07dKCC_4_0
> 
> Thanks a lot for any help.
> Jyothsna
> 
>    -------------------------------------------------------------
>         K. Jyothsna Rani,       Phone Number:
>         Tata Institute,                 630-840-3590 (Office)
>         DZero Experiment,               630-840-4236 (Residence)
>         Mail Station : 352,     FAX:
>         P.O.Box : 500,                  630-840-8481
>         Fermilab,               E-mail:
>         Batavia, IL - 60510             jyothsna@fnal.gov
>   ---------------------------------------------------------------
> 
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:09 MET