SND-LHC / sndsw

SND@LHC experiment framework based on FairShip and FairRoot
6 stars 17 forks source link

Remove duplication between shipunit.py and ShipUnit.h #213

Open olantwin opened 7 months ago

olantwin commented 7 months ago

As discussed in #212, we have near complete overlap between constants defined in these two files.

This means it's easy that they can become out of sync, which can cause many issues.

As going from python to C++ is hard, it would probably be easiest to change shipunit.py to be a thin wrapper, loading the C++ header using PyROOT.