[Gate-users] Using ROOT -> ASCII; any way to pass command line variables?
mcintoshster at gmail.com
Fri Feb 7 18:58:47 CET 2014
I've been using a ROOT script to convert output from ROOT format to ASCII
format for some time now, but have reached a point where I will be
generating a massive number of simulations. At the moment my file names are
hard-coded (my sample script rootout_scanner.C is available for viewing at
and I'd really like to be able to run the script in the following way from
the command line:
root -l -q -b [FILENAME] rootout_scanner.C
I've searched the ROOT documentation, but haven't been able to find a way
to pass in command line variables to ROOT. Has anyone else been able to do
this? Right now I'm using a clunky Bash script to rename files so that they
match the name in the ROOT script, and it's going to cause some issues as I
start multi-threading simulation runs.
Any insight you can offer would be a big help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gate-users