dataset#

class qtypy.dataset.tree(file_paths, tree_name, columns=[])[source]#

qtypy layer for qty::dataset::input<qty::ROOT::tree>.

Parameters:
  • file_paths (list of str) – List of paths to the ROOT files containing the tree(s).

  • tree_name (str) – Name of the tree inside the ROOT file(s) to access.

  • columns (list[str])

class qtypy.dataset.column(key, dtype)[source]#

Read a column from a loaded dataset.

Parameters:
  • key (str) – The name of the column in the dataset.

  • cpp_value_type (type or str) – The C++ data type of the column values.