Skip to content

Further improvements to HepMcParticleLink unit tests

This merge request updates the HepMcParticleLink and HepMcParticleLinkCnv unit tests so that they explicitly reference the largest supported values of GenEvent::event_number which is SHRT_MAX (= 32767 = 2^15 -1). This is because although HepMcParticleLink uses an unsigned short to store the eventIndex internally, the last bit of this is used to flag whether or not the eventIndex represents the position of the GenEvent within the McEventCollection or the GenEvent::event_number.

Merge request reports