On 24 Sep 97 at 14:24, Stephen_Eichblatt wrote: > Hi, In reference to the discussion about a root2h program, I think > this would be a useful tool for our collaboration, enabling PAW > users to use a ROOT-based system without learning ROOT or C++. > > It would be even more useful to have a root2datastream, where the > format of datastream was well-defined and "easy" to read, ie not > requiring any special library to read (maybe ASCII). This would > allow people to convert root files into anything that they wanted, > including hbook files, matlab files, or something else. Actually one always can use printf C subroutine (or another C/C++ "standard" I/O functions to generate any ASCII (or binary) output from within ROOT macro (or interactive session) he likes. And then apply gRoot->Exec(" Shell command") to launch something but ROOT (see root/tutorials/rootalias.C as a patern). I see no task here for ROOT team. It could be done on the user level (ROOT-based application). One can create for his users this system. It seems ROOT has provided all features one needs to implement it. I assume it is quite complicate to find an universal solution, namely "format of datastream" to describe ANY C++ object but C++ itself. With my regards, Valery ================================================================= Dr. Valery Fine Telex : 911621 dubna su ----------- LCTA/Joint Inst.for NuclearRes Phone : +7 09621 6 40 80 141980 Dubna, Moscow region Fax : +7 09621 6 51 45 Russia mailto:fine@main1.jinr.dubna.su Dr. Valeri Faine ------------ Phone: +41 22 767 6468 CERN FAX : +41 22 767 7910 CH-1211 Geneva, 23 mailto:fine@mail.cern.ch Switzerland http://nicewww.cern.ch/~fine
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET