File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,13 @@ int32_t GPUChainTracking::RunTPCDecompression()
254254 CompressedClusters& inputGPU = Decompressor.mInputGPU ;
255255 CompressedClusters& inputGPUShadow = DecompressorShadow.mInputGPU ;
256256
257+ if (cmprClsHost.nTracks && cmprClsHost.solenoidBz != -1e6f && cmprClsHost.solenoidBz != param ().bzkG ) {
258+ throw std::runtime_error (" Configured solenoid Bz does not match value used for track model encoding" );
259+ }
260+ if (cmprClsHost.nTracks && cmprClsHost.maxTimeBin != -1e6 && cmprClsHost.maxTimeBin != param ().continuousMaxTimeBin ) {
261+ throw std::runtime_error (" Configured max time bin does not match value used for track model encoding" );
262+ }
263+
257264 int32_t inputStream = 0 ;
258265 int32_t unattachedStream = mRec ->NStreams () - 1;
259266 inputGPU = cmprClsHost;
You can’t perform that action at this time.
0 commit comments