CBMroot: Difference between revisions

From LWP-Wiki
Jump to navigation Jump to search
(Created page with "== Configuration of CBMroot == Running the command '''root-setup cbm''' will configure your system to use CBMroot. This command will also automatically create-adapt your '''.b...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Configuration of CBMroot ==
[[Category:software-faq]]
Running the command '''root-setup cbm''' will configure your system to use CBMroot. 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.
== Configuration of CBMRoot ==
Running the command '''root-setup cbm''' will configure your system to use CBMRoot. 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/cbmroot/macro/'''
'''/home/p123456/fair_install/CBMRoot/macro/'''


In this directory you will find the cbm-macros. You can adapt them any way you like and then run them.<br/>
In this directory you will find the cbm-macros. You can adapt them any way you like and then run them.<br/>
In order to test your CBMroot system you can run the following commands from the directory '''/home/p123456/fair_install/cbmroot/macro/run/''':
In order to test your CBMRoot system you can run the following commands from the directory '''/home/p123456/fair_install/CBMRoot/macro/run/''':
   '''root -l -q run_sim.C'''
   '''root -l -q run_sim.C'''
   '''root -l -q run_reco.C'''
   '''root -l -q run_reco.C'''
Line 13: Line 14:
   '''root -l -q check_overlaps.C'''
   '''root -l -q check_overlaps.C'''
After this has completed successfully, you can run:
After this has completed successfully, you can run:
   '''root -l eventdisplay.C'''
   '''root -l eventDisplay.C'''
If everything works, a nice window with a coloured 3D plot of the full CBM-setup should appear.
If everything works, a nice window with a coloured 3D plot of the full CBM-setup should appear.

Latest revision as of 12:27, 11 March 2016

Configuration of CBMRoot

Running the command root-setup cbm will configure your system to use CBMRoot. 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/CBMRoot/macro/

In this directory you will find the cbm-macros. You can adapt them any way you like and then run them.
In order to test your CBMRoot system you can run the following commands from the directory /home/p123456/fair_install/CBMRoot/macro/run/:

 root -l -q run_sim.C
 root -l -q run_reco.C
 root -l -q run_digi.C
 root -l -q run_qa.C
 root -l -q check_overlaps.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 CBM-setup should appear.