File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -273,9 +273,9 @@ class RunAdapter {
273273 entityObject . inelasticInteractionRateAtMid = inelasticInteractionRateAtMid ;
274274 entityObject . inelasticInteractionRateAtEnd = inelasticInteractionRateAtEnd ;
275275 if ( lhcFill && inelasticInteractionRateAvg !== null ) {
276- const numberOfCollidingLhcBunchCrossings = extractNumberOfCollidingLhcBunchCrossings ( lhcFill . fillingSchemeName ) ;
277- entityObject . muInelasticInteractionRate = numberOfCollidingLhcBunchCrossings
278- ? inelasticInteractionRateAvg / ( numberOfCollidingLhcBunchCrossings * PhysicalConstant . LHC_REVOLUTION_FREQUENCY_HZ )
276+ const collidingBunchesCount = lhcFill . collidingBunchesCount ?? extractNumberOfCollidingLhcBunchCrossings ( lhcFill . fillingSchemeName ) ;
277+ entityObject . muInelasticInteractionRate = collidingBunchesCount
278+ ? inelasticInteractionRateAvg / ( collidingBunchesCount * PhysicalConstant . LHC_REVOLUTION_FREQUENCY_HZ )
279279 : null ;
280280 } else {
281281 entityObject . muInelasticInteractionRate = null ;
You can’t perform that action at this time.
0 commit comments