-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bugs; add rereco submission script
bugfix: prevent dat2root from filling an extra event at the end bugfix: do not append local path to beginning of condor job input
- Loading branch information
Dustin
committed
May 6, 2017
1 parent
b484367
commit 5f06f7e
Showing
3 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
### Job submission script for all .dat files on EOS | ||
|
||
import glob | ||
from subprocess import call | ||
|
||
if __name__ == '__main__': | ||
dirs = [ | ||
"/eos/uscms/store/user/cmstestbeam/BTL/", | ||
"/eos/uscms/store/user/cmstestbeam/ETL/05042017/", | ||
"/eos/uscms/store/user/cmstestbeam/ETL/05052017/", | ||
] | ||
for d in dirs: | ||
files = glob.glob(d+"/*.dat") | ||
for f in files: | ||
print "File: ",f | ||
cmd = ['python', 'submit_condor.py', f, | ||
#'--no-sub', | ||
'--proxy', '/tmp/x509up_u48463', | ||
'--out-dir', '/uscms_data/d1/djanders/05May2017', | ||
'--config', '15may2017.config', | ||
] | ||
print ' '.join(cmd) | ||
call(cmd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters