ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/python/submitThem.py
Revision: 1.1
Committed: Thu Jun 21 13:45:14 2012 UTC (12 years, 10 months ago) by nmohr
Content type: text/x-python
Branch: MAIN
CVS Tags: ICHEP8TeV, ichep8TeV
Log Message:
8TeV ana

File Contents

# User Rev Content
1 nmohr 1.1 #! /usr/bin/env python
2     import os,time,subprocess
3    
4     def submit(job):
5     command = 'qsub -q all.q -N %s -o /shome/nmohr/VHbbAnalysis/LOG/%s.out -e /shome/nmohr/VHbbAnalysis/LOG/%s.err runAll.sh %s' %(job,job,job,job)
6     print command
7     subprocess.call([command], shell=True)
8    
9     #theJobs = ['STbar_tW','ST_tW']
10     #theJobs = ['ZH110','ZH125','ZH120','Zudsg','Zbb','Zcc','ZH115','ZH130','ZZ','Zudsg70100','Zbb70100','Zcc70100','Zudsg5070','Zbb5070','Zcc5070','Zmm','Zudsg100','Zbb100','Zcc100','ST_s','TT','Zee','STbar_s','STbar_t','WZ','WW','STbar_tW','ST_tW']
11     #theJobs = ['ZH110','ZH125']
12     theJobs = ['ZH110','ZH125','ZH120','Zudsg','Zbb','Zcc','ZH115','ZH130','ZZ','Zudsg70100','Zbb70100','Zcc70100','Zudsg5070','Zbb5070','Zcc5070','Zmm','Zudsg100','Zbb100','Zcc100','ST_s','TT','Zee','STbar_s','STbar_t','WZ','WW','STbar_tW','ST_tW']
13    
14    
15     for job in theJobs:
16     submit(job)
17     #time.sleep(10)