Skip to content

Commit b29a66c

Browse files
Force the update of the LUT when changing runs
1 parent c200300 commit b29a66c

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

Common/Tools/StandardCCDBLoader.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,8 @@ class StandardCCDBLoader
105105
}
106106

107107
// load matLUT for this timestamp
108-
if (!lut) {
109-
LOG(info) << "Loading material look-up table for timestamp: " << currentRunNumber;
110-
lut = o2::base::MatLayerCylSet::rectifyPtrFromFile(ccdb->template getForRun<o2::base::MatLayerCylSet>(cGroup.lutPath.value, currentRunNumber));
111-
} else {
112-
LOG(info) << "Material look-up table already in place. Not reloading.";
113-
}
108+
LOG(info) << "Loading material look-up table for timestamp: " << currentRunNumber;
109+
lut = o2::base::MatLayerCylSet::rectifyPtrFromFile(ccdb->template getForRun<o2::base::MatLayerCylSet>(cGroup.lutPath.value, currentRunNumber));
114110
LOG(info) << "Setting global propagator material propagation LUT";
115111
o2::base::Propagator::Instance()->setMatLUT(lut);
116112

0 commit comments

Comments
 (0)