GENIE-MC / Generator

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.
http://www.genie-mc.org
42 stars 92 forks source link

--output-file is ignore when running gevgen mono-energetic mode #293

Closed luketpickering closed 1 year ago

luketpickering commented 1 year ago

It seems that when running:

gevgen -t 1000180400 -n 100000 -f dune_cdr.root,numu_fhc -e 0.2,10 -p 14 --output-file 10e5events.dune.root --tune G18_10i_02_11a --cross-sections ccqe.g1810i.xml --event-generator-list CCQE

the produced ghep file will be called: 10e5events.dune.root as expected, but when running

gevgen -t 1000180400 -n 100000 -e 10 -p 14 --output-file 10gev_10e5events.root --tune G18_10i_02_11a --cross-sections ccqe.g1810i.xml --event-generator-list CCQE

the output file is called gntp.0.ghep.root which seems like a default name.

candreop commented 1 year ago

There is no —output-file option in gevgen. There is -o though.