From 9b6ab32f4fbfd82b33de1c58963ebadaa623de5e Mon Sep 17 00:00:00 2001
From: Adrian Meyer-Ahrens <a_meye37@uni-muenster.de>
Date: Fri, 5 Aug 2022 16:34:27 +0200
Subject: [PATCH] Revert last commit, since it did not fix the error

This reverts commit cb232fae937c64ed1040b75022b4753e1887d053.
---
 core/detectors/trd/CbmTrdParSetGas.cxx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/core/detectors/trd/CbmTrdParSetGas.cxx b/core/detectors/trd/CbmTrdParSetGas.cxx
index c268b87432..f54fc2f3d6 100644
--- a/core/detectors/trd/CbmTrdParSetGas.cxx
+++ b/core/detectors/trd/CbmTrdParSetGas.cxx
@@ -101,8 +101,11 @@ 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", mod->GetFileName().Data());
+  l->add("RepoPid", repopid);
   l->add("Gas", Form("Xe_%d", Int_t(1.e2 * mod->GetNobleGas())));
   l->add("NrOfModules", fNrOfModules);
   l->add("ModuleIdArray", moduleId);
-- 
GitLab