User Tools

Site Tools


btag:batchsub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
btag:batchsub [2019/10/24 17:24] iwnbtag:batchsub [2019/10/24 17:25] (current) iwn
Line 22: Line 22:
    ...    ...
 </code> </code>
-  * Create new or edit **BatchSubmission/MyTestAnalysisOptions.py**. This will be the same for all jobs (signal and background) and should only contain global variables and libraries used  (see comments under).+  * Create new or edit **''BatchSubmission/MyTestAnalysisOptions.py''**. This will be the same for all jobs (signal and background) and should only contain global variables and libraries used  (see comments under).
 <code> <code>
   loadLibs=[   loadLibs=[
Line 42: Line 42:
   #End   #End
 </code> </code>
-  * Create python script with job specific configurations (one for signal, one for background), see **BatchSubmission/test.py**. Here you add all job specific item names, name of in and output file etc (see comments under)+  * Create python script with job specific configurations (one for signal, one for background), see **''BatchSubmission/test.py''**. Here you add all job specific item names, name of in and output file etc (see comments under)
 <code> <code>
 #! /usr/bin/python #! /usr/bin/python
Line 67: Line 67:
 ] ]
  
-jobOptionsFile2=open("MyTestAnalysisOptions.py", 'r') #name of file containing global item names and libraries+jobOptionsFile2=open("MyTestAnalysisOptions.py", 'r') # name of file containing global item names and libraries
 command2="" command2=""
 for i in [o for o in jobOptionsFile2.readlines()]: for i in [o for o in jobOptionsFile2.readlines()]:
Line 76: Line 76:
 userItems += AddUserItems userItems += AddUserItems
  
-inputTrees=["ntuplizer/tree"]//name of intput tree +inputTrees=["ntuplizer/tree"name of intput tree 
-outputTrees=["analysis"]//name of output tree+outputTrees=["analysis"name of output tree
 </code> </code>
-  * Compile and run from **BatchSubmission** with\\ +  * Compile and run from **''BatchSubmission''** with 
-''python submitSFrame.py -j test.py --batch''\\ +<code> 
-  * Output files stored under **AnalysisOutput**+python submitSFrame.py -j test.py --batch 
 +</code> 
 +  * Output files stored under **''AnalysisOutput''**
btag/batchsub.1571930651.txt.gz · Last modified: 2019/10/24 17:24 by iwn