Skip to content
Snippets Groups Projects
Commit 826378c3 authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau
Browse files

mCBM 2020: fix path to unp par file for MUCH, should fix test

parent fcd7dc6b
No related branches found
No related tags found
1 merge request!156Add test for mCBM 2020 reconstruction macro
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment