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

Refactored FourMomentum and Particle classes #274

Closed spflueger closed 4 years ago

spflueger commented 4 years ago

The FourMomentum class was reworked, because the constructor is not safe. In the RootDataIO test a FourMomentum with just a CMS energy was created, but this created a wrong FourMomentum (px=CMS, e=0). This problem is not eliminated. Also the FourMomentum and Particle classes were a strange combination of OO and functional code.