Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

The same procedure of the loop over datagrams with iteration over XTC containers can be used for XTC data indexing..., but need to read all files for streams and chunks within run using the same algorithm like in psana.

Command line interface

Wiki Markupxtcqc \ [-h\] \ [-l <logfile>\] \ [-b <basedir>\] <fname1> \ [<fname2> \ [<fname3> ...\]\]

Optional parameters:
-h - help, showing usage of the command line parameters.
-l - log-file; if specified, then output will be re-directed to this file, otherwise on stdout.
-b - base-directory, i.e.: /reg/d/psdm/<INSTRUMENT>/<experiment>/xtc; if specified, than all xtc file names will be defined w.r.t. this directory.unmigrated-wiki-markup

Non-optional parameters:
<fname1> \ [<fname2> \ [<fname3> ...\]\] - all xtc file names should be listed without options. At least one xtc file name should be provided.

Note

Unpleasant feature of getopt:
The options -l and -b require the file name as a trailed optional parameter. If the optional parameter is mistakenly missed, then entire input will be corrupted.

...