You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: for_developers/root7/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,13 +34,13 @@ Building from source would look similar to this:
34
34
## ROOT 7 Features
35
35
36
36
ROOT's new interface personality is already in production with {% include ref class="RDataFrame" namespace="ROOT" %}.
37
-
Next up is the `TTree` successor {% include ref class="RNTuple" namespace="ROOT::Experimental" %}.
37
+
Next up is the `TTree` successor {% include ref class="RNTuple" namespace="ROOT" %}.
38
38
39
39
40
40
Still in the design phase are ROOT's new graphics and histogram packages, with tutorials such as
41
-
for [ROOT 7 graphics](https://github.com/root-project/root/tree/master/tutorials/rcanvas),
42
-
for [histograms and ntuple](https://github.com/root-project/root/tree/master/tutorials/v7),
43
-
and specifically for [drawing and styling the new histograms](https://github.com/root-project/root/blob/master/tutorials/rcanvas/rh1.cxx).
41
+
for [ROOT 7 graphics](https://github.com/root-project/root/tree/master/tutorials/experimental/rcanvas),
42
+
for histograms and ntuple,
43
+
and specifically for [drawing and styling the new histograms](https://github.com/root-project/root/blob/master/tutorials/experimental/rcanvas/rh1.cxx).
Copy file name to clipboardExpand all lines: manual/data_frame/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ RDataFrame provides the necessary methods to perform all operations required by
20
20
21
21
Every RDataFrame program follows this workflow:
22
22
23
-
1. Construct a dataframe object by specifying a dataset. RDataFrame supports single TTrees as well as multiple TTrees (i.e., {% include ref class="TChain" %}), [CSV files](https://root.cern/doc/master/df014__CSVDataSource_8C.html), [SQLite files](https://root.cern/doc/master/df027__SQliteDependencyOverVersion_8C.html), [RNTuples](https://root.cern/doc/master/structROOT_1_1Experimental_1_1RNTuple.html), and it can be extended to custom data formats. From Python, [NumPy arrays can be imported into RDataFrame](https://root.cern/doc/master/df032__RDFFromNumpy_8py.html) as well.
23
+
1. Construct a dataframe object by specifying a dataset. RDataFrame supports single TTrees as well as multiple TTrees (i.e., {% include ref class="TChain" %}), [CSV files](https://root.cern/doc/master/df014__CSVDataSource_8C.html), [SQLite files](https://root.cern/doc/master/df027__SQliteDependencyOverVersion_8C.html), [RNTuples](https://root.cern/doc/master/classROOT_1_1RNTuple.html), and it can be extended to custom data formats. From Python, [NumPy arrays can be imported into RDataFrame](https://root.cern/doc/master/df032__RDFFromNumpy_8py.html) as well.
Some Python functions can be injected into RDataFrame thanks to [Numba](https://numba.pydata.org), see [this tutorial](https://root.cern/doc/master/pyroot004__NumbaDeclare_8py.html).
76
+
Some Python functions can be injected into RDataFrame thanks to [Numba](https://numba.pydata.org), see [this tutorial](https://root.cern/doc/master/df038__NumbaDeclare_8py.html).
77
77
78
78
For more examples see [the RDataFrame tutorials](https://root.cern/doc/master/group__tutorial__dataframe.html){:target="_blank"}.
Copy file name to clipboardExpand all lines: manual/embed_root_in_gui/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ In the past we [described](https://root-forum.cern.ch/t/how-to-embed-a-tcanvas-i
16
16
caption="TCanvas embedded in a Qt application."
17
17
%}
18
18
19
-
In this case we recommend to embed the new web-based widgets in [Qt](https://www.qt.io/) application using QWebEngine, as described in [this page](https://github.com/root-project/root/tree/master/tutorials/webgui/qt5web)
19
+
In this case we recommend to embed the new web-based widgets in [Qt](https://www.qt.io/) application using QWebEngine, as described in [this page](https://github.com/root-project/root/tree/master/tutorials/visualisation/webgui/qtweb)
Copy file name to clipboardExpand all lines: manual/graphics/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ method:
128
128
-_Arrows_: Use {% include ref class="TArrow" %} to create an arrow.
129
129
-_Polylines_: Use {% include ref class="TPolyLine" %} to create a polyline.
130
130
-_Ellipses_: Use {% include ref class="TEllipse" %} to create an ellipse.
131
-
-_Rectangles_: Use {% include ref class="TBox" %} or {% include ref class="TWBox" %} to create a rectangle.
131
+
-_Rectangles_: Use {% include ref class="TBox" %} or {% include ref class="TWbox" %} to create a rectangle.
132
132
-_Markers_: Use {% include ref class="TMarker" %} to create a marker.
133
133
-_Curly lines and arcs_: Use {% include ref class="TCurlyLine" %} and {% include ref class="TCurlyArc" %} to create curly lines and arcs for Feynman diagrams.
134
134
-_Text and Latex_: Use {% include ref class="TText" %} to draw simple text. {% include ref class="TLatex" %} for complex text like mathematical formulas. Text can be embedded in a box using {% include ref class="TPaveLabel" %}, {% include ref class="TPaveText" %} and {% include ref class="TPavesText" %}.
@@ -338,10 +338,10 @@ _**Example**_
338
338
### Drawing an axis independently of a graph or a histogram
339
339
340
340
- Use the {% include ref class="TGaxis" %} class to draw an axis
341
-
[independently of a graph or a histogram](https://root.cern/doc/master/xyplot_8C.html).
341
+
[independently of a graph or a histogram](https://root.cern/doc/master/hist055__Graphics__xyplot_8C.html).
342
342
343
343
This may be useful if you want to draw a
344
-
[supplementary axis](https://root.cern/doc/master/twoscales_8C.html) for a plot.
344
+
[supplementary axis](https://root.cern/doc/master/hist010__TH1__two__scales_8C.html) for a plot.
Copy file name to clipboardExpand all lines: manual/histograms/index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ standard multi-dimensional histogram plots such as scatter plots.
66
66
- {% include ref class="TProfile3D" %} is a profile histogram for (X,Y,Z,T) data to display the mean value of T and its error for each cell in X,Y,Z.
67
67
68
68
Profile plots have the option to display instead of the default sample mean error the sample standard deviation (the spread of the data). A similar plot to a profile, which shows the quantiles of the
69
-
Y input data, is the candle plot, called also box plot, (see [tutorial](https://root.cern/doc/master/candleplot_8C.html)), which can be obtained directly from the 2D histogram using the `candle`
69
+
Y input data, is the candle plot, called also box plot, (see [tutorial](https://root.cern/doc/master/hist049__Graphics__candle__plot_8C.html)), which can be obtained directly from the 2D histogram using the `candle`
70
70
draw option.
71
71
72
72
@@ -101,11 +101,11 @@ ROOT supports also automatic binning, see [Histograms with automatic bins](https
101
101
**Re-binning**
102
102
103
103
You can re-bin a histogram via the [TH1::Rebin()](https://root.cern/doc/master/classTH1.html#aff6520fdae026334bf34fa1800946790){:target="_blank"} method. It returns a new histogram with the re-binned contents. If bin errors were stored, they are recomputed during the re-binning.
104
-
You can see this [tutorial](https://root.cern/doc/master/rebin_8C.html) as a re-binning example.
104
+
You can see this [tutorial](https://root.cern/doc/master/hist013__TH1__rebin_8C.html) as a re-binning example.
105
105
106
106
### Stack of histograms
107
107
108
-
{% include ref class="THStack" %} is a collection of {% include ref class="TH1" %} or {% include ref class="TH2" %} histograms. The tutorial {%include tutorial name="hstack" %} is a good example of how using the `THStack` class.
108
+
{% include ref class="THStack" %} is a collection of {% include ref class="TH1" %} or {% include ref class="TH2" %} histograms. The tutorial {%include tutorial name="hist023_THStack_simple" %} is a good example of how using the `THStack` class.
@@ -43,7 +43,7 @@ Here is a couple of *interactive* examples you can also find in the [main JSROOT
43
43
44
44
In the [JSROOT user's guide](https://github.com/root-project/jsroot/blob/master/docs/JSROOT.md), there is also a [short introduction](https://github.com/root-project/jsroot/blob/master/docs/JSROOT.md#use-with-openui5) on using JSROOT with [OpenUI5](https://openui5.org/) to create interactive Web based GUI. [OpenUI5](https://openui5.org/) is a web toolkit for developers to ease and speed up the development of full-blown HTML5 web applications. You can find its impressive list of controls [here](https://openui5.hana.ondemand.com/controls)
45
45
46
-
The association of JSROOT and OpenUI5 allowed us to create the new web based [RCanvas](https://root.cern/doc/master/classROOT_1_1Experimental_1_1RCanvas.html) and [RBrowser](https://root.cern/doc/master/classROOT_1_1Experimental_1_1RBrowser.html) classes.
46
+
The association of JSROOT and OpenUI5 allowed us to create the new web based [RCanvas](https://root.cern/doc/master/classROOT_1_1Experimental_1_1RCanvas.html) and [RBrowser](https://root.cern/doc/master/classROOT_1_1RBrowser.html) classes.
Copy file name to clipboardExpand all lines: manual/python/index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ PyROOT is compatible with both Python2 (>= 2.7) and Python3.
18
18
19
19
Since ROOT 6.22, PyROOT has extensive support for *modern C++* (it operates on top of [cppyy](https://cppyy.readthedocs.io/){:target="_blank"}), is more *pythonic* and is able to *interoperate* with widely-used Python data-science libraries (for example, [NumPy](https://numpy.org/){:target="_blank"}, [pandas](https://pandas.pydata.org/){:target="_blank"}, [Numba](https://numba.pydata.org/){:target="_blank"}).
20
20
21
-
{% include tutorials name="PyROOT" url="pyroot" %}
21
+
Many ROOT [tutorials]({{'tutorials' | relative_url }}){:target="_blank"} are also available in Python. These tutorials are listed alongside their C++ counterparts in their respective tutorial categories, making it easy to explore both versions.
22
22
23
23
## Getting started
24
24
@@ -427,7 +427,7 @@ len(container) # TypeError: object of type 'MyContainer' has no len()
427
427
# pythonize MyClass by adding `__len__` and binding it to `GetSize`
428
428
fromROOTimport pythonization
429
429
@pythonization("MyContainer")
430
-
defpythonize_two_classes(klass):
430
+
defpythonize_length(klass):
431
431
klass.__len__= klass.GetSize
432
432
433
433
container=ROOT.MyContainer()
@@ -436,7 +436,7 @@ len(container) # 0
436
436
437
437
The very same mechanism is used internally inROOT to pythonize ROOT classes, and it can be applied to user classes too since ROOT v6.26.
438
438
439
-
A more thorough explanation of the `@pythonization` decorator, its parameters and more examples of usage can be found in the tutorial {% include tutorial_py name="pyroot002_pythonizationDecorator"%}.
439
+
A more thorough explanation of the `@pythonization` decorator, its parameters and more examples of usage can be found in the [Python interface documentation](https://root.cern/doc/master/group__Pythonizations.html).
440
440
441
441
442
442
## TPython: running Python from C++
@@ -483,7 +483,7 @@ Two kernels (or language flavours) allow to use ROOT from Jupyter: *Python* (2 a
483
483
484
484
-SWAN: CERN provides an online service to create and run Jupyter notebooks, called [SWAN](https://swan.cern.ch){:target="_blank"}. With this option no installation is required: a browser and a working Internet connection are enough. Both the Python and C++ kernels are available inSWAN.
485
485
486
-
Many ROOTtutorials are available as Jupyter notebooks. For example, most [PyROOT tutorials](https://root.cern/doc/master/group__tutorial__pyroot.html){:target="_blank"} are listed with two buttons below to obtain their notebook version and toopen them inSWAN, respectively.
486
+
Many ROOT[tutorials]({{'tutorials'| relative_url }}){:target="_blank"} are available as Jupyter notebooks than can accessed with two buttons below each tutorial to download their notebook version oropen them inSWAN, respectively.
Copy file name to clipboardExpand all lines: manual/root_architecture_and_components/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,7 @@ _**Example**_
154
154
{% endhighlight %}
155
155
156
156
157
-
{% include ref class="TRandomRanluxpp" %} is another generator based on [Ranlux++]( {{ 'blog/ranluxpp' | relative_url }} ).
157
+
[TRandomRanluxpp](https://root.cern/doc/master/TRandomGen_8h.html#a2ff32c3c0c95530bafbb80ca5116b679) is another generator based on [Ranlux++]( {{ 'blog/ranluxpp' | relative_url }} ).
Copy file name to clipboardExpand all lines: manual/trees/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ In addition to the documentation in this manual, we recommend to take a look at
23
23
24
24
> **RNTuple**
25
25
>
26
-
> [RNTuple](https://root.cern/doc/master/md_tree_2ntuple_2v7_2doc_2README.html){:target="_blank"} is the experimental evolution of {% include ref class="TTree" %} columnar data storage. {% include ref class="RNTuple" namespace="ROOT::Experimental" %} introduces robust interfaces, a high-performance storage layout, and an asynchronous, thread-safe scheduling.
26
+
> [RNTuple](https://root.cern/doc/master/md_tree_2ntuple_2v7_2doc_2README.html){:target="_blank"} is the experimental evolution of {% include ref class="TTree" %} columnar data storage. {% include ref class="RNTuple" namespace="ROOT" %} introduces robust interfaces, a high-performance storage layout, and an asynchronous, thread-safe scheduling.
0 commit comments