diff --git a/README.md b/README.md index 215a932bd8bd42190eb87b23e813902e9578a1d8..f837214d3b9fc5ebcc4d3cb7a67d8559189c190a 100644 --- a/README.md +++ b/README.md @@ -1,47 +1,49 @@ -# scouting-es -Simple set of classes and scripts to collect data from scouting prototype and save to files. +# SCDAQ +Rudimentary data taking application for the CMS L1 scouting demonstrator -## Build +An RPM is built automatically by the CI pipeline and is stored as artifact of the build stage. **Important:** Once installed, the SCDAQ config file needs to be modified as described in the section below. -~~**Compile with**~~ +The RPM installs a systemd service that can be started with -~~g++ -std=c++0x -g -ltbb -lboost_thread -lcurl \*.cc~~ +```bash +$ sudo systemctl start runSCdaq +``` -**Use supplied Makefile:** +if SCDAQ should be automatically started at boot it can be enabled with + +```bash +$ sudo systemctl enable runSCdaq +``` + +## Manual operation + +### Build manually + +**Use supplied Makefile to build:** ``` $ cd src $ make ``` -## Run - -1. Start the Vivado reset server on `scoutsrv`: - ``` - $ cd scripts/vivado - $ ./reset_server.sh - ``` +### Run manually -2. Start the file mover on `bu`: - ``` - $ cd scripts - $ ./fileMover.py - ``` - -3. Start the run control on `scoutdaq`: +1. Start the run control on `scoutdaq`: ``` $ cd scripts $ ./runControl.py ``` -4. Start the data taking application on `scoutdaq`: +1. Start the data taking application on `scoutdaq`: ``` $ cd scripts - $ ./run.sh + $ ./runSCdaq.sh ``` ## Configuration +By default the configuration file in `/etc/scdaq/scdaq.conf` is used. Examples of configuration files for various systems can be found in `/opt/scdaq/test/config/`. + #### example conf in scdaq.conf: ```