adapting ntupler for new particle format