PANDAroot: Difference between revisions
(Created page with "== Configuration of PANDAroot == Running the command '''root-setup panda''' will configure your system to use PANDAroot. This command will also automatically create-adapt your...") |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Configuration of | [[Category:software-faq]] | ||
Running the command '''root-setup panda''' will configure your system to use | == Configuration of PandaRoot == | ||
Running the command '''root-setup panda''' will configure your system to use PandaRoot. 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 directory is automatically created:<br/> | The following directory is automatically created:<br/> | ||
'''/home/p123456/fair_install/ | '''/home/p123456/fair_install/PandaRoot/macro/''' | ||
In this directory you will find the panda-macros. You can adapt them any way you like and then run them. | In this directory you will find the panda-macros. You can adapt them any way you like and then run them.<br/> | ||
In order to test your | In order to test your PandaRoot system you can run the following commands from the directory '''/home/p123456/fair_install/PandaRoot/macro/run/''': | ||
'''root -l -q sim_complete.C''' | '''root -l -q sim_complete.C''' | ||
'''root -l -q digi_complete.C''' | '''root -l -q digi_complete.C''' | ||
Line 13: | Line 14: | ||
'''root -l -q ana_complete.C''' | '''root -l -q ana_complete.C''' | ||
After this has completed successfully, you can run: | After this has completed successfully, you can run: | ||
'''root -l | '''root -l eventDisplay.C''' | ||
If everything works, a nice window with a coloured 3D plot of the full | If everything works, a nice window with a coloured 3D plot of the full Panda-setup should appear. |
Latest revision as of 11:43, 11 March 2016
Configuration of PandaRoot
Running the command root-setup panda will configure your system to use PandaRoot. 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 directory is automatically created:
/home/p123456/fair_install/PandaRoot/macro/
In this directory you will find the panda-macros. You can adapt them any way you like and then run them.
In order to test your PandaRoot system you can run the following commands from the directory /home/p123456/fair_install/PandaRoot/macro/run/:
root -l -q sim_complete.C root -l -q digi_complete.C root -l -q reco_complete.C root -l -q pid_complete.C root -l -q ana_complete.C
After this has completed successfully, you can run:
root -l eventDisplay.C
If everything works, a nice window with a coloured 3D plot of the full Panda-setup should appear.