Alfredo has written a program to check the synchronisation of the FEES, which need to be checked regularly
To do this:
change to directory: npg/AIDAanalysis/AIDAmonitor
Command: nice ./AIDA-sort.exe -F filename e.g. nice ./AIDA-sort.exe -F AIDA37_10
Be patient, it takes a while to sort the file. It is possible to monitor the output in the directory npg/AIDAanalysis/ORDERsort/aev by the command ls -trlh /data10/NP1512.rootfiles
However, there is no need to wait for the raw date in the full 2GB to be converted to .root. It is possible to pause it by pressing the space bar, then choosing the options (0 to stop)
Once stopped, command: nice root -l /data10/NP1512.rootfiles/aida_sort_AIDAfilename.root e.g. nice root -l /data10/NP1512.rootfiles/aida_sort_AIDA37_10.root
Root will then open.
Command: .x checkSYNC.c
--------------------------------
Four canvases will open: (1) cxy for each DSSD, (2) cExy for each DSSD, (c) cpulser: timestamp vs NNAIDA module and (d) CADC Energy: ADC energy vs NNAIDA module
* Check in cxy that all 4 quadrants have data (excluding those corresponding to nnaida19, which is currently inactive). If there is asymmetry (eg missing quadrants) there is probably a synchronisation problem!!
*Check in cEXY that there is a y=x correlation. If it isn't, there is probably a synchronisation problem!!
If there is a synchronisation problem, it may be necessary to power cycle. Switch all off, then sequence all on, follow AIDA elog entry 242 https://elog.ph.ed.ac.uk/AIDA/242
|