Skip to content

Commit bc73e7f

Browse files
authored
[O2B-1293] Allow to export colliding bunches count (#1950)
* allow to export colliding bunche count * fix
1 parent 38eae5f commit bc73e7f

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

lib/database/adapters/RunAdapter.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ class RunAdapter {
281281
entityObject.muInelasticInteractionRate = null;
282282
}
283283

284+
entityObject.collidingBunchesCount = lhcFill
285+
? lhcFill.collidingBunchesCount ?? extractNumberOfCollidingLhcBunchCrossings(lhcFill.fillingSchemeName)
286+
: null;
287+
284288
return entityObject;
285289
}
286290

lib/public/views/Runs/ActiveColumns/runsActiveColumns.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,4 +667,9 @@ export const runsActiveColumns = {
667667
),
668668
profiles: ['runsPerLhcPeriod', 'runsPerDataPass', 'runsPerSimulationPass', profiles.none],
669669
},
670+
671+
collidingBunchesCount: {
672+
name: 'Colliding bunches count',
673+
visible: false,
674+
},
670675
};

0 commit comments

Comments
 (0)