Skip to content
Snippets Groups Projects
Commit 152c60a5 authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau Committed by Pierre-Alain Loizeau
Browse files

mCBM 2024: bugfix in legacy macro, wrong TOF calib file index was used

parent 3e784f25
No related branches found
No related tags found
1 merge request!1973Mcbm2024 legacy bugfix for errors/overlooks in !1972
......@@ -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" || cCalId == "3026_2") cFname = Form("%s/%s_TofCal.hst.root", parPath.Data(), cCalId.Data());
if (cCalId == "2391_1" || cCalId == "3026_1") cFname = Form("%s/%s_TofCal.hst.root", parPath.Data(), cCalId.Data());
tofClust->SetCalParFileName(cFname);
LOG(info) << "\n\n!!!!! Using TOF calibration " << cFname << " !!!!!\n\n";
......
......@@ -119,7 +119,7 @@ Bool_t mcbm_event_reco_L1(UInt_t uRunId = 3105,
if (uRunId >= 2160) cCalId = "2160.50.4.0";
if (uRunId >= 2352) cCalId = "2391_1";
if (uRunId >= 2700) cCalId = "2912.1";
if (uRunId >= 2900) cCalId = "3026_2"; // From nh through MR 1937
if (uRunId >= 2900) cCalId = "3026_1"; // From nh through MR 1937
Int_t iCalSet = 30040500; // calibration settings
if (uRunId >= 759) iCalSet = 10020500;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment