software:geometry
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:geometry [2019/02/13 09:14] – himuser | software:geometry [2022/01/14 18:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
The geometry you want to use in your simulation can be set in the primaf4sim.conf file. | The geometry you want to use in your simulation can be set in the primaf4sim.conf file. | ||
- | ==== Compiling and creating a root geometry file ==== | + | ===== Compiling and creating a root geometry file ===== |
In order to create the root geometry files, go to the according directory and do: | In order to create the root geometry files, go to the according directory and do: | ||
< | < | ||
cd primasoft/ | cd primasoft/ | ||
- | camke . | + | cmake . |
make | make | ||
</ | </ | ||
Line 33: | Line 33: | ||
- Modify your CmakeLists.txt | - Modify your CmakeLists.txt | ||
- Make and execute your new executable → a new .root file is created | - Make and execute your new executable → a new .root file is created | ||
+ | - Use cmake --build. | ||
- | To check, weather your geometry is correct, have look at it. Opem the root file and the TBrowser: | + | Useful links: |
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | ==== Have a look at the geometry ==== | ||
+ | |||
+ | To check, weather your geometry is correct, have look at it. Open the root file and the TBrowser: | ||
< | < | ||
primasoft/ | primasoft/ | ||
Line 41: | Line 51: | ||
Now open the folders until you can see the different Volume folders.\\ | Now open the folders until you can see the different Volume folders.\\ | ||
With a right-click on for example Master Volume you can select Draw and a new window will be opened. | With a right-click on for example Master Volume you can select Draw and a new window will be opened. | ||
- | Enter " | + | Enter " |
+ | |||
+ | == Scene interaction with GL viewer: == | ||
+ | * Left mouse button: ROTATE (ORBIT) the scene by holding the mouse button and moving the mouse | ||
+ | * w: wireframe mode | ||
+ | * e: switch between dark/light color-set | ||
+ | * r: filled polygons mode | ||
+ | * t: outline mode | ||
+ | | ||
+ | More interaction modes are explained in the help menu. |
software/geometry.1550049250.txt.gz · Last modified: 2022/01/14 18:44 (external edit)