Bug in TChain::GetTree() ?

From: sven schagen (h31@nikhef.nl)
Date: Tue Jun 09 1998 - 17:25:07 MEST


Dear All,


First of all, I hope that this bug has not been reported before (I
thought it might have been, but I can't find it so....)

After an upgrade from 1.03 to 2.00 I found that some of my programs
didnt work anymore. 
After working out different possible causes, I found that the core of
the error seems to be that TChain::CloneTree() by default (and always) a
NULL Pointer returns.

For instance:

// Usual stuff and declarations
.....

	TChain mychain("h1");
	mychain.Add("somefile");
	mychain.Draw("some_variable_from_somefile");
	cout << mychain.GetTree();

.....

The output will then be that some_variable_from_somefile will be plotted
, but the output of cout will be 0x0, the NULL pointer.

So my question now is: is this a bug ?

With regard,

Sven Schagen

-- 
**********************************************************************

Sven E.S. Schagen			Zeus Analysis
Bladmoshof 6 				NIKHEF Amsterdam
1441 LN Purmerend			Kruislaan 409
The Netherlands				1098 SJ Amsterdam
(0)299 436995				The Netherlands
					(0)20 592 5025

Student of Physics,		Don't turn your back on your friend,
University of Amsterdam		no matter what!
(schagen@beta.uva.nl)			-Call Upon My Brothers
						Ignite

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



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