Module tree_reader

Source
Expand description

A convenience wrapper and needed parsers to work with ROOT’s TTrees. A Tree may be thought of as a table where each row represents a particle collision. Each column may contain one or several elements per collision. This module provides two Iterator structs in order to iterate over these columns (TBranches in ROOT lingo).

Structs§

Tree
A Tree is the default “container” for datasets in Root files The data is oranized in so-called branches. This type is exposed only for the purpose of creating ColumnFixedIntoIter and ColumnVarIntoIter objects from it.

Functions§

ttree
Parse a Tree from the given buffer. Usually used through FileItem::parse_with.