| Transition | Actions | |||
| Initial | $$ | Loaded | Read database: | |
| - expected configuration of modules | ||||
| - default FPGA versions | ||||
| - dead/hot/disabled channel masks | ||||
| - energy calibrations | ||||
| - coarse and fine timing calibrations | ||||
| - BCID pulse shape calibrations | ||||
| - BCID/FIR/saturation settings | ||||
| - readout settings | ||||
| - default rate histogram settings | ||||
| - PPROD settings | ||||
| Lock crate/modules via Resource Mgr? | ||||
| Loaded | $$ | Config | Check expected modules are present | |
| Check FPGA versions: reload and reset if required | ||||
| Load TTCrx settings? | ||||
| Assert BUSY on all PPRODs | ||||
| Update module status in L1Calo IS server? | ||||
| Start rate monitoring program/thread | ||||
| Config | $$ | Running | Load all calibrations and settings into PPMs | |
| Load settings (if any) into the TCM | ||||
| Load readout settings and default monitoring selections into PPRODs | ||||
| Zero rates and/or other statistics for this run | ||||
| Remove BUSY from all PPRODs | ||||
| Running | $$ | Paused | Assert BUSY on all PPRODs? | |
| Paused | $$ | Running | Remove BUSY from all PPRODs? | |
| Running | $$ | Config | Assert BUSY on all PPRODs | |
| Log rates summary and other statistics for this run to database? | ||||
| Config | $$ | Loaded | Stop rate monitoring program/thread | |
| Loaded | $$ | Initial | Unlock crate/modules via Resource Mgr | |