TNtuples in TTrees

From: nigel@kiwi.chm.bnl.gov
Date: Tue Sep 21 1999 - 15:46:36 MEST


Dear Roottalk,
	      I tried to put a TNtuple into a TTree, using the following
code

   TNtuple nt("ntuple","Big Ntuple","run:evt:sen");
   TTree *acc=new TTree("acc","Acceptance");
   TBranch *br_nt;
   br_nt=acc->Branch("ntuple","TNtuple",&nt);


and got the following responce

Error in <TClass::New>: no default ctor for class TPacketGenerator

 *** Break *** segmentation violation

Does this mean it is impossible to put TNtuples into TTrees? TNtuple
is derived from TObject so why doesn't this work?


			Thanks
			Nigel



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