XENONnT / fuse

XENON Framework for Unified Simulations of Events
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Add lineage clustering algorithm #190

Closed HenningSE closed 4 months ago

HenningSE commented 6 months ago

This PR adds an alternative (micro)-clustering algorithm to fuse. The new algorithm creates clusters based on the particle track informations. It can be selected when defining the simulation context.

coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 9663468272

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
fuse/context.py 13 14 92.86%
fuse/plugins/micro_physics/merge_lineage.py 40 41 97.56%
fuse/plugins/micro_physics/lineage_cluster.py 193 224 86.16%
<!-- Total: 285 318 89.62% -->
Totals Coverage Status
Change from base Build 9647764767: 2.2%
Covered Lines: 2605
Relevant Lines: 3234

💛 - Coveralls
ramirezdiego commented 6 months ago

Hey @HenningSE, I have executed this branch a few times in the past weeks, as well as checked the code. It looks good and I am of the opinion that, given that this approach is not yet our default, we should merge this feature as soon as it is functional. Could you then quickly summarize the changes you pushed in the past days?

HenningSE commented 6 months ago

Hi @ramirezdiego, these changes were pushed in the last few days: