Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
root:root [2017/09/05 10:29] – iwn | root:root [2017/09/05 15:04] – iwn |
---|
| |
''ROOT'' is a framework based on ''C++'' that is specialized in processing data in High Energy Physics. Some of its central classes are | ''ROOT'' is a framework based on ''C++'' that is specialized in processing data in High Energy Physics. Some of its central classes are |
* ''TTree'' ([[https://root.cern.ch/doc/master/classTH1.html|''TTree'']]) to store data; typically variables are stored in branches for each entry/event (e.g. a proton-proton collision), | * ''[[https://root.cern.ch/doc/master/classTTree.html|TTree]]'' to store data; typically variables are stored in branches for each entry/event (e.g. a proton-proton collision), |
* ''TH1F'', ''TH1D'', ... to make histograms, | * ''[[https://root.cern.ch/doc/master/classTH1.html|TH1]]'' to make histograms, |
* ''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 ''+'', |
* ''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. |
| |
* [[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]]. |