Skip to content

Conversation

@kk428
Copy link

@kk428 kk428 commented Jan 20, 2026

This PR replaces #214. It's based on a more up-to-date version of CMSSW (CMSSW_16_0_0_pre4 rather than _pre2).

TrackingNtuple.cc has been modified so that when the trackingNtuple.root file is produced with cmsDriver.py, it includes branches corresponding to GenJets. These branches are:

  • genjet_pt
  • genjet_eta
  • genjet_phi
  • genjet_invisible_energy
  • genjet_auxiliary_energy
  • sim_genjet_idx

The last one is an index that allows each sim track to be matched with the jet it is closest to (minimizes ΔR). This replaces the post-processing described in #187, which added branches corresponding to ΔR and the jets after trackingNtuple.root was produced. The branches sim_genjet_deltaR, sim_genjet_deltaEta, and sim_genjet_deltaPhi are now also included in trackingNtuple.root.

This allows the efficiency, fake rate, and duplicate rate to plotted against ΔR. I also included a limit such that only tracks corresponding to GenJets with pT > 1000 GeV are considered.

image

None of these changes should impact the rest of LST. The code looking at the jet branches can be enabled/disabled using the -J flag.

Here are some example plots for 100 events from the file /RelValQCD_Pt_1800_2400_14/CMSSW_16_0_0_pre1-150X_mcRun4_realistic_v1_STD_RegeneratedGS_Run4D110_noPU-v1/GEN-SIM-DIGI-RAW, including only tracks with GenJet pT > 1000 GeV:

image image image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant