GENIE-MC/Generator

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

Closed this issue · 1 comments

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.

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