Project

General

Profile

Creating an artdaq demo package

What are the major initial areas for artdaq demo package?
  1. the repositories and demonstration system
  2. documenting the steps to install, build, and run the demo system [added]
  3. documenting of artdaq APIs, configuration, and tools
What should be done first?
  1. write down the function and purpose of the demo package.
    • The purposes of the package are to demonstrate
      • the components of the system that are currently available. These include the art framework, the data transfer and event building function, the control message infrastructure, the state behavior of the full system and individual processes, and the tools for managing the MPI program.
      • the ease with which experiment-provided analysis modules and hardware interfaces can be added to the system
      • several sample art modules
      • the tools that are available to help with simulation data and data analysis
      • [please see the list of sample demo steps below]
  2. make a list of the components (including code) that will need to be in place for it to work.
    • what qualifier(s)
    • presumably there are UPS product bundles that will handle most of this
  1. identify the structure of the repository and the name of it and its parts.
  2. make notes on how to move existing pieces into place (from existing repos) within the new repo and the changes that will be needed.
What should be done second?
  1. identify the documentation that already exists that can be referred to or copied to reflect the new demo
  2. identify the things in artdaq and in the new package that need new or expanded documentation
  3. identify a place and a structure for the documentation
  4. move existing things into place and modify as needed
Questions:
  1. ETH rather than MPI? (I presume yes)
  2. what qualifiers for UPS products
  3. how to bundle all of the UPS products that are needed (probably a solved problem)
Sample demo steps:
  1. install all necessary UPS packages
  2. set up an environment for development and building the demo package (directories and env vars)
  3. checkout the demo package
  4. build the demo package
  5. start the basic demo system, and use the existing scripts (and ds50MasterControl.sh) to send it "init", "start", "stop", and "shutdown" commands
    • what should be included in the basic demo system?
      • 2 fragment receivers, each configured to use a simulated V1720 generator
      • 2 event builders
        • compression turned on?
        • sample analysis modules
        • ROOT output to disk
      • no aggregator, in this initial version?
  6. use art to display the characteristics of the events in the file
Variations:
  1. add another fragment receiver
  2. switch one of the fragment generators from V172xSimulator to something else
  3. select different art modules in the event builder
  4. select whether to write out raw, compressed, or both types of data products
  5. create a new data type and associated "sim" generator and run it in the system
  6. create a new art analysis module and run it in the system