Project

General

Profile

Configuration Run Modes and fHiCL Documents » History » Version 20

« Previous - Version 20/22 (diff) - Next » - Current version
Jonathan Insler, 12/12/2015 04:02 PM


Configuration Run Modes and fHiCL Documents

Configuration documents written in fHiCL (i.e. fcl files) are located on the gateway machine in subdirectories of /data/lbnedaq/config named for each DAQ run mode:

rces_and_ssps

This option runs up to 8 SSPs and 4 RCEs with ganglia, online monitoring, and root file output enabled.
fHiCL configuration documents:

rces_and_ssps_nodiskwrite

This option runs up to 8 SSPs and 4 RCEs with ganglia and online monitoring and root file output not enabled.
fHiCL configuration documents:

rces_and_ssps_nomonitoring

This option runs up to 8 SSPs and 4 RCEs with ganglia and root file output enabled but no online monitoring.
fHiCL configuration documents:

rces_and_ssps_test_aih

This option runs up to 8 SSPs and 4 RCEs with ganglia and root file output enabled but no online monitoring; it is a test config mode in which parameters such as leading edge threshold trigger of the SSPs can be changed while testing the hardware.
fHiCL configuration documents:

rces_and_ssps_maketree

This option runs up to 8 SSPs and 4 RCEs with ganglia and online monitoring and root file output not enabled, but with the MakeTree parameter in Aggregator2.fcl turned on which saves a ROOTTree of ADC values for the run.
fHiCL configuration documents:

rces_pedestalrun

This option is for pedestal/noise runs only; it runs up to 4 RCEs, with ganglia, online monitoring, and root file output enabled.
fHiCL configuration documents:

demo

This is a demo option that does not run the RCEs or SSPs; it tests simulated components with toy Monte Carlo.
fHiCL configuration documents:

demo_rc_reporter

This is a version of the demo option that reports metrics to RunControl in Aggregator1.fcl.
fHiCL configuration documents:

Shifters should not have to adjust any aggregation, event building, or RCE parameters. The following SSP parameters may be of interest to shifters:

Verbosity
Trigger/channel enable — switch between commented lines
Readout window/pretrigger
Bias config

These can be adjusted individually in each SSP fHiCL document or set uniformly in ssp_expert_run_options.fcl and user_run_options.fcl.

The Python script /data/lbnedaq/bin/config_compare.py can check all parameters of one run mode against another one and output all differing values. It can be run by:

python /data/lbnedaq/bin/config_compare.py runmode1 runmode2

where runmode1 and runmode2 are the names of the DAQ run modes to be compared.

Editing configuration fHiCL documents

Any edit to a configuration fHiCL document must be pushed to repository. Attempting to run the DAQ in a configuration mode with an edit not pushed to the repository will throw an exception. After finishing an edit, you should stage, commit, and push your changes in the appropriate config directory with:

git stage .
git commit -m'Comment to describe change'
git push