Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
Overview →Harinder Singh
CSU Fresno
IntroductionAllows c++ code to run without having to
compile it
Installation➢ http://root.cern.ch/drupal/content/build-prerequisites
➢ http://root.cern.ch/drupal/content/installing-root-source
sudo aptitude install gcc g++ make binutils \ libx11-dev libxpm-dev libxft-dev libxext-devOPTIONAL DEPENDENCIES: (I've this installed)sudo aptitude install cmake \ gsl-bin libgsl0-dev \ liblzma2 liblzma-dev \ libgmp3c2 libgmp3-dev \ libpcre3 libpcre3-dev \ zlib1g zlib1g-dev
HOW TO INSTALL:
wget ftp://root.cern.ch/root/root_v5.34.00.source.tar.gztar -xzvp root_v5.34.00.source.tar.gzcd rootWHERE_TO_INSTALL_ROOT=/usr/local ## feel free to change this## feel free to change this./configure linux \ --with-x11-libdir=/usr/lib/i386-linux-gnu \ --with-xft-libdir=/usr/lib/i386-linux-gnu \ --with-xext-libdir=/usr/lib/i386-linux-gnu \ --with-xrootd-opts=--syslibs=/usr/lib/i386-linux-gnu \ --prefix=$WHERE_TO_INSTALL_ROOTmake# sudo make install ## sudo needed at least for for /etc/root# NEVER use make install in modern distros. Instead use:sudo checkinstall make installsudo cd $WHERE_TO_INSTALL_ROOTsource bin/thisroot.shroot ## :-) works ??
Example here : Ubuntu installation
Root Interactive session
Object Oriented
Framework organisation
User interfaces
Displaying a histogram
Basic navigation by clicking
Reading the root file and the tree
http://root.cern.ch/root/html/TH1F.html
Objects (MakeClass)
Fitting multiple Sub Ranges
More examples in Next sessionMore examples in Next session