smash-transport / sparkx

SPARKX - Software Package for Analyzing Relativistic Kinematics in Collision eXperiments
https://smash-transport.github.io/sparkx/
GNU General Public License v3.0
5 stars 0 forks source link

QCumulant differential flow: POI PDG optional #240

Closed NGoetz closed 2 months ago

NGoetz commented 2 months ago

Due to line 776 in QCumulant-Flow, we enforce giving the pdg of POIs. However, the most common usecase is all charged particles. Therefore, this should be adapted.

Hendrik1704 commented 2 months ago

Can't you just read in the data and filter for charged hadrons. Then you give this to the flow with the poi_pdg=None?

NGoetz commented 2 months ago

The problem was that poi_pdg=None caused a bug because None is not a list. Anyway, that was fixed by #242