From d98d11bd7f405eaa5123beb2d5aebda8528e8aed Mon Sep 17 00:00:00 2001
From: Volker Friese <v.friese@gsi.de>
Date: Sat, 15 May 2021 12:00:40 +0200
Subject: [PATCH] Fix bug in run_reco.C, concerning proper settings for the
 MUCH hit finder. Refs #2112.

---
 macro/run/run_reco.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/macro/run/run_reco.C b/macro/run/run_reco.C
index 721c4b6262..241582a772 100644
--- a/macro/run/run_reco.C
+++ b/macro/run/run_reco.C
@@ -290,7 +290,7 @@ void run_reco(TString input = "", Int_t nTimeSlices = -1, Int_t firstTimeSlice =
     // --- Parameter file name
     TString geoTag;
     geo->GetGeoTag(ECbmModuleId::kMuch, geoTag);
-    Int_t muchFlag  = (geoTag.Contains("mcbm") ? 0 : 1);
+    Int_t muchFlag  = (geoTag.Contains("mcbm") ? 1 : 0);
     TString parFile = gSystem->Getenv("VMCWORKDIR");
     parFile += "/parameters/much/much_" + geoTag(0, 4) + "_digi_sector.root";
     std::cout << "Using parameter file " << parFile << std::endl;
-- 
GitLab