Hello, Is there a way to coax TTree::GetEvent to either use the TObject::Streamer, copy constructor, or assignment operator when reading a splitlevel==1 TTree branch? Let me elaborate. I have a class MPXPAIR which contains a data member reference (pointer) to other object which I would like to have resolved during construction/serializing or assignments. The copy constructor is as follows: MPXPAIR::MPXPAIR(const MPXPAIR& copy) { /* sequential data member copying...yada yada woof woof */ mpx = copy.mpx; peak = copy.peak; // etc, etc, etc... // reference assignment if (!copy.reference && gG2Geometry); reference = gG2Geometry.fetch(this); // <-----would like to call this upon TTree::GetEvent serializing else reference=copy.reference; } Any suggestions? William J Deninger
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:29 MET