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

Check for MF plugin

parent fbbc8248
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,7 @@ int main(int argc, char** argv) {
detector->SetGeometryFileName (simConfig::fsl.geometry);
runManager->SetUserInitialization(detector);
detector->SetMagFieldPluginPath(simConfig::fsl.magFieldPlugin);
if(simConfig::fsl.magFieldType=="Map") detector->SetMagFieldPluginPath(simConfig::fsl.magFieldPlugin);
//parse RegionsData
for (const auto& element : simConfig::jf["Regions data"]){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment