Revision: | 1.1 |
Committed: | Wed Sep 30 14:03:47 2009 UTC (15 years, 7 months ago) by anderson |
Branch: | MAIN |
CVS Tags: | HEAD |
Log Message: | Bash script to run plotCorrespondingHists.C |
# | Content |
---|---|
1 | #!/bin/bash |
2 | |
3 | if [ "$#" -lt 1 ]; then |
4 | exit |
5 | fi |
6 | |
7 | counter=0; |
8 | argString=`echo -n "("` |
9 | for i in $* ; do |
10 | argString=`echo -n $argString"\"$i\""` |
11 | counter=$(($counter+1)) |
12 | if [ $counter -lt $# ]; then argString=`echo -n "$argString,"`; fi |
13 | done |
14 | argString=`echo -n $argString")"` |
15 | |
16 | root -b -q -l plotCorrespondingHists.C$argString |