get_branch_stats
Compute statistics for branches in a CERN ROOT tree, including derived variables defined by expressions and optional cut selection, to inspect data distributions before analysis.
Instructions
Get statistics for branches (supports derived variables via defines)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path | |
| defines | No | Derived variable definitions (dict of name: expression) | |
| branches | Yes | ||
| selection | No | Optional cut expression | |
| tree_name | Yes | Tree name |