Cleanup and a bit of migration to HepMC3
In this MR:
- remove stray comments
- use std:: namespace explicitly
- Use HepMC::barcode free function
- replace comparison of pointers to
0
with!
operator or with comparison tonullptr
In this MR:
0
with !
operator or with comparison to nullptr