9 |
|
parser.add_option("-T", "--tag", dest="tag", default="", |
10 |
|
help="Tag to run the analysis with, example '8TeV' uses config8TeV and pathConfig8TeV to run the analysis") |
11 |
|
parser.add_option("-J", "--task", dest="task", default="", |
12 |
< |
help="Task to be done, i.e. 'dc' for Datacards, 'prep' for preparation of Trees, 'plot' to produce plots or 'eval' to write the MVA output or 'sys' to write regression and systematics. ") |
12 |
> |
help="Task to be done, i.e. 'dc' for Datacards, 'prep' for preparation of Trees, 'plot' to produce plots or 'eval' to write the MVA output or 'sys' to write regression and systematics (or 'syseval' for both). ") |
13 |
|
parser.add_option("-M", "--mass", dest="mass", default="125", |
14 |
|
help="Mass for DC or Plots, 110...135") |
15 |
|
parser.add_option("-S","--samples",dest="samples",default="", |
88 |
|
elif opts.task == 'prep': |
89 |
|
submit('prepare',repDict) |
90 |
|
|
91 |
< |
elif opts.task == 'eval' or opts.task == 'sys': |
91 |
> |
elif opts.task == 'eval' or opts.task == 'sys' or opts.task == 'syseval': |
92 |
|
if ( opts.samples == ""): |
93 |
|
for job in info: |
94 |
|
submit(job.name,repDict) |