Re: [ROOT] Re: running time varying with # histo

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jul 19 2004 - 18:40:30 MEST


Catherine,

It is not obvious to answer your question without having a concrete piece of
code that we can run. Your script references an external shared lib.

My guess, however, is that you are hitting a CINT optimisation limitation. CINT
dies not optimize nested loops when the inner loop has conditional sattements. I
suggest to run your script under ACLIC to see if the symptom persists.

Rene Brun

Catherine Silvestre wrote:
> 
> Hi,
> 
> I don't really know how to send the shortest script since I think that
> doing some "for" loops as in this prog and maybe the way I plot in the
> "if" conditions could have an influence on the prob of time...
> So here is the script with all the unused lines cut off. I hope it can help.
> 
> If I had a plot for example:
> TH2F *betta_momentum_solid = new TH2F("betta_momentum_solid","positive
> pion betta vs. momentum, higher momentum on solid
> target",300,0,6,300,0,1.1);
> or
> TH1F *z_leading = new TH1F("z_leading","z of pion+, z>0.5:  ",50,0,2);
> 
> anywhere to be filled in the prog, the time is *6.
> 
> I wanted to know if there was a special memory alocation after a certain
> amount of histograms plotted ?
> 
> Thank's again
> 
> Catherine.
> 
> PS: if you want something else as "the shortest file" please tell me again
> what you are looking for...
> 
>   --------------------------------------------------------------------------------
> 
>    shorter_pt_main.ccName: shorter_pt_main.cc
>                      Type: Plain Text (text/plain)



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET