Versions Compared

Key

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

...

The data recorded from the LCLS experiments are stored in xtc (eXtended Tagged Container) files. This online format consists of "datagrams", structures that have fileds like TypeId, Damage, source (Src) and extent (size). Xtc files are not indexed and does not provide random access. The data file contains only data, no metadata, so you depend on the pdsdata library (or similar) to make sense of the files. The only way to read it is using a special iterator (XtcIterator) and read the events seqencially, one shot at a time. The myana application does this loop for you, and you can customize the event() function to read out the information you want from the xtc file.

...