Skip to content

TruthUtils: add additional helper functions to the unit test.

(Follows !76171 (merged))

Add the new helper functions added in !76171 (merged) to the unit test. This is done in a separate merge request to make it clear that the changes in !76171 (merged) do not alter the existing unit test output.

New helper functions added to the unit test:

  • isBoson - 20<pdgid<41
  • isSMQuark - standard model quarks 0<pdgid<7
  • isSleptonLH - isSlepton and first digit 1
  • isSleptonRH - isSlepton and first digit 2
  • isSquarkLH - isSquark and first digit 1
  • isSquarkRH - isSquark and first digit 2
  • isGaugino - isSUSY(p) and isBoson(p.shift(1))

Also added some extra code to testPID.cxx to make updating the reference file easier in the future.

Merge request reports

Loading