Re: [ROOT] 2D Histogram.

From: Frankland John (frankland@ganil.fr)
Date: Tue Jul 01 2003 - 15:10:13 MEST


Hi Avi

>
> TH2F *Track_Banch=new TH2F("Track_Banch","Track Numbers vs. BanchNumbers - 5.9 GeV/c" , 1000 , 0 , 50 , 1000 , 0 , 20);
>  
>
Why do you need such precision (1000 bins) for integer numbers ?
Surely "new TH2F("...","...",50,0,50,20,0,20)" or 
"...51,-0.5,50.5,21,-0.5,20.5)"
would be more reasonable ?

>
> I got this error:
>
> Warning in <TH2F::Fill(Axis_t, Stat_t)>: may not use this method
>  
>
But what was the TH2F::Fill command which provoked this error ?
Can you send the (excerpt from the) script ?
Cheers
John

-- 
John D. Frankland
Beam Coordinator
GANIL
B.P. 55027
14076 CAEN Cedex 05

tel: +33 (0)231454628
fax: +33 (0)231454665



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