Setting up CERN ROOT framework with Eclipse

Whatsup guys! I have experienced some troubles setting up ROOT framework with Eclipse on MacOS. It took me hours to find the right articles. Here is the way that worked for me.

First I have installed ROOT with homebrew. You can find the instructions in this article:

https://alexpearce.me/2013/12/root-on-os-x-mavericks/

Now we want to setup ROOT and Eclipse.

Download and install Eclipse with CDT (you can have 2 eclipses at a time one for java and other for c :-)
Next follow this link:

https://twiki.cern.ch/twiki/bin/view/CMSPublic/BristolEclipseTutorial#How_to_set_up_Eclipse_for_ROOT

If you need the ROOT homebrew installation directory just type in terminal

“brew info root”

Finally some compiler optimizations can be found in this article:

http://www.tc.umn.edu/~kaes0001/randomstuff/EclipseRoot.pdf

Good luck!

RooChi2Var how-to

About chi^2 quantiles

http://ru.wikipedia.org/wiki/%D0%9A%D0%B2%D0%B0%D0%BD%D1%82%D0%B8%D0%BB%D0%B8_%D1%80%D0%B0%D1%81%D0%BF%D1%80%D0%B5%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F_%D1%85%D0%B8-%D0%BA%D0%B2%D0%B0%D0%B4%D1%80%D0%B0%D1%82

How to evaluate critical values of chi^2

http://otvety.google.ru/otvety/thread?tid=0957f82b3f43a2ed&pli=1

 

 

Get number of free parameters

http://root.cern.ch/phpBB3/viewtopic.php?p=26708

http://root.cern.ch/phpBB3/viewtopic.php?f=15&t=7501

Examples

http://root.cern.ch/svn/root/tags/v5-19-02a/test/stressRooFit.cxx

Eclipse Indigo eclipse.ini file

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-clean
-data
C:\Users\stepanov\sr2_workspace
-vm
C:\glassfish3\jdk\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m