# uproot.behaviors.TBranch.Report

Defined in [uproot.behaviors.TBranch](https://github.com/scikit-hep/uproot5/blob/db953cf9827349b3d24eb6742404158c1dfd5481/src/uproot/behaviors/TBranch.py) on [line 504](https://github.com/scikit-hep/uproot5/blob/db953cf9827349b3d24eb6742404158c1dfd5481/src/uproot/behaviors/TBranch.py#L504).

### *class* uproot.behaviors.TBranch.Report(source, tree_entry_start, tree_entry_stop, global_offset=0)

* **Parameters:**
  * **source** ([uproot.behaviors.TBranch.HasBranches](uproot.behaviors.TBranch.HasBranches.html.md)) – The
    object ([uproot.TBranch](uproot.behaviors.TBranch.TBranch.html.md) or
    [uproot.TTree](uproot.behaviors.TTree.TTree.html.md)) that this batch of data
    came from.
  * **tree_entry_start** (*int*) – First entry in the batch, counting zero at
    the start of the current `TTree` (current file).
  * **tree_entry_stop** (*int*) – First entry *after* the batch (last entry plus
    one), counting zero at the start of the `TTree` (current file).
  * **global_offset** (*int*) – Number of entries between the start of iteration
    and the start of this `TTree`. The
    [global_entry_start](#uproot-behaviors-tbranch-report-global-entry-start) and
    [global_entry_stop](#uproot-behaviors-tbranch-report-global-entry-stop) are
    equal to [tree_entry_start](#uproot-behaviors-tbranch-report-tree-entry-start)
    and [tree_entry_stop](#uproot-behaviors-tbranch-report-tree-entry-stop) plus
    `global_offset`.

Information about the current iteration of
[iterate](uproot.behaviors.TBranch.HasBranches.html.md#uproot-behaviors-tbranch-hasbranches-iterate) (the method) or
[uproot.iterate](uproot.behaviors.TBranch.iterate.html.md) (the function).

Since the [iterate](uproot.behaviors.TBranch.HasBranches.html.md#uproot-behaviors-tbranch-hasbranches-iterate) method
only iterates over data from one `TTree`, its `global_offset` is always
zero; [global_entry_start](#uproot-behaviors-tbranch-report-global-entry-start) and
[global_entry_stop](#uproot-behaviors-tbranch-report-global-entry-stop) are equal to
[tree_entry_start](#uproot-behaviors-tbranch-report-tree-entry-start) and
[tree_entry_stop](#uproot-behaviors-tbranch-report-tree-entry-stop), respectively.

<a id="uproot-behaviors-tbranch-report-source"></a>

## source

#### Report.source

The object ([uproot.TBranch](uproot.behaviors.TBranch.TBranch.html.md) or
[uproot.TTree](uproot.behaviors.TTree.TTree.html.md)) that this batch of data
came from.

<a id="uproot-behaviors-tbranch-report-tree"></a>

## tree

#### Report.tree

The [uproot.TTree](uproot.behaviors.TTree.TTree.html.md) that this batch of data
came from.

<a id="uproot-behaviors-tbranch-report-file"></a>

## file

#### Report.file

The [uproot.ReadOnlyFile](uproot.reading.ReadOnlyFile.html.md) that this batch of data
came from.

<a id="uproot-behaviors-tbranch-report-file-path"></a>

## file_path

#### Report.file_path

The path/name of the [uproot.ReadOnlyFile](uproot.reading.ReadOnlyFile.html.md) that
this batch of data came from.

<a id="uproot-behaviors-tbranch-report-tree-entry-start"></a>

## tree_entry_start

#### Report.tree_entry_start

First entry in the batch, counting zero at the start of the current
`TTree` (current file).

<a id="uproot-behaviors-tbranch-report-tree-entry-stop"></a>

## tree_entry_stop

#### Report.tree_entry_stop

First entry *after* the batch (last entry plus one), counting zero at
the start of the `TTree` (current file).

<a id="uproot-behaviors-tbranch-report-global-entry-start"></a>

## global_entry_start

#### Report.global_entry_start

First entry in the batch, counting zero at the start of iteration
(potentially over many files).

<a id="uproot-behaviors-tbranch-report-global-entry-stop"></a>

## global_entry_stop

#### Report.global_entry_stop

First entry *after* the batch (last entry plust one), counting zero at
the start of iteration (potentially over many files).

<a id="uproot-behaviors-tbranch-report-start"></a>

## start

#### Report.start

A synonym for
[global_entry_start](#uproot-behaviors-tbranch-report-global-entry-start).

<a id="uproot-behaviors-tbranch-report-stop"></a>

## stop

#### Report.stop

A synonym for
[global_entry_stop](#uproot-behaviors-tbranch-report-global-entry-stop).

<a id="uproot-behaviors-tbranch-report-global-offset"></a>

## global_offset

#### Report.global_offset

Number of entries between the start of iteration and the start of this
`TTree`. The
[global_entry_start](#uproot-behaviors-tbranch-report-global-entry-start) and
[global_entry_stop](#uproot-behaviors-tbranch-report-global-entry-stop) are
equal to [tree_entry_start](#uproot-behaviors-tbranch-report-tree-entry-start)
and [tree_entry_stop](#uproot-behaviors-tbranch-report-tree-entry-stop) plus
`global_offset`.

<a id="uproot-behaviors-tbranch-report-to-global"></a>

## to_global

#### Report.to_global(global_offset)

Copies the data in this [uproot.behaviors.TBranch.Report](uproot.behaviors.TBranch.Report.html.md) to
another with a new
[global_offset](#uproot-behaviors-tbranch-report-global-offset).
