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

Some pictures replaced

parent da40f1be
No related branches found
No related tags found
No related merge requests found
...@@ -1152,12 +1152,12 @@ ClassImp(ABC); ...@@ -1152,12 +1152,12 @@ ClassImp(ABC);
**Step 2:** Load the ABC class in the script. **Step 2:** Load the ABC class in the script.
``` {.cpp} ``` {.cpp}
// Check if ABC is already loaded // Check if ABC is already loaded
if (!TClass::GetDict("ABC")) { if (!TClass::GetDict("ABC")) {
gROOT->ProcessLine(".L ABCClass.C++"); gROOT->ProcessLine(".L ABCClass.C++");
} }
// Use the Class // Use the Class
ABC *v = new ABC; ABC *v = new ABC;
v->p = (sqrt((v->a * v->a)+ (v->b * v->b)+(v->c * v->c))); v->p = (sqrt((v->a * v->a)+ (v->b * v->b)+(v->c * v->c)));
``` ```
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
## Folders ## Folders
![](pictures/030000E1.png)A **`TFolder`** is a collection of objects ![](pictures/030000E1.png)
A **`TFolder`** is a collection of objects
visible and expandable in the ROOT object browser. Folders have a name visible and expandable in the ROOT object browser. Folders have a name
and a title and are identified in the folder hierarchy by an "UNIX-like" and a title and are identified in the folder hierarchy by an "UNIX-like"
naming convention. The base of all folders is `//root`. It is visible at naming convention. The base of all folders is `//root`. It is visible at
...@@ -296,7 +298,7 @@ browser, get the list of browseable objects first and add it to the ...@@ -296,7 +298,7 @@ browser, get the list of browseable objects first and add it to the
collection. collection.
``` {.cpp} ``` {.cpp}
gROOT->GetListOfBrowsables()->Add(run); gROOT->GetListOfBrowsables()->Add(run);
``` ```
The first parameter of the `Add` method is a pointer to a **`TTask`**, The first parameter of the `Add` method is a pointer to a **`TTask`**,
......
...@@ -3868,14 +3868,14 @@ inaccordance with `fLocalFrame` flag. ...@@ -3868,14 +3868,14 @@ inaccordance with `fLocalFrame` flag.
A typical example from TGeoBBox::FillBuffer3D: A typical example from TGeoBBox::FillBuffer3D:
``` {.cpp} ``` {.cpp}
if (reqSections & TBuffer3D::kBoundingBox) { if (reqSections & TBuffer3D::kBoundingBox) {
Double_t halfLengths[3] = { fDX, fDY, fDZ }; Double_t halfLengths[3] = { fDX, fDY, fDZ };
buffer.SetAABoundingBox(fOrigin, halfLengths); buffer.SetAABoundingBox(fOrigin, halfLengths);
if (!buffer.fLocalFrame) { if (!buffer.fLocalFrame) {
TransformPoints(buffer.fBBVertex[0], 8); TransformPoints(buffer.fBBVertex[0], 8);
} }
buffer.SetSectionsValid(TBuffer3D::kBoundingBox); buffer.SetSectionsValid(TBuffer3D::kBoundingBox);
} }
``` ```
#### Logical and Physical Objects #### Logical and Physical Objects
......
...@@ -8,7 +8,9 @@ of ROOT. They are located in two directories: `$ROOTSYS/tutorials` and ...@@ -8,7 +8,9 @@ of ROOT. They are located in two directories: `$ROOTSYS/tutorials` and
## \$ROOTSYS/tutorials ## \$ROOTSYS/tutorials
![](pictures/030001F9.png)The tutorials directory contains many example ![](pictures/030001F9.png)
The tutorials directory contains many example
scripts. *To have all examples working you must have write permission scripts. *To have all examples working you must have write permission
and you will need to execute`hsimple.C` first*. If you do not have write and you will need to execute`hsimple.C` first*. If you do not have write
permission in the directory` $ROOTSYS/tutorials`, copy the entire permission in the directory` $ROOTSYS/tutorials`, copy the entire
...@@ -285,8 +287,9 @@ This table summarizes the findings on the impact of compressions: ...@@ -285,8 +287,9 @@ This table summarizes the findings on the impact of compressions:
#### Setting the Split Level #### Setting the Split Level
![](pictures/080001FA.png)Split Level = 0: ![](pictures/080001FA.png)
Split Level = 0: \
Now we execute Event with the split parameter set to 0: Now we execute Event with the split parameter set to 0:
``` {.cpp} ``` {.cpp}
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment