diff --git a/GPU/GPUTracking/DataTypes/GPUNewCalibValues.cxx b/GPU/GPUTracking/DataTypes/GPUNewCalibValues.cxx index e86955d6da500..f4061fa12873c 100644 --- a/GPU/GPUTracking/DataTypes/GPUNewCalibValues.cxx +++ b/GPU/GPUTracking/DataTypes/GPUNewCalibValues.cxx @@ -19,12 +19,15 @@ using namespace GPUCA_NAMESPACE::gpu; void GPUNewCalibValues::updateFrom(const GPUNewCalibValues* from) { if (from->newSolenoidField) { - solenoidField = from->newSolenoidField; + newSolenoidField = true; + solenoidField = from->solenoidField; } if (from->newContinuousMaxTimeBin) { + newContinuousMaxTimeBin = true; continuousMaxTimeBin = from->continuousMaxTimeBin; } if (from->newTPCTimeBinCut) { + newTPCTimeBinCut = true; tpcTimeBinCut = from->tpcTimeBinCut; } } diff --git a/GPU/GPUTracking/Global/GPUChainTracking.cxx b/GPU/GPUTracking/Global/GPUChainTracking.cxx index 7b8e590242fae..ff476716febe8 100644 --- a/GPU/GPUTracking/Global/GPUChainTracking.cxx +++ b/GPU/GPUTracking/Global/GPUChainTracking.cxx @@ -633,7 +633,7 @@ int32_t GPUChainTracking::DoQueuedUpdates(int32_t stream, bool updateSlave) const GPUSettingsProcessing* p = nullptr; std::lock_guard lk(mMutexUpdateCalib); if (mUpdateNewCalibObjects) { - if (mNewCalibValues->newSolenoidField || mNewCalibValues->newContinuousMaxTimeBin) { + if (mNewCalibValues->newSolenoidField || mNewCalibValues->newContinuousMaxTimeBin || mNewCalibValues->newTPCTimeBinCut) { grp = std::make_unique(mRec->GetGRPSettings()); if (mNewCalibValues->newSolenoidField) { grp->solenoidBzNominalGPU = mNewCalibValues->solenoidField;