tdub.root¶
A module for working with ROOT-like objects (without ROOT itself).
Class Summary¶
|
Wrapper around uproot’s interpretation of ROOT’s TH1. |
|
Wrapper around uproot’s interpretation of ROOT’s TGraphAsymmErrors. |
Reference¶
-
class
tdub.root.TH1(root_object)[source]¶ Wrapper around uproot’s interpretation of ROOT’s TH1.
This class interprets the histogram in a way that ignores under and overflow bins. We expect the treatment of those values to already be accounted for.
- Parameters
root_object (uproot.behaviors.TH1.Histogram) – Object from reading ROOT file with uproot.
-
property
centers¶ Histogram bin centers.
- Type
-
property
counts¶ Histogram bin counts.
- Type
-
property
edges¶ Histogram bin edges.
- Type
-
property
errors¶ Histogram bin errors.
- Type
-
class
tdub.root.TGraphAsymmErrors(root_object)[source]¶ Wrapper around uproot’s interpretation of ROOT’s TGraphAsymmErrors.
- Parameters
root_object (uproot.model.Model) – Object from reading ROOT file with uproot.
-
property
xhi¶ X-axis high errors.
- Type
-
property
xlo¶ X-axis low errors.
- Type
-
property
yhi¶ Y-axis high errors.
- Type
-
property
ylo¶ Y-axis low errors.
- Type