This script generically looks for parton level particles and saves their four-vectors into an ntuple. (This works via event generation in Pythia).

Known particle types are at the moment: jets, electrons, muons, neutrinos, LSP

Things that can be changed via jobOption properties: The max number of particles saved per event for every particle type; The pdg-id of the LSP.

The code works in 13.0.30, for some reason not in 14.2.0 e.g., but since only generation is needed one should always be able to use 13.0.30.

(Go to Tools->Attachments to get the code.)

  • No labels