Use the TH1 Fill functions with a weigth: TH1::Fill(Axis_t x, Stat_t w) for 1-d histograms TH2::Fill(Axis_t x, Axis_t y, Stat_t w) for 2-d histograms TH3::Fill(Axis_t x, Axis_t y, Axis_t z, Stat_t w) for 3-d histograms Rene Brun Avi Malki wrote: > > Hi all, > > how can i fill histogram with weight on y axis? > > Best Regards > Avi. > > ------------------------------------------------------------------- > Avi Malki > Department of Nuclear Physics > School of Physics and Astronomy > Tel-Aviv University > Israel > > Phone : 972-3-6407415 > Fax : 972-3-6406369 > E-Mail: malki@tauphy.tau.ac.il > WWW : http://www-nuclear.tau.ac.il/~malki/ > -------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:12 MET