44 |
|
sys.exit("Cannot find last condor working directory") |
45 |
|
dir_list.sort(reverse=True) |
46 |
|
condor_dir = "condor/%s" % dir_list[0] |
47 |
< |
#print "Condor output directory set to ",condor_dir |
47 |
> |
print "Condor output directory set to ",condor_dir |
48 |
|
return condor_dir |
49 |
|
|
50 |
|
def set_commandline_arguments(parser): |
71 |
|
|
72 |
|
parser.add_option("-r", "--ratio", action="store_true", dest="makeRatioPlots", default=False, |
73 |
|
help="draw (data-MC)/MC plots below all 1D histograms") |
74 |
+ |
parser.add_option("-R", "--ratioYRange", dest="ratioYRange", default=1.15, |
75 |
+ |
help="maximum of range of vertical scale for ratio plots") |
76 |
|
parser.add_option("-d", "--diff", action="store_true", dest="makeDiffPlots", default=False, |
77 |
|
help="draw data-MC plots below all 1D histograms") |
78 |
|
parser.add_option("-b", "--rebin", dest="rebinFactor", |