17 |
|
#print sys.argv |
18 |
|
arg1 = sys.argv[2] |
19 |
|
RUNNUMBER = int(arg1) |
20 |
+ |
inputieta = int(sys.argv[3]) |
21 |
+ |
inputiphi = int(sys.argv[4]) |
22 |
|
#print arg1 |
23 |
|
else: |
24 |
|
RUNNUMBER = 0 |
25 |
|
if (RUNNUMBER < 1): |
26 |
< |
print "Enter Runnumber: " |
27 |
< |
rn = sys.stdin.readline() |
28 |
< |
RUNNUMBER = int(rn.strip()) |
29 |
< |
print "Running on: {0:08d}".format(RUNNUMBER) |
26 |
> |
rn = input("Enter Runnumber: ") |
27 |
> |
RUNNUMBER = int(rn) |
28 |
> |
tmp = input("Enter hb table ieta: ") |
29 |
> |
inputieta = int(tmp) |
30 |
> |
tmp = input("Enter hb table iphi: ") |
31 |
> |
inputiphi = int(tmp) |
32 |
> |
print "Running on: {0:08d} table coordinates ({1},{2})".format(RUNNUMBER, |
33 |
> |
inputieta, |
34 |
> |
inputiphi) |
35 |
|
|
36 |
|
process.maxEvents = cms.untracked.PSet( |
37 |
|
input = cms.untracked.int32(-1) |
138 |
|
beamGeVhi = cms.double(500), |
139 |
|
#beamGeVhi = cms.double(80*200), |
140 |
|
timeNSlo = cms.double(50), |
141 |
< |
timeNShi = cms.double(250) |
141 |
> |
timeNShi = cms.double(250), |
142 |
> |
ieta = cms.int32(inputieta), |
143 |
> |
iphi = cms.int32(inputiphi) |
144 |
|
) |
145 |
|
) |
146 |
|
|