Hello Rene, thank you for your quick reply. I could write and read a ROOT file. By the way, you added //|| not to split std::vector<TLorentzVector> Vect;. At page 204 of the User's manual v3.5, that is, "the Rules for Splitting", we can see that most STL containers are supported. Why do I need to add //|| to this case? Best Regards, Junichi.Tanaka@cern.ch From: Rene Brun <Rene.Brun@cern.ch> Subject: Re: [ROOT] Q: Write/Read a ROOT file with STL vector? Date: Sat, 19 Jul 2003 17:56:00 +0200 (MEST) > Hi Junichi, > > see the tar file in attachement. > A few diffs in all files. > You had two main problems > > -in MyCLinkDef.h note the "MyClass+" instead of "MyClass" > -in MyC.h note the comment field for member Vect > > Rene Brun
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET