Hi Michael, We set private the TH1:Fill(Axis_t, Stat_t) for 2-d histograms to prevent confusion with the function filling a 1-d histogram. Use TH1::Fill(Axis_t,Axis_t,1.) in your case. Rene Brun M. Sievers wrote: > > Hello, > > I just stumbled over the fact that I can not use two doubles to fill a > 2d-histogram. Is there a reason why this can't be done? I have to cast all > to floats as of now. Automatic conversion fails, because Fill(Axis_t, > Stat_t) is defined as protected, which is obviously tried before > Fill(Axis_t, Axis_t) when Fill is called with (Stat_t, Stat_t), i.e. two > doubles. > > Bye, > Michael > > -------------------------------------------------------------------------- > Michael Sievers > Michael.Sievers@desy.de > -------------------------------------------------------------------------- > Plug-and-Play is really nice, unfortunately it only works 50% of the time. > To be specific the "Plug" almost always works. --unknown source
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:35 MET