[ROOT] 2D Histogram.

From: Avi Malki (malki@tauphy.tau.ac.il)
Date: Tue Jul 01 2003 - 11:33:33 MEST


 Hi all,

 How can i fill a two dimensional histogram with two integer numbers, for
 floating point this  works fine, but for two integer number it doesn't
seem to work.


 Int_t banch_num ,  total_track_num  //This is the two variables

 TH2F *Track_Banch=new TH2F("Track_Banch","Track Numbers vs. BanchNumbers - 5.9 GeV/c" , 1000 , 0 , 50 , 1000 , 0 , 20);


 I got this error:

 Warning in <TH2F::Fill(Axis_t, Stat_t)>: may not use this method

**********************************************************************


 I try to change the TH2F to TH2S is still dont working.

 Warning in <TH2S::Fill(Axis_t, Stat_t)>: may not use this method

 I notice that if i fill integer number to one dimensional
histogram is working fine.

 Best Regards
  Avi.


-------------------------------------------------------------------
Avi Malki
Department of Nuclear Physics
School of Physics and Astronomy
Tel-Aviv University
Israel

University  -  Phone : 972-3-6407415     Fax : 972-3-6406369
Home        -  Phone : 972-3-5081734

E-Mail: malki@tauphy.tau.ac.il
WWW   : http://www-nuclear.tau.ac.il/~malki/
-------------------------------------------------------------------



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