ROOTPWA-Maintainers / ROOTPWA

ROOTPWA is a toolkit for partial-wave analysis of multi-particle final states produced in high-energy particle reactions. It is used to determine hadron spectra from experimental data.
Other
8 stars 14 forks source link

generatePhaseSpace: Error handling if no output file #195

Closed cdreisbach closed 7 years ago

cdreisbach commented 7 years ago

If a not-existing output file is passed as argument to generatePhaseSpace, the usage of this file as data file via ROOT.Open(filename) gives an error

Added a check whether the args.outputFileName is a valid file

cdreisbach commented 7 years ago

Yes, you are right. Thank you.