Skip to content
Snippets Groups Projects
Commit 799e4822 authored by Olivier Couet's avatar Olivier Couet
Browse files

typos

parent c848674a
Branches
Tags
No related merge requests found
...@@ -18,7 +18,7 @@ should be provided - think for example of an integral or peak-search or ...@@ -18,7 +18,7 @@ should be provided - think for example of an integral or peak-search or
a Fourier transformation applied to an input spectrum to obtain the a Fourier transformation applied to an input spectrum to obtain the
actual measurement described by the model. actual measurement described by the model.
One specialty of experimental physics are the inevitable uncertaintes One specialty of experimental physics are the inevitable uncertainties
affecting each measurement, and visualisation tools have to include affecting each measurement, and visualisation tools have to include
these. In subsequent analysis, the statistical nature of the errors must these. In subsequent analysis, the statistical nature of the errors must
be handled properly. be handled properly.
......
# ROOT in Python # # ROOT in Python #
ROOT offers the possibility to interface to Python via a set of bindings called ROOT offers the possibility to interface to Python via a set of bindings called
PyROOT. PyROOT.
Python is used in a wide variety of application areas and one of the most used Python is used in a wide variety of application areas and one of the most used
scripting languages today. scripting languages today.
With the help of PyROOT it becomes possible to combine the power of a scripting With the help of PyROOT it becomes possible to combine the power of a scripting
language with ROOT tools. Introductory material to Python is available from many language with ROOT tools. Introductory material to Python is available from many
sources on the web, see e. g. http://docs.python.org. sources on the web, see e. g. http://docs.python.org.
## PyROOT ## ## PyROOT ##
...@@ -69,7 +69,7 @@ functionality similar to ROOT classes, which fit more seamlessly into your ...@@ -69,7 +69,7 @@ functionality similar to ROOT classes, which fit more seamlessly into your
Python code. Python code.
A more “pythonic” version of the above macro3 would use a replacement of the A more “pythonic” version of the above macro3 would use a replacement of the
ROOT class TMath for the provisoining of data to TGraphPolar. With the math ROOT class TMath for the provisioning of data to TGraphPolar. With the math
package, the part of the code becomes package, the part of the code becomes
``` {.cpp} ``` {.cpp}
...@@ -137,6 +137,6 @@ void printA(const A& a ){ ...@@ -137,6 +137,6 @@ void printA(const A& a ){
The value of A instance is 123. The value of A instance is 123.
``` ```
This example might seem trivial, but it shows a powerful ROOT feature. This example might seem trivial, but it shows a powerful ROOT feature.
C++ code can be JITted within PyROOT and the entities defined in C++ can be C++ code can be JITted within PyROOT and the entities defined in C++ can be
transparently used in Python! transparently used in Python!
\ No newline at end of file
...@@ -225,7 +225,7 @@ If ...@@ -225,7 +225,7 @@ If
, then the , then the
[TMathText interface](http://root.cern.ch/root/htmldoc/TMathText.html) [TMathText interface](http://root.cern.ch/root/htmldoc/TMathText.html)
is invoked. It provides the plain TeX syntax and allow to access character's is invoked. It provides the plain TeX syntax and allow to access character's
set like Russian and Japenese. set like Russian and Japanese.
## Interpretation and Compilation ## Interpretation and Compilation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment