Scripts source etc¶
COMMANDS CALLED BY USERS:
start2x2x2System.sh: sources setupDemoEnvironment.sh for needed environmental variables (see below); stores the host and port numbers for the EventBuilderMain and BoardReaderMain applications in /tmp/pmtConfig.<random number>; calls artdaq's process management tool script, pmt.rb, with this pmtConfig file.
manage2x2x2System.sh: sources setupDemoEnvironment.sh for needed environmental variables; serves as a wrapper around the DemoControl.rb script.
SCRIPTS CALLED BY OTHER SCRIPTS:
DemoControl.rb: Used to translate high level state transition commands (e.g., start, stop) into FHiCL code set to configure the applications (BoardReaderMain and EventBuilderMain) as well as the ART modules used within EventBuilderMain.
setupDemoEnvironment.sh: for the board reader and event builder applications, stores the hostnames and port numbers in environmental variables (ARTDAQDEMO_BR_HOST[N], ARTDAQDEMO_EB_HOST[N], ARTDAQDEMO_BR_PORT[N], ARTDAQDEMO_EB_PORT[N]; also stores the location for output data (ARTDAQDEMO_DATA_DIR)