Skip to content
Snippets Groups Projects
Commit 8735fa65 authored by Adrian Meyer-Ahrens's avatar Adrian Meyer-Ahrens Committed by Sergey Gorbunov
Browse files

Try to fix error on some mac versions by not re-initializing string

parent fb579312
No related branches found
No related tags found
1 merge request!870Read path to new likelihood file from parameter file
...@@ -101,11 +101,8 @@ void CbmTrdParSetGas::putParams(FairParamList* l) ...@@ -101,11 +101,8 @@ void CbmTrdParSetGas::putParams(FairParamList* l)
} }
CbmTrdParModGas* mod = (CbmTrdParModGas*) fModuleMap[moduleId[0]]; CbmTrdParModGas* mod = (CbmTrdParModGas*) fModuleMap[moduleId[0]];
TString repopid(mod->GetFileName().Data());
l->add("RepoDrift", "parameters/trd/CbmTrdDriftMap.root"); l->add("RepoDrift", "parameters/trd/CbmTrdDriftMap.root");
l->add("RepoPid", repopid); l->add("RepoPid", mod->GetFileName().Data());
l->add("Gas", Form("Xe_%d", Int_t(1.e2 * mod->GetNobleGas()))); l->add("Gas", Form("Xe_%d", Int_t(1.e2 * mod->GetNobleGas())));
l->add("NrOfModules", fNrOfModules); l->add("NrOfModules", fNrOfModules);
l->add("ModuleIdArray", moduleId); l->add("ModuleIdArray", moduleId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment