Skip to content
Snippets Groups Projects
Commit a9b17982 authored by Raees Khan's avatar Raees Khan
Browse files

Pythia can read in files

parent 04bdf353
No related branches found
No related tags found
1 merge request!132FullSimLight to read a json configuration file - and set geometry filename,...
......@@ -154,7 +154,8 @@ int main(int argc, char** argv) {
if(simConfig::fsl.eventGeneratorName=="Pythia")
{
#if USE_PYTHIA
set_pythia_config((simConfig::fsl.typeOfEvent).c_str());
if(simConfig::fsl.typeOfEvent != "") set_pythia_config((simConfig::fsl.typeOfEvent).c_str());
else set_pythia_config((simConfig::fsl.eventInputFile).c_str());
#else
std::cerr << "Support for Pythia is not available. \nPlease visit the website http://home.thep.lu.se/Pythia/ to install it in your system." << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment