IAP GITLAB

Commit 297fe741 authored by Colin Baus's avatar Colin Baus

fixed sth I broke for test mode

git-svn-id: https://devel-ik.fzk.de/svn/mc/crmc/trunk@4659 c7a5e08c-de06-0410-9364-b41cf42a0b17
parent d2d72660
......@@ -210,10 +210,10 @@ CRMCoptions::ParseOptions(int argc, char** argv)
//fFilter = opt["filter"].as<string>();
//}
if (opt.count("Test"))
if (opt.count("test"))
{
fOutputMode = eHepMC;
fTest = opt["Test"].as<bool>();
fTest = opt["test"].as<bool>();
}
if (opt.count("cross-section"))
......@@ -289,10 +289,6 @@ CRMCoptions::DumpConfig() const
cerr << " exit ..." << endl;
exit(1);
}
else
{
cout << fTargetMomentum << " " <<fProjectileMomentum << endl;
}
if ( fTest ) {
cout << "\n >> crmc Test mode <<\n\n" << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment