DMelt example: Filter ntuple using a function