Closed siilieva closed 7 months ago
Also I had to fix the shipunit bug introduced when renaming snd specific parameters...
Sorry, I should have spotted this in the original PR...
Also I had to fix the shipunit bug introduced when renaming snd specific parameters...
Sorry, I should have spotted this in the original PR...
Well, I also missed it when renaming, good it is an quick and eazy fix.
Btw I just noticed there is also shipdata/ShipUnit.h that we use in c++ classes. I'll add the snd paramters there as well before the next push.
I've been wondering for a while how to best handle this longer-term. It would be easy to load the C++ from python using PyROOT, so shipunit.py could be made a wrapper around the header. But there is also a scikit-hep package for units, so it might be nice to use that for our python, with minimal additions for SND@LHC specific things...
Btw I just noticed there is also shipdata/ShipUnit.h that we use in c++ classes. I'll add the snd paramters there as well before the next push.
I've been wondering for a while how to best handle this longer-term. It would be easy to load the C++ from python using PyROOT, so shipunit.py could be made a wrapper around the header. But there is also a scikit-hep package for units, so it might be nice to use that for our python, with minimal additions for SND@LHC specific things...
For sure double definitions are nonsense. The wrapper solution seems nice. Would you mind creating an issue regarding this with the proposed solutions? Idk about the hepunits package. Units are quite important and what if there is a bug in that external package. And we generally need a few tens of units, that we already have.
For sure double definitions are nonsense. The wrapper solution seems nice. Would you mind creating an issue regarding this with the proposed solutions?
Sure!
Idk about the hepunits package. Units are quite important and what if there is a bug in that external package. And we generally need a few tens of units, that we already have.
How about the following: we use our own, very limited set of units in the core software, but recommend using hepunits
and particle
in analysis, as they define many further things analysts might find useful, and we don't want to reimplement?
For sure double definitions are nonsense. The wrapper solution seems nice. Would you mind creating an issue regarding this with the proposed solutions?
Sure!
Idk about the hepunits package. Units are quite important and what if there is a bug in that external package. And we generally need a few tens of units, that we already have.
How about the following: we use our own, very limited set of units in the core software, but recommend using
hepunits
andparticle
in analysis, as they define many further things analysts might find useful, and we don't want to reimplement?
I like this approach, yes.
As usual, grazie della collaborazione per PR :D
Figurati!
At the start of the emulsion run, the necessity of a few updates emerged - raw data paths etc. Then, there is the reverse board mapping that we use in the DAQ monitoring and which was missing the Veto3 support - I missed it in #210 since I only tested on MC and so with no DAQ monitoring. Also I had to fix the shipunit bug introduced when renaming snd specific parameters...