Skip to content

Commit f0136fc

Browse files
committed
Add lumi information (cherry pick from future PR)
1 parent 1c8dea8 commit f0136fc

File tree

6 files changed

+887
-724
lines changed

6 files changed

+887
-724
lines changed

src/alice/dip/BookkeepingClient.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,26 @@ public void updateRun(RunInfoObj runObj) {
272272
hasModifications = true;
273273
}
274274

275+
if (runObj.getTriggerEfficiency().isPresent()) {
276+
requestBody += "\n\"triggerEfficiency\":" + runObj.getTriggerEfficiency().get() + ",";
277+
}
278+
279+
if (runObj.getTriggerAcceptance().isPresent()) {
280+
requestBody += "\n\"triggerAcceptance\":" + runObj.getTriggerAcceptance().get() + ",";
281+
}
282+
283+
if (runObj.getCrossSection().isPresent()) {
284+
requestBody += "\n\"crossSection\":" + runObj.getCrossSection().get() + ",";
285+
}
286+
287+
if (runObj.getPhaseShiftAtStart().isPresent()) {
288+
requestBody += "\n\"phaseShiftAtStart\":" + runObj.getPhaseShiftAtStart().get() + ",";
289+
}
290+
291+
if (runObj.getPhaseShiftAtStop().isPresent()) {
292+
requestBody += "\n\"phaseShiftAtEnd\":" + runObj.getPhaseShiftAtStop().get() + ",";
293+
}
294+
275295
if (!hasModifications) { // no updates to be done !
276296
AliDip2BK.log(3, "BKwriter.UpdateRun", "No data to update for Run=" + runObj.RunNo);
277297
return;

0 commit comments

Comments
 (0)