We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9378da3 commit b6b9f00Copy full SHA for b6b9f00
1 file changed
lib/database/adapters/RunAdapter.js
@@ -277,12 +277,14 @@ class RunAdapter {
277
entityObject.muInelasticInteractionRate = collidingBunchesCount
278
? inelasticInteractionRateAvg / (collidingBunchesCount * PhysicalConstant.LHC_REVOLUTION_FREQUENCY_HZ)
279
: null;
280
- entityObject.collidingBunchesCount = collidingBunchesCount;
281
} else {
282
entityObject.muInelasticInteractionRate = null;
283
- entityObject.collidingBunchesCount = null;
284
}
285
+ entityObject.collidingBunchesCount = lhcFill
+ ? lhcFill.collidingBunchesCount ?? extractNumberOfCollidingLhcBunchCrossings(lhcFill.fillingSchemeName)
286
+ : null;
287
+
288
return entityObject;
289
290
0 commit comments