main
Cobra and Comet Magnet Status
This repository contains the driver code and Midas frontend for the Cobra and Comet Magnet Status.
Requirements
Requires a Midas installation with the environment variable MIDASSYS pointing
to the built Midas artifacts and headers.
Build
Clone this repository, enter the cloned directory, and then build via CMake.
cmake -S "$(pwd)" -B <directory-to-build-in> -DBUILD_FRONTEND=ON
cmake --build <directory-to-build-in> --clean-first -- -j8
Run
<directory-to-build-in>/strayfield_fe -e flame
Including in Custom Frontend
To include this driver in a custom frontend, you should ensure the environment
variable MIDASSYS points to your system install and include a snippet in your
CMakeLists.txt similar to the following:
# If the path to the strayfield repository is outside of the frontend
# repository, you also need to provide a location for the strayfield
# artifacts as a second argument to `add_subdirectory`
# e.g. `./device/strayfield`
add_subdirectory(
<path-to-strayfield-repository>
)
# Target Name Frontend Name Event Id Num Channels
default_strayfield_frontend(Ext_stray_field_status_scfe Ext_stray_field_status 94 4)
Description
Midas driver and frontend for the Cobra and Comet Magnet Status.
141 KiB
0 Stars
0 Watchers
0 Forks
Languages
C++
93.4%
CMake
5.4%
C
1.2%