modified code to run on only gen content
Merge branch 'Tupel_MiniAOD' of github.com:UGent/Tupel into Tupel_MiniAOD