TruthUtils: add baryonNumber3 and baryonNumber helper functions
The baryon number is defined as:
B = (1/3)*( n_q - n_{qbar} )
where n_q
is the number of quarks, and n_{qbar}
is the number of
antiquarks. By convention, squarks have the same quantum numbers as
the corresponding quarks (modulo spin and R), so have baryon number 1/3.
The baryonNumber3()
helper function returns an integer value (3*B
), while baryonNumber()
returns a floating point value equal to a third of this (c.f. the existing charge3()
and charge()
functions).
Tests for these functions will be added in a later MR.
Merge request reports
Activity
added Generators analysis-review-required main review-pending-level-1 labels
CI Result SUCCESS (hash a7848dc9)Athena AthSimulation AthGeneration AnalysisBase AthAnalysis externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
For experts only: Jenkins output (remote access info)added review-approved label and removed review-pending-level-1 label
added analysis-review-approved label and removed analysis-review-required label
mentioned in commit 087df78d