PFNanoAOD production from CMSSW MiniAOD - jniedzie/SVJanalysis_wiki GitHub Wiki

Prerequisites

Read instructions at CMSSW at PSI T3.

Setup

Go to the production directory and set it up:

cd PFNanoAODProduction/
source setup.sh

The setup.sh script:

  • installs a CMSSW release
  • clones the required repositories
  • copies additional files for custom PFNanoAOD production (FatJet reclustering)
  • compiles the source code

PFNanoAOD production

Use the jobSubmitter (example here) to run the production. Before, you will have to:

  1. Make the list of MiniAOD files to process (example). To find the list of files for a given sample, use dasgoclient from a CMSSW area, e.g., to locate the list of files corresponding to the QCD_Pt_1000to1400_TuneCP5_13TeV_pythia8/RunIISummer20UL18MiniAODv2-106X_upgrade2018_realistic_v16_L1v1-v1 MINIAOD sample use:
dasgoclinet -query "file dataset=/QCD_Pt_1000to1400_TuneCP5_13TeV_pythia8/RunIISummer20UL18MiniAODv2-106X_upgrade2018_realistic_v16_L1v1-v1/MINIAODSIM"
  1. Find the era and conditions for your MiniAODs (check here) and add them to the flags in the config (example).