1) decouple the rapidity cut used in AliGenPythia to select the events with c or b quarks from the one used in AliGenMC::KinematicSelectio to select the particles that are written in the stack. 2) propagate the title of the generator (which can be set in the config) to the GenEventHeader, so that it can be read at the analysis level. Francesco Prino