JeffersonLab / iguana

Preservation of common physics data analysis algorithms. Currently focused on HIPO data.
https://jeffersonlab.github.io/iguana/
GNU Lesser General Public License v3.0
2 stars 7 forks source link

cppyy: unable to unpack `std::tuple` with ROOT 6.32 #253

Closed c-dilks closed 1 month ago

c-dilks commented 1 month ago

Found in #251:

Traceback (most recent call last):
  File "/__w/iguana/iguana/iguana/bin/iguana_ex_python_01_action_functions.py", line 57, in <module>
    px, py, pz, = algo_momentum_correction.Transform(
    ^^^^^^^^^^^
TypeError: tuple<double,double,double> object does not support indexing
c-dilks commented 1 month ago

resolved by avoiding std::tuple returns in #250