From 1074c3dd71573d7b9eb68ef61762b774a5bf372b Mon Sep 17 00:00:00 2001 From: P-A Loizeau <p.-a.loizeau@gsi.de> Date: Wed, 20 Nov 2024 15:22:01 +0100 Subject: [PATCH] Use new TOF calibration file for mCBM 2024 legacy --- macro/beamtime/mcbm2022/ini_tof_clusterizer.C | 2 +- macro/beamtime/mcbm2024/mcbm_event_reco_L1.C | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/macro/beamtime/mcbm2022/ini_tof_clusterizer.C b/macro/beamtime/mcbm2022/ini_tof_clusterizer.C index 04957441fd..e19c816504 100644 --- a/macro/beamtime/mcbm2022/ini_tof_clusterizer.C +++ b/macro/beamtime/mcbm2022/ini_tof_clusterizer.C @@ -55,7 +55,7 @@ void ini_tof_clusterizer(Int_t calMode = 53, Int_t calSel = 0, Int_t calSm = 900 if (cCalId != "XXX") cFname = Form("%s/%s_set%09d_%02d_%01dtofClust.hst.root", parPath.Data(), cCalId.Data(), iCalSet, calMode, calSelRead); - if (cCalId == "2391_1") cFname = Form("%s/%s_TofCal.hst.root", parPath.Data(), cCalId.Data()); + if (cCalId == "2391_1" || cCalId == "3026_2") cFname = Form("%s/%s_TofCal.hst.root", parPath.Data(), cCalId.Data()); tofClust->SetCalParFileName(cFname); LOG(info) << "\n\n!!!!! Using TOF calibration " << cFname << " !!!!!\n\n"; diff --git a/macro/beamtime/mcbm2024/mcbm_event_reco_L1.C b/macro/beamtime/mcbm2024/mcbm_event_reco_L1.C index 74b8293fd9..a0881b854e 100644 --- a/macro/beamtime/mcbm2024/mcbm_event_reco_L1.C +++ b/macro/beamtime/mcbm2024/mcbm_event_reco_L1.C @@ -117,8 +117,9 @@ Bool_t mcbm_event_reco_L1(UInt_t uRunId = 3105, if (uRunId >= 812) cCalId = "831.100.4.0"; if (uRunId >= 1588) cCalId = "1588.50.6.0"; if (uRunId >= 2160) cCalId = "2160.50.4.0"; - if (uRunId >= 2352) cCalId = "2391.5.000"; + if (uRunId >= 2352) cCalId = "2391_1"; if (uRunId >= 2700) cCalId = "2912.1"; + if (uRunId >= 2900) cCalId = "3026_2"; // From nh through MR 1937 Int_t iCalSet = 30040500; // calibration settings if (uRunId >= 759) iCalSet = 10020500; -- GitLab