The Beam Pulse Accounting system uses EPICS calc. PVs to control tracking for accounting of beam destination and stopper in/out times.
At the end of each eigh hour shift the integrated time for "This Shift" is saved to "Last Day/Swing/Owl" accordingly.
Configuration times are also implemented. Operations should be able to keep track of how long configuration changes take per shift.
Beam Destinations Timers
A BPM TMIT is used to keep track of electron beam to the following locations:
- BPM 2 (BPMS:IN20:221:TMIT1H)
- TD11 (BPMS:LI21:301:TMIT1H)
- D2 (BPMS:BSY0:88:TMIT1H)
- BYKICK (BPMS:LTU1:350:TMIT1H) *Beware of burst mode!
- TDUND (BPMS:LTU1:960:TMIT1H)
- e- Dump (BPMS:DMP1:693:TMIT1H)
Stopper in/out Timers
A Stopper In/Out PV is used for the following stoppers:
- AMO (PPS:NEH1:1:S1STPRSUM)
- SXR (PPS:NEH1:2:S2STPRSUM)
- HXRAY (PPS:NEH1:3:SH1STPRSUM)
Beam Rate Counter
Is the beam rate > 10 Hz? (EVNT:SYS0:1:LCLSBEAMRATE)
Configuration Change Timers
Configuration change GUIs and/or users can stop and start this timers.
- Energy Change Start - caput SIOC:SYS0:ML00:CALC124 0
- Energy Change Stop - caput SIOC:SYS0:ML00:CALC126 1
- Charge Change Start - caput SIOC:SYS0:ML00:AO988 1
- Charge Change Stop - caput SIOC:SYS0:ML00:AO988 0
The energy change logic also stars the energy chage timer when a change on BEND:LTU0:125:BDES is detected.