2d histogram problems (fwd)

From: Jeffrey Reid (jgreid@u.washington.edu)
Date: Thu Jul 15 1999 - 22:30:07 MEST


I have been having problems with TH2F::Fill in Root 2.22.06.  It seems 
that it is protected or private when it should be public.  This worked
in previous versions, did something change?


---------- Forwarded message ----------
Date: Thu, 15 Jul 1999 12:57:31 -0500 (CDT)
From: Herb Ward <ward@physics.utexas.edu>
Reply-To: starsoft-l@bnl.gov
To: starsoft-l@bnl.gov
Subject: Re: 2d histo in root4star

J,

> You are using STAR_LEVEL : dev and ROOT_LEVEL : 2.22.06 
> root4star [0] TH2F testH("test","Test",100,0,1,100,0,1)
> root4star [1] testH.Fill(0.1,0.1)
> Error: TH2F::Fill is private or protected FILE:/var/tmp/caa0MzEe7_cint
> LINE:1
> (unknown)12
> *** Interpreter error recovered ***

I added two commands to yours and elicited a crash:

root> TH2F testH("test","Test",100,0,1,100,0,1)
root> testH.Fill(0.1,0.1)
...
root> TH2F testH999("test","Test",100,0,1,100,0,1)
root> testH999.Fill(0.1,0.1)
Error: TH2F::Fill is private or protected FILE:/tmp/29451eaa_cint LINE:1
*** Break *** segmentation violation
------------------------------------------

---------------------------------------------------------------------
Jeffrey G Reid  |  jgreid@u.washington.edu  |  UW Nuclear Physics Lab
=====================================================================



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:35 MET