Online monitoring macros
Macros and scripts to run the Online Histogramming System (monitor) during the BM@N runs. The *Runner.sh scripts restart the corresponding macro in an endless loop.
Decoding
| File | Description |
| monStreamDecoder.C, MonStreamDeco.sh | Decodes the raw data stream of the DAQ received over ZeroMQ and sends the decoded events to the monitor |
| monStreamDecoderStat.C, MonStreamDecoStat.sh | The same with the collection of the run statistics |
| monDecoder.C, MonDecoRunner.sh | Decodes the raw files of the current run in a directory (/bmn/run/current/) |
| BatchDirectory.C, BatchDirRunner.sh | Decodes all raw files of a directory |
| BatchDirectoryToSocket.C | Decodes the raw files of a directory and sends the events to a socket |
Monitoring
| File | Description |
| monitor.C, MonRunner.sh | Receives the decoded events, fills the detector histograms and serves them on the web (with reference runs) |
| monitor_msc.C, MonMscRunner.sh | Monitoring of the scaler (MSC) counters |
| run_reco_bmn.C, RecoRunner.sh | Online reconstruction of the decoded events received over ZeroMQ |
| run_mon_reco.C, RecoMonRunner.sh | Monitoring of the reconstructed data |
| run_mon_custom.C | Custom QA histograms of a DST file defined by a pad configuration (BmnCustomQa) |
| run_prof_deco.C, ProfDecoRunner.sh, ProfMonRunner.sh, ProfRunner1.sh, ProfRunner2.sh | Decoding and monitoring of the beam profilometer boards |
| HistGenTest.C | Test of the histogram generation from a pad configuration |
Configuration
| File / directory | Description |
| pad.json, pad-sample.json, config/pad-sample*.json | Pad configurations of the custom histograms |
| setup/lighttpd.conf, setup/nginx.conf | Web server configurations of the monitoring pages |
| public_html | Web pages of the monitoring |