The popular GENIE Generator product is used by nearly all accelerator neutrino experiments and it plays a key role in the exploitation of neutrino data. The Generator implements a modern software framework and it includes state-of-the-art physics modules. It captures the latest results of the GENIE global analysis of neutrino scattering data and includes several tunes that were produced using the proprietary Comparisons and Tuning products. The GENIE physics model is universal and comprehensive: It handles all neutrinos and targets, and all processes relevant from MeV to PeV energy scales. The Generator includes several tools (flux drivers, detector geometry navigators, specialized event generation apps, event reweighting engines) to simulate complex experimental setups in full detail and to support generator-related analysis tasks.
Previous implementation of Messenger will deconstruct before some class that are using this in its deconstructor. This will lead to noisy output and a sigsgev error.
This should fix it and always make sure Messenger is deconstructed at correctly order.
oops, I think this is not working because it still can't ensure that Messanger is deconstrued after its consumers. This "fixes" the bug just by returning a dangling pointer to deconstructed object that happens to work
Previous implementation of Messenger will deconstruct before some class that are using this in its deconstructor. This will lead to noisy output and a sigsgev error.
This should fix it and always make sure Messenger is deconstructed at correctly order.