Skip to content
Snippets Groups Projects
Commit 6d6cbf5b authored by Sergey Gorbunov's avatar Sergey Gorbunov Committed by Florian Uhlig
Browse files

L1: bugfix

parent bf692d04
No related branches found
No related tags found
1 merge request!1026L1: cleanup
......@@ -1510,7 +1510,6 @@ std::vector<L1Material> CbmL1::ReadMaterialBudget(L1DetectorID detectorID)
result[iSt].SetRadThickBin(iBinX, iBinY, 0.01 * hStaRadLen->GetBinContent(iBinX, iBinY));
} // iBinX
} // iBinY
result[iSt].Repare();
LOG(info) << "- station " << iSt;
} // iSt
gFile = oldFile;
......
......@@ -353,6 +353,7 @@ void L1BaseStationInfo::SetMaterialMap(L1Material&& thicknessMap) noexcept
{
if (!fInitController.GetFlag(EInitKey::kThicknessMap)) {
fThicknessMap = std::move(thicknessMap);
fThicknessMap.Repare();
fInitController.SetFlag(EInitKey::kThicknessMap);
}
else {
......
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