I’m using ROOT 5.27/06b (5 November 2010) on lxplus (Linux lxplus427.cern.ch 2.6.18-274.12.1.el5 #1 SMP Wed Nov 30 08:57:58 CET 2011 x86_64 x86_64 x86_64 GNU/Linux )
If I have to use that version of ROOT, what would be the best way to store array of doubles in PyROOT?
seen from the python-side, either an array from module array or any of the numpy editions would be best. What is the use? In particular, will the array pass onto the C++ side, and if yes, how?
okay; note that an array can be used where C++ expects a double* and it can be used in a TTree as well, so that should all be fine. (See also here, section A2.2.)