Skip to content

Commit 37d2e83

Browse files
committed
Add logging for new
1 parent adb8739 commit 37d2e83

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

TselectLHC.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
#Data Provides we need
1+
#Data Provides we need - https://confluence.cern.ch/display/expcomm/DIP+LHC
22
dip/acc/LHC/RunControl/RunConfiguration
33
dip/acc/LHC/RunControl/BeamMode
44
dip/acc/LHC/Beam/BetaStar/Bstar2
55
dip/acc/LHC/Beam/Energy
6+
dip/acc/LHC/RunControl/SafeBeam
7+
8+
# LHC_IF data added specifically for Bookkeeping
9+
dip/ALICE/LHC/Bookkeeping/Source
10+
dip/ALICE/LHC/Bookkeeping/CTPClock
11+
612
dip/ALICE/MCS/Dipole/Current
713
dip/ALICE/MCS/Solenoid/Current
814
dip/ALICE/MCS/Dipole/Polarity
915
dip/ALICE/MCS/Solenoid/Polarity
10-
dip/acc/LHC/RunControl/SafeBeam
16+
1117
#
1218
#dip/ALICE/LHClogbook/RunControl/CirculatingBunchConfig/Beam2
1319
#dip/acc/LHC/Beam/Intensity/Beam2

src/alice/dip/DipMessagesProcessor.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,12 @@ private void handleBookkeepingSourceMessage(DipData dipData) throws BadParameter
787787
var acceptance = dipData.extractFloat("Acceptance");
788788
var crossSection = dipData.extractFloat("CrossSection");
789789
var efficiency = dipData.extractFloat("Efficiency");
790-
790+
AliDip2BK.log(
791+
2,
792+
"ProcData.dispach",
793+
" Bookkeeping Source: Acceptance=" + acceptance + " CrossSection=" + crossSection
794+
+ " Efficiency=" + efficiency
795+
);
791796
luminosityManager.setTriggerEfficiency(efficiency);
792797
luminosityManager.setTriggerAcceptance(acceptance);
793798
luminosityManager.setCrossSection(crossSection);
@@ -797,6 +802,11 @@ private void handleBookkeepingCtpClockMessage(DipData dipData) throws BadParamet
797802
var phaseShiftBeam1 = dipData.extractFloat("PhaseShift_Beam1");
798803
var phaseShiftBeam2 = dipData.extractFloat("PhaseShift_Beam2");
799804

805+
AliDip2BK.log(
806+
2,
807+
"ProcData.dispach",
808+
" Bookkeeping CTP Clock: PhaseShift_Beam1=" + phaseShiftBeam1 + " PhaseShift_Beam2=" + phaseShiftBeam2
809+
);
800810
luminosityManager.setPhaseShift(new PhaseShift(phaseShiftBeam1, phaseShiftBeam2));
801811
}
802812
}

0 commit comments

Comments
 (0)