From 8735fa654e47856a2d2a64d62bca04d1503ca65b Mon Sep 17 00:00:00 2001 From: Adrian Meyer-Ahrens <a_meye37@uni-muenster.de> Date: Fri, 5 Aug 2022 14:43:58 +0200 Subject: [PATCH] Try to fix error on some mac versions by not re-initializing string --- core/detectors/trd/CbmTrdParSetGas.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/detectors/trd/CbmTrdParSetGas.cxx b/core/detectors/trd/CbmTrdParSetGas.cxx index f54fc2f3d6..c268b87432 100644 --- a/core/detectors/trd/CbmTrdParSetGas.cxx +++ b/core/detectors/trd/CbmTrdParSetGas.cxx @@ -101,11 +101,8 @@ void CbmTrdParSetGas::putParams(FairParamList* l) } CbmTrdParModGas* mod = (CbmTrdParModGas*) fModuleMap[moduleId[0]]; - - TString repopid(mod->GetFileName().Data()); - 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("NrOfModules", fNrOfModules); l->add("ModuleIdArray", moduleId); -- GitLab