TrigCost: Extend ROS Monitoring
Add new histograms requested in ATR-26131 (examples are available there):
- Monitor ROS
- How many times ROB was requested for the ROS request
- Monitor Chain
- How many ROBs were requested for ROS request
- How many times data was requested for ROS per event
- How many ROBs were requested for ROS per event
To simplify sharing the data related to ROS requests (for example ROS-ROB mapping, ROS to bin mapping) a class was added, mimicking CostData
. It is created once, in the initialization of the TrigCostAnalysis
algorithm, and then, via CostData
passed to monitors - this way the mappings won't be recalculated many times per event.
Some of the histograms are actually TProfile
type - handling it was also added to the classes of the Cost Analysis.
Tagging @tamartin