R3Broot: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:software-faq]] | [[Category:software-faq]] | ||
== Configuration of | == Configuration of R3BRoot == | ||
Running the command '''root-setup r3b''' will configure your system to use | Running the command '''root-setup r3b''' will configure your system to use R3BRoot. This command will also automatically create-adapt your '''.bashrc''' file, so after you have run this command your system is almost ready, you do have to re-open the terminal to activate the new environment settings or run the '''source''' command given at the end of set-up. | ||
The following directories are automatically created:<br/> | The following directories are automatically created:<br/> | ||
'''/home/p123456/fair_install/ | '''/home/p123456/fair_install/R3BRoot/macros/''' | ||
In this directory you will find the r3b-macros. You can adapt them any way you like and then run them.<br/> | In this directory you will find the r3b-macros. You can adapt them any way you like and then run them.<br/> | ||
In order to test your | In order to test your R3BRoot system you can run the following commands from the directory '''/home/p123456/fair_install/R3BRoot/macros/r3b/''': | ||
'''root -l -q r3bsim.C''' | '''root -l -q r3bsim.C''' | ||
After this has completed successfully (check if the on screen output of the command ends with “Finished successfully”), you can run: | After this has completed successfully (check if the on screen output of the command ends with “Finished successfully”), you can run: | ||
'''root -l | '''root -l eventDisplay.C''' | ||
If everything works, a nice window with a coloured 3D plot of the full R3B-setup should appear. | If everything works, a nice window with a coloured 3D plot of the full R3B-setup should appear. |
Latest revision as of 11:35, 11 March 2016
Configuration of R3BRoot
Running the command root-setup r3b will configure your system to use R3BRoot. This command will also automatically create-adapt your .bashrc file, so after you have run this command your system is almost ready, you do have to re-open the terminal to activate the new environment settings or run the source command given at the end of set-up.
The following directories are automatically created:
/home/p123456/fair_install/R3BRoot/macros/
In this directory you will find the r3b-macros. You can adapt them any way you like and then run them.
In order to test your R3BRoot system you can run the following commands from the directory /home/p123456/fair_install/R3BRoot/macros/r3b/:
root -l -q r3bsim.C
After this has completed successfully (check if the on screen output of the command ends with “Finished successfully”), you can run:
root -l eventDisplay.C
If everything works, a nice window with a coloured 3D plot of the full R3B-setup should appear.