ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/rootEWKanalyzer/submitAllJobs.py
Revision: 1.2
Committed: Tue Jul 20 15:32:44 2010 UTC (14 years, 9 months ago) by jueugste
Content type: text/x-python
Branch: MAIN
Changes since 1.1: +33 -15 lines
Log Message:
many changes...

File Contents

# User Rev Content
1 jueugste 1.1 #! /usr/bin/python
2    
3     import os
4    
5 jueugste 1.2 name = [##"Data",
6     "QCDem2030","QCDem3080", "QCDem80170",
7     "QCDbc2e2030",
8     "QCDbc2e3080",
9     "QCDbc2e80170",
10     "GJ1520", "GJ2030", "GJ30",
11     ## "QCD15",
12     "Wenu",
13     "TTbar",
14     "Wtaunu",
15     "Zee", "Ztautau",
16     "Data_Commissioning",
17     "Data_Run2010A-Jun14th",
18     "Data_Run2010A-PromptReco",
19     "Data_Run2010A-PromptReco_JSON_139347-139459"
20     ]
21 jueugste 1.1 number = [#10,
22 jueugste 1.2 19, 6, 10, # QCD
23     8,
24     11,
25     11, # QCD
26     11, 9, 8, # GJ
27     # 100, # QCD 15
28     10, # Wenu
29     12, # TT bar
30     10, # Wtaunu
31     10, 5, # Zee, Ztautau
32     10,
33     7,
34     8,
35     9
36     ]
37 jueugste 1.1
38     for i in range(len(name)):
39 jueugste 1.2 os.system('echo rm '+name[i]+'/log/'+name[i]+'_*')
40     os.system('rm '+name[i]+'/log/'+name[i]+'_*')
41 jueugste 1.1 for j in range(number[i]):
42     ##for j in range(10):
43     os.system('qsub '+name[i]+'/src/submit_'+str(j)+'.src')
44     os.system('echo qsub '+name[i]+'/src/submit_'+str(j)+'.src')
45