Moving GEN analisis code to lates ntuple version (v11)