User Tools

Site Tools



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

Link to this comparison view

root:pyrootpassref [2014/07/30 11:58] (current)
nchiap created
Line 1: Line 1:
 +====== Pass by Reference ======
 +<code python>
 +# assuming graph is a TGraph
 +from ROOT import Double
 +x = Double(0)
 +y = Double(0)
 +graph.GetPoint(1,​ x, y)
root/pyrootpassref.txt ยท Last modified: 2014/07/30 11:58 by nchiap