JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

Hitlist speedup #509

Closed hansenjo closed 11 months ago

hansenjo commented 1 year ago

The main content of this PR is a set of improvements to the hitlist processing that results in a speedup of the analysis of all detectors, especially those with lots of hits, like the NPSCalorimeter, where I have benchmarked about 30% overall performance improvement. See the log message of commit 4d05284 for technical details.

Additionally, the SCons build system was updated to use the build_library() utility function from Podd. This lets hcana take advantage of the improvements implemented there, in particular the SCons build now also generates a libHallC.rootmap file.

Finally, the message "DB_DIR set to DBASE" on program startup no longer appears, and DB_DIR isn't set, if one only requests the program version with --version.

This updates hcana to version 1.0.0 and the Podd submodule to the latest version, 1.7.7.

hansenjo commented 11 months ago

Ping. Everything OK with this pull request?

MarkKJones commented 11 months ago

I wanted to check it out with another experiment analysis