NME : code optimzation for increase performances and adapt to the
abstract event structure