update modified TJ's ntuplizer and first version of macro for plotting with flat-ntuple