User Tools

Site Tools


btag:btag

This is an old revision of the document!


Analysis notes

Using batch submission for SFrame jobs

  • Copy BatchSubmission to your analysis directory

cp -r ../../clange/ExoVV/Analysis/BatchSubmission/

  • Create directories AnalysisOutput and AnalysisTemp parallel to BatchSubmissions

mkdir AnalysisOutput AnalysisTemp

  • Make sure you have an updated version of Python (Python 2.6 or later). You can use the Python version of CMSSW doing

cd …CMSSW_5_3_13/src/
cmsenv

  • Create your list of infiles in an .xml file and store it under BatchSubmission/xmls/. Use only name of infile and lumi:

<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”/>
……

  • Edit BatchSubmission/AnalysisOptions.py

loadLibs=[
“libAnalysisPackage”, libraries you are using, order matters (separate by comma)
]


loadPacks=[“SFrameCore.par”,
“AnalysisPackage.par”,
name of your SFrame package+.par
]

compilePacks=[
“../AnalysisPackage”, name of your SFrame package
]

AddUserItems = [
[“IsOldNTuple” ,“false”],
your global user items
[“InputTreeName” ,“tree”],
[“genParticlePrefix” ,“genParticle”],
[“NumberOfRecoJets” ,“4”],
[“JetPtCut” ,“20”],
[“JetEtaCut” ,“2.5”],
[“JetNconstCut” ,“1”],
]

#End

btag/btag.1398167910.txt.gz · Last modified: 2014/04/22 13:58 by taarre