This is an old revision of the document!
cp -r ../../clange/ExoVV/Analysis/BatchSubmission/
mkdir AnalysisOutput AnalysisTemp
cd …CMSSW_5_3_13/src/
cmsenv
<In FileName=“dcap:t3se01.psi.ch:22125pnfs/psi.ch/cms/trivcat/store/user/jngadiub/Thea/FLATtuple/HH4b_1000_newCones8/flatTuple_Graviton_1000_newCones8_1.root” Lumi=“1.0”/>
<In FileName=“dcap:t3se01.psi.ch:22125pnfs/psi.ch/cms/trivcat/store/user/jngadiub/Thea/FLATtuple/HH4b_1000_newCones8/flatTuple_Graviton_1000_newCones8_2.root” Lumi=“1.0”/>
<In FileName=“dcap:t3se01.psi.ch:22125pnfs/psi.ch/cms/trivcat/store/user/jngadiub/Thea/FLATtuple/HH4b_1000_newCones8/flatTuple_Graviton_1000_newCones8_3.root” Lumi=“1.0”/>
……
loadLibs=[
“libMyTestPackage”, libraries you are using, order matters (separate by comma)
]
loadPacks=[“SFrameCore.par”,
“MyTestPackage.par”, name of your SFrame package+.par
]
compilePacks=[
“../AnalysisPackage”, name of your SFrame package
]
AddUserItems = [
[“InputTreeName” ,“tree”],your global user items
]
#End
#! /usr/bin/python
# -*- coding: utf-8 -*-
path2xml=“$HOME/ExoVV/Analysis/BatchSubmission/xmls” path to xmls
path2tmp=“$HOME/ExoVV/Analysis/AnalysisTemp” path to temporary directory (create this if you have not done so already)
outDir=“$HOME/ExoVV/Analysis/AnalysisOutput” path to output directory
jobName=“clTestJob” name of job (optional name)
cycleName=“MyTestAnalysis” important! must match SFrame cycle name (see sframe config file)
nEventsMax=-1 nr events
nProcesses=2
nFiles=2 nr of files per job
hCPU=“00:30:00”
hVMEM=“3000M”
postFix = ““
dataSets=[
[“Test”, [“test”]], Output name and name of xml containing in file names
]
userItems = [
# [“InputTreeName”, “tree”], job specific item names
]
jobOptionsFile2=open(“MyTestAnalysisOptions.py”, 'r')name of file containing global item names and libraries
command2=”“
for i in [o for o in jobOptionsFile2.readlines()]:
if (”#E” + “nd”) in i : break
command2+=i
jobOptionsFile2.close()
exec command2
userItems += AddUserItems
inputTrees=[“ntuplizer/tree”]name of intput tree
outputTrees=[“analysis”]name of output tree\\
python submitSFrame.py -j test.py –batch