Project

General

Profile

Running driver

Environment set-up

cd my/mrb/working/directory  # change to the path to your specific mrb project dir
. /mu2e/ups/setup
Base=$PWD
setup mrb                                    # $MRB_DIR used in next setup script
. $Base/local*/setup                         # "base" variable used by this script and is unset; MRB_BUILDDIR, etc set.
mrbsetenv                                    # add (most) BUILDDIR dirs to PATHs

If you're going to be using the DTC hardware

source Setup_DTC.sh

To run in "sim mode" (not touching the hardware):

Note: driverMu2e.fcl is in $MU2E_ARTDAQ_DIR/tools/fcl if you get a "not found" error using just the name. driver searches the $FHICL_FILE_PATH environment variable for configuration files.

DTCLIB_SIM_ENABLE=1 driver -c driverMu2e.fcl

To run using the DTC card: (The DTCLIB_SIM_ENABLE=N informs the DTC that no CFO is present)

DTCLIB_SIM_ENABLE=N driver -c driverMu2e.fcl

Mu2e_artdaq_driver_output