Skip to content
Snippets Groups Projects
Select Git revision
  • devel
  • master default protected
  • dropDone
  • devel-localdb-rd53b
  • datarouting_restructure
  • devel_rogue_fastMultichip_master_v1p2p2
  • devel_rogue_master_v1p2p2
  • devel_rd53a_felixNetio_multichip_rebase
  • master-StarDocumentation
  • devel_cleanup_scanConsole2
  • devel_rd53a_felixNetio_multichip_rebase_master
  • epianori_crosstalk_itkpixv1
  • Star_StrobeDelay
  • FeedingInInputHistsFromDisk
  • devel_tidy_tests
  • FixHistoIdentOffsetScurveDevel
  • addStarScurveFitterAndNPointsGainAnalyses
  • devel_felix_client
  • AddsDumpDebugScurvePlotsFlag
  • ExtendStdAnalysesWithCallbackFuncs
  • v1.3.1
  • v1.3
  • v1.2.2
  • v1.2.1
  • v1.2
  • v1.1.1
  • v1.1.0
  • v1.0.3
  • v1.0.2
  • v1.0.1
  • v1.0.0
  • v0.9.2
  • v0.9.0
33 results

YARR

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • Forked from YARR / YARR
    539 commits behind, 1 commit ahead of the upstream repository.

    logo

    YARR: Yet Another Rapid Readout

    Documentation

    For details please refer to the documentation covering installation and usage, which can be found here http://cern.ch/yarr

    This README only includes quick install guide.

    (If you are working with the devel branch refer to http://cern.ch/yarr/devel/ and see the current coverage report at https://yarr.web.cern.ch/yarr/devel/coverage/)

    Mailing list

    Users should subscribe to the CERN mailing list to receive announcements for important updates: yarr-user

    Developers and potential developers please refer to Contribution guide.

    Requirements

    Software:

    • CentOS 7/8, Alma 9
    • cmake 3.14 or higher
    • GCC version 9
      • for example from devtoolset-9
    • Some misc packages (can be installed via yum):
      • gnuplot
      • texlive-epstopdf
      • zeromq, zeromq-devel (for netio controller)
      • boost-devel for BDAQ
      • ROOT for plotting tools

    Quick minimal Install Guide:

    • Builds spec and emu controller for mininmal dependencies on Centos 7
    • Build recipes for other OS can be found in docker//Dockerfile
    • Clone from git
      • $ git clone https://gitlab.cern.ch/YARR/YARR.git Yarr
    • Compilation:
      • $ source scl_source enable devtoolset-9
      • cd Yarr
      • $ cmake3 -S ./ -B build or $ cmake3 -S ./ -B build -DYARR_CONTROLLERS_TO_BUILD=all
      • $ cmake3 --build build -j4
      • $ cmake3 --install build -j4
    • Running
      • execute programs from the repository top folder

    Building additional controllers

    • In order to build with more controllers execute cmake with extra options
      • For all controllers:
        • -DYARR_CONTROLLERS_TO_BUILD=all
      • For NetIO:
        • -DYARR_CONTROLLERS_TO_BUILD="Spec;Emu;NetioHW"

    While developing, it might be useful to run some unit tests. These are run by default in the CI on gitlab, but can also be run locally:

    • cd build
    • make test

    This runs the test_main binary, which gathers the tests found in src/tests.