From b679446225ac0a2dc0cc5571b09ef650da1ccf62 Mon Sep 17 00:00:00 2001
From: Vikas Singhal <vikas@vecc.gov.in>
Date: Mon, 4 Apr 2022 12:27:00 +0200
Subject: [PATCH] [mMUCH] Use proper parameter file for runs 2060 to 2062 in
 main unpack macro

---
 macro/run/run_unpack_tsa.C | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/macro/run/run_unpack_tsa.C b/macro/run/run_unpack_tsa.C
index a3587583f4..ca7b503ea9 100644
--- a/macro/run/run_unpack_tsa.C
+++ b/macro/run/run_unpack_tsa.C
@@ -212,6 +212,10 @@ void run_unpack_tsa(std::vector<std::string> infile = {"test.tsa"}, UInt_t runid
     muchconfig->SetDoWriteOptOutA("MuchDigiPulser");
     std::string parfilesbasepathMuch = Form("%s/macro/beamtime/mcbm2022/", srcDir.Data());
     muchconfig->SetParFilesBasePath(parfilesbasepathMuch);
+    if (2060 <= runid && runid <= 2162) {
+      /// Starting to use CRI Based MUCH setup with 2GEM and 1 RPC since 09/03/2022 Carbon run
+      muchconfig->SetParFileName("mMuchParUpto26032022.par");
+    }
     /// Enable duplicates rejection, Ignores the ADC for duplicates check
     muchconfig->SetDuplicatesRejection(true, true);
     /// Enable Monitor plots
-- 
GitLab