From 826378c37ee7d23bd8549ec167a3f6148adc476a Mon Sep 17 00:00:00 2001 From: P-A Loizeau <p.-a.loizeau@gsi.de> Date: Wed, 11 Nov 2020 12:11:34 +0100 Subject: [PATCH] mCBM 2020: fix path to unp par file for MUCH, should fix test --- macro/beamtime/mcbm2020/unpack_tsa_mcbm.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macro/beamtime/mcbm2020/unpack_tsa_mcbm.C b/macro/beamtime/mcbm2020/unpack_tsa_mcbm.C index b598946804..5e13480e30 100644 --- a/macro/beamtime/mcbm2020/unpack_tsa_mcbm.C +++ b/macro/beamtime/mcbm2020/unpack_tsa_mcbm.C @@ -533,7 +533,7 @@ void unpack_tsa_mcbm(TString inFile = "", std::cout << "MUCH: Feb by feb time offset correction......" << std::endl; UInt_t uRun, uNx; Double_t offset; - ifstream infile_off("../mcbm2020/parameters/time_offset_much.txt"); + ifstream infile_off(paramDir + "/parameters/time_offset_much.txt"); if (!infile_off) { std::cout << "can not open time offset MUCH parameter List" << std::endl; return kFALSE; @@ -546,7 +546,7 @@ void unpack_tsa_mcbm(TString inFile = "", infile_off.close(); std::cout << "masking noisy channels......" << std::endl; UInt_t uChan = 0; - ifstream infile_noise("../mcbm2020/parameters/much_noisy_channel_list.txt"); + ifstream infile_noise(paramDir + "parameters/much_noisy_channel_list.txt"); if (!infile_noise) { std::cout << "can not open MUCH noisy channel List" << std::endl; return kFALSE; -- GitLab