Copy already defined in AliGenMC.