Restart Reco online, RecoMonitor and trends - PADME-Experiment/padme-fw GitHub Wiki

For the PADME monitoring system to be constantly updated, three server scripts must be executed on node l0padme3.

On-line event reconstruction

This script automatically detects the files written by the on-going run and launches PadmeReco with the appropriate path for the input and output files.

  • login as daq@l0padme3
  • check if the event reconstruction script RecoMonitor.sh is running
[daq@l0padme3 ~]$ ps -fu daq | grep RecoMonitor | grep -v grep
daq      131317 172842  0 14:19 pts/3    00:00:00 /bin/bash ./RecoMonitor.sh
  • if it is not running, restart it:
cd RecoMonitor
nohup ./RecoMonitor.sh >> RecoMonitor.log 2>&1 </dev/zero &

Monitor plot updater

This script converts the output from the previous script into text files used by the PadmeMonitor system.

  • login as monitor@l0padme3
  • check if the monitor plot updater script RunRecoMonitor_2021.sh is running
[monitor@l0padme3 ~]$ ps -fu monitor | grep RunRecoMonitor.sh | grep -v grep
monitor   41311 150118  0 Jul07 pts/7    00:01:01 /bin/bash ./RunRecoMonitor.sh
  • if it is not running, restart it:
cd monitor/RecoMonitor
nohup ./RunRecoMonitor.sh >> RunRecoMonitor.log 2>&1 </dev/zero &

Control that PadmeReco and RecoMonitor are taking the last run data file from the windows. Make sure that the monitoring windows refresh the plots regularly and that they are consistent.

Trend plot updater

This script updates the time-based trend plots shown by the PadmeMonitor system

  • login as monitor@l0padme3
  • check if the trend plot updater script run_t_2022.sh is running
[monitor@l0padme3 ~]$ ps -fu monitor | grep run_t_2022 | grep -v grep
monitor  190547  99003  0 14:38 pts/1    00:00:00 /bin/bash ./run_t_2022.sh
  • if it is not running, restart it:
cd DigiDaq/Trends
nohup ./run_t_2022.sh >> run_t_2022.log 2>&1 </dev/zero &

N.B. The three scripts should run in three different windows so that the shifter can verify which files are being processed: the file names should correspond to the name of the on-going run.