def tree_no_mask(infile, full_event_range): return m_tree.MaskedUprootTree(infile, event_ranger=full_event_range)
def tree_w_mask_int(infile, event_range): mask = np.ones(event_range.entries_in_block, dtype=bool) mask[::2] = False mask = np.where(mask)[0] return m_tree.MaskedUprootTree(infile, event_ranger=event_range, mask=mask)