From 0b7d18f7abdb8b4d138fbce695d6022afa32333d Mon Sep 17 00:00:00 2001 From: Alexander Soederqvist Date: Mon, 21 Sep 2026 15:56:25 +0200 Subject: [PATCH] Clarify Readme in regards to scaler channels and default frontend --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3154066..4c58a6e 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,18 @@ cmake --build --clean-first -- -j8 ``` -## Specifying number of TDC channels -The number of scaler the frontend should be built with, can be specified with a CMake configuration flag, before adding the module as a subdirectory. -Currently valid options are 1 or 2 sis3820 cards. I.e. the only valid values are 32 and 64: +## Including default frontend, scaler channels +The CMakeLists.txt creates a functions that instantiates the default frontend with a few parameters: + +E.g. the number of scaler channels the frontend should be built with. +Currently 1 or 2 sis3820 cards are possible. I.e. the only valid values are 32 and 64 channels. ```CMake -set(Scaler_channels "32" CACHE STRING "Number of Scaler channels" FORCE) -add_subdirectory(struck_sis3820) +# The first argument is name of executable +# The second arguments is frontend/equipment name +# The third argument the midas event id, 2 in case from GPS +# The fourth argument, example from GPS, it has 64 scaler channels. +default_scaler_frontend(scaler_sis3820_fcfe "Scaler" 2 64) ``` ## Including in Custom Frontend -- 2.54.0