add the analysis on the ntuples