Several updates: TES, new Legend const., ntuples path, bug fix in sample.py...

About the bug fix in sample.py (around line 620): fix case where merged_record was called on an array of tuple instead of an array of float in draw_array_helper.

I see you were just applying cuts on the BDT while plotting things.