Ejemplo n.º 1
0
def tree_no_mask(infile, full_event_range):
    return m_tree.MaskedUprootTree(infile, event_ranger=full_event_range)
Ejemplo n.º 2
0
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)