NUISANCEMC / nuisance

github mirror of the NUISANCE neutrino interaction generator comparison tool. Compare your favourite neutrino interaction generators to each other and over 350 published data sets
https://nuisance.hepforge.org
GNU General Public License v3.0
11 stars 22 forks source link

Fix memory usage problem in PrepareGENIE app #3

Closed sjgardiner closed 5 years ago

sjgardiner commented 5 years ago

While processing large (~2 GB) GENIE samples for Tensions 2019, I ran into a problem where PrepareGENIE would fill memory as it made a copy of the input TTree containing the GENIE event records. This problem can be avoided by using the "fast" option in the calls to TTree::CloneTree() in app/PrepareGENIE.cxx.