Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Phys102-Lecture02-08-10Fall

Phys102-Lecture02-08-10Fall

Ratings: (0)|Views: 63|Likes:
Published by benefit187

More info:

Published by: benefit187 on Oct 28, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

 
Computational Lab in Physics:Doing calculations inC++ and using ROOT.Derivatives
Steven Kornreich
 www.beachlook.com
 
2
Using ROOT
Setting up ROOT in the Rm 106linux cluster
By default, root is not in your path.
To add, add these lines to your.bashrc:
export ROOTSYS=/usr/local/root
export PATH=$PATH:$ROOTSYS/bin
 
3
ROOT commands
Starting root, just type “root” 
At the root prompt:
.q = Exit from root
.ls = list the files loaded into root session
.! some-unix-command = execute some-unix-command in the shell
Most c++ commands can also beinterpreted.
Executing a macro “myMacro.C”:
.x myMacro.C

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->