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
Last revisionBoth sides next revision
root:root [2010/11/10 10:22] nchiaproot:root [2013/11/20 14:16] – [General] nchiap
Line 1: Line 1:
 ====== ROOT ====== ====== ROOT ======
 This page collects general ROOT hints. For LHCb specific info see [[root:LHCbROOT]]. This page collects general ROOT hints. For LHCb specific info see [[root:LHCbROOT]].
 +
 +=== Finding Help ===
 +If you are looking for an example containing some specific class (**TObjArray** below). ''grep'' for it in the tutorial directory:
 +<code>
 +cd $ROOTSYS/tutorials/
 +grep -r TObjArray *
 +</code>
  
 ===== Setup & Running ===== ===== Setup & Running =====
Line 13: Line 20:
   * [[root:savePlot | Save a plot to a file]]   * [[root:savePlot | Save a plot to a file]]
   * [[root:Strings | String manipulation]] - Tips and Tricks for working with strings.   * [[root:Strings | String manipulation]] - Tips and Tricks for working with strings.
-  
  
   * pyRoot: [[root:pythonRootConstructors | Constructors]] - How to use a ROOT constructor with pointers as arguments?   * pyRoot: [[root:pythonRootConstructors | Constructors]] - How to use a ROOT constructor with pointers as arguments?
   * pyRoot: [[root:python | Passing Lists to TGraph]]   * pyRoot: [[root:python | Passing Lists to TGraph]]
 +  * pyRoot: [[root:ownershipPyRoot | Ownership in PyROOT ]] - Or how not to loose your canvases. 
 +  * pyRoot: [[root:componentsPyRootRooFit | Drawing components of pdfs in RooFit]] - How to draw components of pdf ins RooFit with PyRoot. 
 +  * pyRoot: [[root:pyrootGetEvent | Accessing events in a tree]]
 ===== Plotting ===== ===== Plotting =====
   * [[root:functionsetnumberpoints | Set the number of points to draw a function]]   * [[root:functionsetnumberpoints | Set the number of points to draw a function]]
 +  * THStack: [[root:thstack |using and troubleshooting THStack]] 
 +  * [[root:ttreedraw | TTree::Draw]] - Tips, Tricks and Pitfalls
 ===== Configure Display ===== ===== Configure Display =====
   * Axis: [[root:setAxisRange | Set the display range of your axis]]   * Axis: [[root:setAxisRange | Set the display range of your axis]]
Line 26: Line 35:
   * Axis: [[root:labelsTitle | Configure labels and title]]   * Axis: [[root:labelsTitle | Configure labels and title]]
   * Axis: [[root:logScale | Set log scale for an axis]]   * Axis: [[root:logScale | Set log scale for an axis]]
 +  * Axis: [[root:redrawAxis | Redraw Axis to get ticks on top]]
 +  * Axis: [[root:binsOrder | What does "Bins must be in increasing order mean?"]]
 +  * Axis: [[root:PaletteAxis | How to format 'Colour Axis' in root]]
   * Marker: [[root:changeMarkerStyle | Change marker style]]   * Marker: [[root:changeMarkerStyle | Change marker style]]
   * Legend: [[root:addLegend | Adding a legend]]    * Legend: [[root:addLegend | Adding a legend]] 
Line 32: Line 44:
   * Pads: [[root:padLayouts | Pad Layouts]] - Examples of special Layouts   * Pads: [[root:padLayouts | Pad Layouts]] - Examples of special Layouts
   * StatBox: [[root:Two stats boxes | Draw two stats boxes]] - How to overlay histograms and draw both stats boxes.   * StatBox: [[root:Two stats boxes | Draw two stats boxes]] - How to overlay histograms and draw both stats boxes.
 +  * StatBox: [[root:noStats | No StatBoxes]] - Deactivate StatBoxes globally.
   * [[root:showCuts | Show cut values as lines or areas]]   * [[root:showCuts | Show cut values as lines or areas]]
   * [[root:colorscheme | Improve the color scheme]] - How to have a nice color scheme   * [[root:colorscheme | Improve the color scheme]] - How to have a nice color scheme
Line 39: Line 52:
  
 ===== Special Cases =====  ===== Special Cases ===== 
-  * [[root:troubleshooting | Writing Root-files ]] - Avoid empty files+  * [[root:troubleshooting | Root-files ]] - Troubles with root files (e.g. empty files)
   * [[root:nanfinite | Treatment of non-real numbers / infinity]] - How to catch infinite and imaginary numbers.   * [[root:nanfinite | Treatment of non-real numbers / infinity]] - How to catch infinite and imaginary numbers.
 +
 +
 +===== RooFit ===== 
 +  * [[root:roofittut01 | An easy start to RooFit]] - Learning the basics about RooFit
 +  * [[root:controlOutputRooFit | How verbose should RooFit be]]
 +  * [[root:customPdfsAndWorkspace | Custom pdfs and workspace ]] - Or how to avoid possible trouble...
root/root.txt · Last modified: 2014/07/30 11:53 by nchiap