Preparations to migrate to status() instead of barcode() in Simulation
Preparations to migrate to status() instead of barcode() in Simulation. In this MR some code from the Muon system is updated:
- instead of the explicit comparison of barcodes a new function
HepMC::is_sim_descendant
. In the future this function, same as other similar functions will use status() to find out the origin of the particles.
Some help/verification/criticism from the muon experts would be appreciated.
Edited by Andrii Verbytskyi