Fork me on GitHub

Changeset c0f9b5b in git for readers


Ignore:
Timestamp:
Oct 23, 2015, 8:47:40 AM (9 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
35df584
Parents:
16aa8a3
Message:

check if can read Pythia8 configuration file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • readers/DelphesPythia8.cpp

    r16aa8a3 rc0f9b5b  
    220220
    221221    // Read in commands from configuration file
    222     pythia->readFile(argv[2]);
     222    if(!pythia->readFile(argv[2]))
     223    {
     224      message << "can't read Pythia8 configuration file " << argv[2] << endl;
     225      throw runtime_error(message.str());
     226    }
    223227
    224228    // Extract settings to be used in the main program
Note: See TracChangeset for help on using the changeset viewer.