[ROOT] fBits and fUniqueID

From: Axel Naumann (axel@fnal.gov)
Date: Tue Jan 08 2002 - 02:23:21 MET


Hi,

I suppose there's an easy answer, but I can't find it:

gSystem->Load("libPhysics.so");
TTree *t1 = new TTree("t1","t1");
TLorentzVector *plv = new TLorentzVector(0.,1.,2.,3.);
TClonesArray *pca = new TClonesArray("TLorentzVector");
t1->Branch("lv1","TClonesArray",&pca,1000,99);
t1->Branch("lv2","TLorentzVector",&plv,1000,99);
t1->Print();

fBits and fUniqueID are gone in both cases. Why? And why doesn't it help to
specify IgnoreObjectStreamer(kFALSE) on TLorentzVector? Is it because
TLorentzVector has its own Streamer implementation (or an old one, without
"+")? If so, is that really necessary? The lack of these TObject members
means that TRef doesn't work on any class deriving from TLorentzVector...

Cheers, Axel.



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