WbWbX / ChargeReco

0 stars 3 forks source link

ChargeReco

Production of extended nanoAOD ntuples for analysis and training of b jet charge classfier.

NANOX production

Tests are defined in test/runCMSSWTest.sh

Checkout instructions

Using recent CMSSW release which corresponds to recommended NanoAODv9. See PPD.

export SCRAM_ARCH=slc7_amd64_gcc700
cmsrel CMSSW_10_6_27
cd CMSSW_10_6_27/src
cmsenv
git cms-addpkg PhysicsTools/NanoAOD
git cms-cherry-pick-pr 38002 # adding sum of PS weights
git cms-checkdeps -a -A
git clone git@github.com:WbWbX/ChargeReco.git -b UL ChargeReco
mkdir TopQuarkAnalysis
cd TopQuarkAnalysis
git clone git@github.com:WbWbX/BFragmentationAnalyzer.git
cd -
scram b

Produce extended nanoAOD files

Configuration file for full Run 2 UL extended nanoAOD ntuple production.

cmsRun ChargeReco/NANOProducer/test/produceNANO.py

The cfg accepts the following options:

job submission

in crab folder run e.g.:

python2 submit.py -i datasets/data_2017.txt -y 2017 -v 2022-03-01_v6 --data

use --dry to skip job submission and only generate submit scripts

Brief package overview