User Tools

Site Tools


root:root

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
root:root [2017/09/05 10:30] iwnroot:root [2017/09/07 18:46] (current) iwn
Line 5: Line 5:
   * ''[[https://root.cern.ch/doc/master/classTH1.html|TH1]]'' to make histograms,   * ''[[https://root.cern.ch/doc/master/classTH1.html|TH1]]'' to make histograms,
   * ''[[https://root.cern.ch/doc/master/classTLorentzVector.html|TLorentzVector]]'' to make a four-vectors that you can boost, or add together with simply ''+'',   * ''[[https://root.cern.ch/doc/master/classTLorentzVector.html|TLorentzVector]]'' to make a four-vectors that you can boost, or add together with simply ''+'',
-  * ''[[https://root.cern.ch/doc/master/class TBrowser.html|TBrowser]]'' to browse ''ROOT'' files containing trees, histograms, ...+  * ''[[https://root.cern.ch/doc/master/classTBrowser.html|TBrowser]]'' to browse ''ROOT'' files containing trees, histograms, ...
 Once installed, you can use its extensive libraries in your ''C++'' code or in the ''ROOT'' command line. If you don't like ''C++'' or pointers, it is also possible to use ''ROOT'' in ''python'', a.k.a. ''pyROOT''. This is definitely a good choice for doing simple things, such as making plots. Once installed, you can use its extensive libraries in your ''C++'' code or in the ''ROOT'' command line. If you don't like ''C++'' or pointers, it is also possible to use ''ROOT'' in ''python'', a.k.a. ''pyROOT''. This is definitely a good choice for doing simple things, such as making plots.
  
Line 21: Line 21:
     * [[root:pyroot_TH1|handling TH1 histograms]],     * [[root:pyroot_TH1|handling TH1 histograms]],
     * [[root:pyroot_TFile|handling TFile files and TDirectory directories]],     * [[root:pyroot_TFile|handling TFile files and TDirectory directories]],
-    * [[https://github.com/clelange/roofit|RooFit]] and [[https://github.com/clelange/roostats|RooStats]] tutorials.+    * [[https://github.com/clelange/roofit|RooFit]] and [[https://github.com/clelange/roostats|RooStats]] tutorials, [[https://www.nikhef.nl/~vcroft/GettingStartedWithRooFit.html|RooFit manual]].
   * [[root:fit|More on fitting in ROOT]].    * [[root:fit|More on fitting in ROOT]]. 
   * [[https://wiki.physik.uzh.ch/lhcb/root:root|Some useful and advanced examples made by the LHCb group]].   * [[https://wiki.physik.uzh.ch/lhcb/root:root|Some useful and advanced examples made by the LHCb group]].
 +
 +<wrap tip>__Protip__</wrap>: to quickly open root files in ''ROOT'''s ''TBrowser'', use this predefined function, together with [[computing:TBrowse|this macro]]: <WRAP lo><code>function TBrowse { root -l "$@" ~/macros/myMacro.C; }</code></WRAP>
root/root.1504600258.txt.gz · Last modified: 2017/09/05 10:30 by iwn