Hello,
I compiled my root macro FillHistos.C with:
root FillHistos.C+'(arguments)'
I want to use the compiled macro to run on many files in a condor environment. To do this, I need a bash script that runs the macro and takes each file as an argument. How can I do that? Locally, I run the following commands but in a bash script, it reads the first line and then waits for another command within the interactive ROOT mode, and never goes to the next command.
root -b FillHistos_C.so
FillHistos(arguments)
.q
Is there, either:
- A way to run these commands (at least the two first one) in a single go?
- Or a way to tell the script that the second command is still to be read within the root interactive mode?
Hope I’m being clear.
David