Ppr/PPM/CPMMonitoring: Fix wrong variable type for event numbers and bug related to mismatch-event-counter
- Sep 13, 2023
-
-
Sebastian Mario Weber authored
The number of events with simulation mismatches which are dumped in the monitoring is limited to 10 events per lb. Due to a bug in the code the counter that tracks this was incremented for each event, not only for each event with an actual mismatch. This fix moves the counter incrementation to the correct scope.
-
Sebastian Mario Weber authored
The event number variable used in the Ppr-,PPM, and CPM-Monitoring was inialized as integer, whereas it should be long long. This lead to negative event numbers (2-complement) or none at all. The bug was fixed by changing the type.
-