https://cms-sw.github.io/

Workflow: https://gitlab.cern.ch/cms-btv-coordination/tasks/-/work_items/169

Repository: https://github.com/lyazj/cmssw/tree/from-CMSSW_14_0_7

Add sorting support here: https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/plugins/JetConstituentTableProducer.cc#L142

~~Add branches here: https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/plugins/JetConstituentTableProducer.cc#L253~~

Add branches here: https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/plugins/DeepJetTableProducer.cc

Add truth labels here: https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/plugins/BTVMCFlavourTableProducer.cc#L249

Start point: CMSSW_14_0_7

Reference: https://github.com/AlexDeMoor/DeepNTuples/blob/ParT_2024/DeepNtuplizer/src/helpers.cc

Additional reference: https://github.com/cms-sw/cmssw/tree/master/RecoBTag/FeatureTools/interface

Find UParT input here: https://github.com/cms-sw/cmssw/blob/master/RecoBTag/ONNXRuntime/plugins/UnifiedParticleTransformerAK4ONNXJetTagsProducer.cc#L192-L355 recommended by Sen

How to run and test

cmsDriver.py RECO --conditions 140X_dataRun3_Prompt_v2 --datatier NANOAOD --era Run3 --eventcontent NANOAOD --filein $MC_MINIAOD_file --fileout $MC_NANOAOD_file --nThreads 3 --number 1000 --scenario pp --step NANO:@BTV --mc --processName PAT

datasets:

dataset=/QCD_PT-120to170_TuneCP5_13p6TeV_pythia8/Run3Summer23MiniAODv4-130X_mcRun3_2023_realistic_v14-v2/MINIAODSIM
dataset=/TTto2L2Nu_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer23MiniAODv4-130X_mcRun3_2023_realistic_v14-v2/MINIAODSIM

Details

Work plan: