Skip to content
Snippets Groups Projects
Commit cb232fae authored by Adrian Meyer-Ahrens's avatar Adrian Meyer-Ahrens
Browse files

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

parent 7f3a8bf3
No related branches found
No related tags found
No related merge requests found
...@@ -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