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

Test jet analysis #209

Closed Hendrik1704 closed 5 months ago

Hendrik1704 commented 5 months ago

This adds unit tests for the JetAnalysis class. Instead of testing every function separately, I tested only the input and output of the class. Otherwise, we have to test fastjet itself and there I trust the developers to test it themselves. I created an output file from the jet finding algorithm, which is always tested against the values our class produces in the jet finding.

This also adds the Jetscape test file with a few events.