[ROOT] *.INI Files

From: Jens Berger (jberger@bnl.gov)
Date: Sun Oct 20 2002 - 03:02:14 MEST


Dear ROOT developers,

I wrote a class that reads and modifies windows style like init files. I
found it a hany tool for analysis programs. It reads, generates ascii
files in the format

[section]
variable=value

value can be various datatypes e.g.:

[TTrack]
BField=10 (int)

[TTracker]
SDPhiLimit=0.05 (float)
SDEtaLimit=0.05 (float)

[result]
File=auau_phys_off.dat (string)


You can find it together with a small ./test example (current root, Linux) at:
http://www.star.bnl.gov/~jberger/tmp/TInitFile/

Let me know if you consider this, or something like this to be implemented
in ROOT...

Thanks, Jens

----------------------------------------------------------------------
Jens Berger                  email IKF : jberger@ikf.uni-frankfurt.de
                             email BNL : jberger@bnl.gov
----------------------------------------------------------------------
Institut Kernphysik Frankfurt (IKF):
August-Euler-Str. 06                 office phone: +49-(0)69-798-24254
60486 Frankfurt/Main FRG             office fax  : +49-(0)69-798-24212
----------------------------------------------------------------------
Brookhaven National Laboratory (BNL):
Physics Department
c/o STAR Group
Building 510A                        office phone: +1-(1)631-344-8336
Upton, New York 11973                office fax  : +1-(1)631-344-4206
----------------------------------------------------------------------



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