MAMMA TB data streams resync Marco Villa CERN
MAMMA TB data streams resync Marco Villa – CERN Tue, 24 th August 2010
2 Unforseen accident… Event # N 2 2 1137 5. 58603 e+08 1138 5. 60243 e+08 1139 5. 60766 e+08 1140 5. 61056 e+08 1141 5. 61121 e+08 1142 5. 75068 e+08 1143 1. 14775 e+10 1144 1. 14762 e+10 1145 1. 14755 e+10 1146 1. 1473 e+10 1147 1. 14719 e+10 1148 1. 14719 e+10
3 …and solution • take the average over the first N events; • cut events which are more than ~ 1 mm far from the average; • pass remaining events to the algorithm; • a far outlier could move the arithmetical average, so biasing the cut we need a more robust mean value estimator use the most probable value
4 Residuals distributions Run 4962 Run 4417
5 Desync finding in Run_4962 *** Config file successfully opened *** Config file read and closed *** Found desynchronization in BAT 6 between event 1432 and event 1594. Now resynchronizing. . . *** Plot file successfully opened *** Plot file written and closed *** Now exiting. . . bye! ***
6 Desync finding in Run_4417 *** Config file successfully opened *** Config file read and closed *** Found desynchronization in BAT 6 between event 4541 and event 5501. Now resynchronizing. . . *** Plot file successfully opened *** Plot file written and closed *** Now exiting. . . bye! ***
7 Conclusions & outlooks • the code is at present capable of identifying the desync point and the station which runs out of sync; • now implementing the code to find the desync shift; • the data streams can then be resync
- Slides: 7