Re: [ROOT] Command Line arguments & Carrot

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Nov 09 2001 - 17:20:17 MET


Hi Roland,

Roland Bramm wrote:
> 
> Hi,
> 
> is it possible to pass command line argumrntd to a root macro , like
> root MyMacro.C <option for the macro> ?
>

Suppose a macro myscript.C with a function myscript(int i, float x)

you can execute this macro in batch, with eg:
  root -b -q "myscript.C(5,3.14)"

If one of the arguments is a string, you must use the form with teh backslash
  \"a string\"
 
> And the link to the Carrot (Root Apache Module) is not available
> anymore, also the earlyer discussed "new Pah" in this List is
> outdated. Is this module stilll available ?
> 

Valeriy Onuchin is currently developing Carot. His Web site is not easily
accessible/available. Valeriy is about to join the ROOT development team
in 3 or 4 weeks. We will make sure that Carot is fully available at that time.

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:07 MET