ComPWA / ComPWA-legacy

[deprecated] C++ back-end for the Common Partial Wave Analysis framework
https://compwa.github.io/legacy
Other
9 stars 9 forks source link

Handing improper Events to convert() of Kinematics causes segfault #299

Closed spflueger closed 4 years ago

spflueger commented 4 years ago

Describe the bug Handing improper Events to Kinematics.convert() causes segfault. Improper would mean too few particles in an Event as expected by Kinematics.

Expected behavior A check matching the Events to the infos of Kinematics should be done and an empty dataset should be returned (or faulty events should be skipped). Also an error message should be written.

[Estimated effort: 1h]

spflueger commented 4 years ago

Fixed by #306