Variable reference from PyROOT

Hi @etejedor, thank you for the answer.

Unfortunately I just tried with ROOT.double(1.) and I’m not able to see changes, while with c_types I got an overloading run time error (none of the 9 overloaded methods succeeded, there are different methods for different types).

And is there a way to update values in the python code and see the changes in the c++ one (the c++ function is only used to “declare” values to this algorithm).

Thank you