Changeset 11425
- Timestamp:
- 07/15/11 15:44:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/FADctrl/FADBoard.cc
r11414 r11425 537 537 538 538 // Check if trigger cells resonable (to trace FAD 'double signal' bug) 539 if (abs((min_element(Status.TriggerCell,Status.TriggerCell+4) - max_element(Status.TriggerCell,Status.TriggerCell+4) + 1024)%1024) > 20) { 539 int Diff = abs((max_element(Status.TriggerCell,Status.TriggerCell+4) - min_element(Status.TriggerCell,Status.TriggerCell+4))); 540 if (Diff > 20 && Diff < 1000) { 540 541 SetStatus("Warning: Trigger cell mismatch board %s, cells are %d %d %d %d", Name, Status.TriggerCell[0], Status.TriggerCell[1], Status.TriggerCell[2], Status.TriggerCell[3]); 541 542 m->Message(m->WARN, "Trigger cell mismatch board %s, cells are %d %d %d %d", Name, Status.TriggerCell[0], Status.TriggerCell[1], Status.TriggerCell[2], Status.TriggerCell[3]);
Note:
See TracChangeset
for help on using the changeset viewer.