102 |
|
firstEvent = -1 |
103 |
|
compHEPFirstEvent = 0 |
104 |
|
firstRun = 0 |
105 |
+ |
# FUTURE: Remove firstRun |
106 |
+ |
firstLumi = 0 |
107 |
|
|
108 |
|
dom = xml.dom.minidom.parse(os.environ['RUNTIME_AREA']+'/arguments.xml') |
109 |
|
|
117 |
|
firstEvent = int(elem.getAttribute("FirstEvent")) |
118 |
|
if elem.getAttribute("FirstRun"): |
119 |
|
firstRun = int(elem.getAttribute("FirstRun")) |
120 |
+ |
if elem.getAttribute("FirstLumi"): |
121 |
+ |
firstLumi = int(elem.getAttribute("FirstLumi")) |
122 |
|
|
123 |
|
generator = str(elem.getAttribute('Generator')) |
124 |
|
inputFiles = str(elem.getAttribute('InputFiles')) |
178 |
|
# Pythia parameters |
179 |
|
if (firstRun): |
180 |
|
inModule.setFirstRun(firstRun) |
181 |
+ |
if (firstLumi): |
182 |
+ |
inModule.setFirstLumi(firstLumi) |
183 |
|
|
184 |
|
# Check if there are random #'s to deal with |
185 |
|
if cfg.data.services.has_key('RandomNumberGeneratorService'): |