rootpy.tree.Cut

class rootpy.tree.Cut(cut='', from_file=False)[source]

Inherits from ROOT.TCut and implements logical operators

latex()[source]

Returns a string representation for use in LaTeX

replace(name, newname)[source]

Replace all occurrences of name with newname

safe(parentheses=True)[source]

Returns a string representation with special characters replaced by safer characters for use in file names.

where()[source]

Return string compatible with PyTable’s Table.where syntax: http://pytables.github.com/usersguide/libref.html#tables.Table.where