This shows you the differences between two versions of the page.
— | root:pyrootpassref [2014/07/30 11:58] (current) – created nchiap | ||
---|---|---|---|
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, | ||
+ | </ | ||
+ | |||