WIP: Add "Trigger Throttling" to vary triggers per burst
Depends on MR !362 (merged) as hit counters are the primary use case. Partially addresses #27, but may need to be tweaked to meet the requirements there.
Two major additions:
- ThrottleAnalysis in StdAnalysis is a GlobalFeedbackSender which monitors the occupancy per bunch and chooses an appropriate number of triggers.
- StarThrottleLoop is a dummy loop around the trigger loop which receives feedback on when to stop running the trigger loop.
TODO:
- How to get OccupancyAnalysis, ScurveFitter, to sum over iterations of StarThrottleLoop, especially given that the number of iterations is not known from the start.
- Currently fixing the number of triggers sent for each threshold, but per #27 we may want to instead fix the number of hits per channel.
Edited by Ryan Roberts