[ROOT] getopt + root

From: Martin Hennecke (hennecke@fnal.gov)
Date: Tue Nov 12 2002 - 16:49:11 MET


Hi,

I'd like to use "getopt" in conjunction with my root macro, i.e. I want to
be able to do something like

myMacroc.C  -i in.root  -o out.root  -ptmin 10  -a  -b

The problem is to pass the options to my script correctly.
Has someone managed to do this succesfully and can provide the right
command line ? 


Thanks,
Martin

=======================================================================
   Martin Hennecke                hennecke@fnal.gov 
   Fermilab CDF                 
   P.O. Box 500, MS 318        |  Institut fuer Exp. Kernphysik (EKP) 
   Batavia, IL 60510, USA      |  Universitaet Karlsruhe 
   office: new CDF bldg 03-99  |  Wolfgang-Gaede-Str. 1
   phone : +1 (630) 840 2627   |  76131 Karlsruhe/Germany
   fax   : +1 (630) 840 8859   |             
=======================================================================



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