Skip to content
Snippets Groups Projects
Commit 28f9dfe6 authored by John Chapman's avatar John Chapman
Browse files

Cleaned-up `CaloHitAna`. Reduced `CaloHitAna` memory usage.

This is a manual sweep of the changes from !3978 into `master`.
Added an option to enable/disable recording of g4hits. The reason
for these changes is to fix the memory problems that were present
in the previous version of the code. There were minor problems with
the initialisation of new branches for the output tree, there were
some vectors that weren't getting cleared after each loop, and
there were a couple of objects that weren't being used anymore
which took up too much memory.

The initialisation of branches has been moved to the header file,
lines have been added to the source file to clean the vectors after
each loop and the unnecessary objects that accounted for most of the
memory problems have been removed.
parent c5a68b23
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment