Skip to content

TruthUtils: Add isSquark and hasSquark helper functions

John Derek Chapman requested to merge jchapman/athena:AtlasPID_squarks_main into main
  • AtlasPID: Add SUSY::isSquark() helper function which returns true for the following pdgid values 100000N and 200000N (1<N<8)
  • AtlasPID: Add SUSY::hasSquark(p, q) helper function (analogous to hasQuark(p, q)) returns true for squarks with flavour matching q and for RHadrons containing a squark with flavour matching q.
  • testPID: Drop tests for obsolete SUSY::isSMeson and SUSY::isSBaryon functions (see !75624) and add test for SUSY::isSquark function.

Merge request reports