Skip to content

TruthUtils: Add executable listPGDIDs

John Derek Chapman requested to merge jchapman/athena:listPDGID_main into main

This merge request adds a new executable which prints out all (up to a maximum value) pdg codes which pass a given helper function.
It is useful for checking individual helper functions are behaving as expected.
Usage:

listPGDIDs <helper function name>

E.g.

> listPDGIDs isSMQuark
Listing pdg_ids passing isSMQuark
-1, 1,
-2, 2,
-3, 3,
-4, 4,
-5, 5,
-6, 6,

Merge request reports

Loading