29. 29
ROOTROOT
RROOTOOT OObject-bject-OOrientedriented TToolkitoolkit
Data Analysis toolData Analysis tool
Written in C++ (millions of lines)Written in C++ (millions of lines)
Open sourceOpen source
Integrated C++ interpreterIntegrated C++ interpreter
File formatsFile formats
I/O handling, graphics, plotting,I/O handling, graphics, plotting,
math, histogram binning, eventmath, histogram binning, event
display, geometric navigationdisplay, geometric navigation
Powerful fitting (RooFit) andPowerful fitting (RooFit) and
statistical (RooStats) packagesstatistical (RooStats) packages
In use by most of HEP experimentsIn use by most of HEP experiments
Standard tool for producing physicsStandard tool for producing physics
results at LHCresults at LHC
New tools for model creation andNew tools for model creation and
combinationscombinations
http://root.cern.ch/drupal/
30. 30
ROOT Sample FormatROOT Sample Format
Particles reconstructed and stored inParticles reconstructed and stored in ROOT TreesROOT Trees
Monte Carlo
31. 31
TMVATMVA
Multi-variate analysis tool-kitMulti-variate analysis tool-kit
Based on supervised learningBased on supervised learning
Embedded in ROOTEmbedded in ROOT
Easy training and testingEasy training and testing
Providing various classifiersProviding various classifiers
Linear Discriminant (LD)Linear Discriminant (LD)
Artificial Neural Networks (NN)Artificial Neural Networks (NN)
Boosted Decision Trees (BDT)Boosted Decision Trees (BDT)
......
http://tmva.sourceforge.net/
32. 32
Live DEMOLive DEMO
Basic ROOT operationsBasic ROOT operations
Make plotsMake plots
Change styleChange style
Export to files and macroExport to files and macro
Flatten dataFlatten data
Analysis class generatorAnalysis class generator
Dump into a new treeDump into a new tree
Import to TMVAImport to TMVA
Event weightEvent weight
Input variablesInput variables
Pre-cutsPre-cuts
TMVA outputTMVA output
Performance plotsPerformance plots
MVA class and parametersMVA class and parameters
https://github.com/yuanchao/HEPTutorial
http://ippog.web.cern.ch/sites/ippog.web.cern.ch/files/HEPTutorial.tar
Samle Events Luminosity
Real data ~ 500 K ~ 50 pb-1
ttbar ~ 380 K ~ 100 pb-1
W + jets ~ 70 K ~ 100 pb-1
Drell Yan ~ 100 K ~ 100 pb-1
QCD ~ 100 ~ 100 pb-1
42. You should know what youYou should know what you
are doing...are doing...
http://arstechnica.com/tech-policy/2013/04/microsoft-excel-the-ruiner-of-global-economies/
BE AWARE!BE AWARE!
46. 46
Installing ROOTInstalling ROOT
Get the ROOT binary for UbuntuGet the ROOT binary for Ubuntu
Go to here:Go to here:
http://sourceforge.net/projects/cernrootdebs/http://sourceforge.net/projects/cernrootdebs/
Download the i386 package:Download the i386 package:
Click on "Files" → "32bits!" → "root_5.32.00_i386.deb"Click on "Files" → "32bits!" → "root_5.32.00_i386.deb"
Open a terminalOpen a terminal
Type in the following commands:Type in the following commands:
$ cd Download/$ cd Download/
$ sudo dpkg -i root_5.32.00_i386.deb$ sudo dpkg -i root_5.32.00_i386.deb ← use guest passwd!← use guest passwd!
$ sudo apt-get install libssl0.9.8$ sudo apt-get install libssl0.9.8
$ sudo apt-get install libjpeg62$ sudo apt-get install libjpeg62
$ source /opt/root/bin/thisroot.sh$ source /opt/root/bin/thisroot.sh ← you can put in ~/.bashrc← you can put in ~/.bashrc
You can run root now:You can run root now:
$ root -l$ root -l ← " -l" means no splash window← " -l" means no splash window
root [0]root [0] TBrowser tTBrowser t ← make sure no error messages← make sure no error messages