WireCell / wire-cell-toolkit

Toolkit for Liquid Argon TPC Simulation and Reconstruction
https://wirecell.github.io/
Other
7 stars 22 forks source link

Create_graph speed issue/bug fix #318

Closed HaiwangYu closed 4 months ago

HaiwangYu commented 4 months ago

Introduction

After impl. of Create_graph, I tried to test it in a clustering_separate placeholder, by trying to create graph for all clusters. This showed a very slow speed. (~300 sec vs. less than 3sec for the full clustering_separate function in WCP)

This was fixed and more validations were effectively done:

After the above changes, the WCT Create_graph runs pretty fast now. Also the edges are largely consistent with WCP.

PS: cheat sheet for WCP: https://hackmd.io/@HaiwangYu/HkOI9XZv0