Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are three different ways to get quasi real time information about data taking. They offer different pros and cons and the final choice about which method works best for a given experiments is left to the users.

The approaches are:

  1. AMI (Analysis Monitoring Interface) processes running on the instrument dedicated monitoring nodes.
  2. Shared memory applications running on the instrument dedicated monitoring nodes.
  3. Custom applications running on the experimental hall fast feedback queues and reading the data from disk.

AMI

AMI can display the raw/calibrated detector data in real time and it can calculate and display some simple quantities without writing any code.  Analyses are configured through a GUI with just a few mouse clicks. A guide to using AMI can be found here.

Note that it is possible to augment the core AMI capabilities by writing a plug-in following a well defined C++ API, but this is not trivial. If you are interested in adding new capabilities to AMI, but you don't have enough C++ expertise in your group to create an AMI plug-in, contact us before coming to LCLS.

Pros: excellent real time capabilities (< 1s); very simple to use for simple analysis.

Cons: non trivial augmenting capabilities through additional C++ code.

Fast Feedback

This method of analysis reads the detector data from a fast storage layer called fast feedback (FFB), dedicated to the running experiment, and runs a prepared analysis. Any framework which can read XTC files can be adopted to run as a fast feedback application. The most common framework used with this method is psana.

Pros: trivial to setup; independent of the DAQ; ability to run the same code online and offline.

Cons: not quite real time (<5 minutes); may compete with the HDF5 translator if the translation services are run on the FFB storage layer.

 

 it can be tricky/impossible to save&load complicated analyses, need fast X-connection to setup as it is GUI driven.

Shared Memory (Experts only!)

...

Cons: if not using pre-existing software, requires very large time investment from both LCLS and the user.  competes with AMI resources (monitoring nodes, data stream); requires setting up the shared memory servers on the DAQ side.

Fast Feedback

This method of analysis reads the detector data from a fast storage layer called fast feedback (FFB), dedicated to the running experiment, and runs a prepared analysis. Any framework which can read XTC files can be adopted to run as a fast feedback application. The most common framework used with this method is psana.

Pros: trivial to setup; independent of the DAQ; ability to run the same code online and offline.

Cons: not quite real time (~<1 minutes after the run has ended using the LCLS supported framework).