[ROOT] Tree MakeSelector problem

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Fri Feb 15 2002 - 13:01:03 MET


Hi,
I admit I haven't used the MakeSelector up to now, but ...
The root is 3.02/07 on a RH6.2/i386 and egcs-1.1.2.
The source codes "z1selector.[Ch]" have been created from an TNtuple :
	SM->MakeSelector("z1selector")
Then my small script z1b.cxx contains something like :
	void z1b(void)
	{
	  TFile *f = new TFile("BlaBla.root");		// line 17
	  TNtuple *nSM = (TNtuple *)f->Get("SM");
	  TNtuple *nNS = (TNtuple *)f->Get("NS");
	(...)
	  nSM->Process("z1selector.C","250");		// line 36
	  nNS->Process("z1selector.C","250");		// line 37
	(...)                                		// line 38
	}
and I get :
-------------------
(...)
root [0] .x z1b.cxx
Warning: Interpreted class z1selector derived from precompiled class TSelector FILE:z1selector.h LINE:17
!!!There are some limitations regarding compiled/interpreted class inheritance
Function z1b() busy. loaded after "/......././z1b.cxx"
Error: G__unloadfile() Can not unload "/......././z1b.cxx", file busy FILE:z1b.cxx LINE:37
*** Interpreter error recovered ***
Function z1b() busy. loaded after "/......././z1b.cxx"
Error: G__unloadfile() Can not unload "/......././z1b.cxx", file busy FILE:z1b.cxx LINE:38
*** Interpreter error recovered ***
(...)
-------------------
Is this normal ? For the beginning I did not change anything in the
MakeSelector generated files.
Thanks in advance,
Jacek.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET