$ /afs/slac/g/glast/ground/DataServer/v5r0/bin/skimmer -h
ROOTSYS=/afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32opt/ROOT/v5.16.00/root
SK_BINARY_DIR=/afs/slac/g/glast/ground/DataServer/v5r0/linux/5.16/00
%INFO: ROOT version is 5.16/00

Usage:

1) Set up the choice of input data files.

  SK_TASK
    Task name, as defined by the GLAST Pipeline Database.
    It is used for the file selection step (see below),
    but it is also used in the default value of many other variables.
    (default value is "SkimmedData")
  SK_FILE_LIST_FILE
    Full name of the file containing the list of input data files.
    When the file does not exists, the skimmer gets the list from
    the GLAST Pipeline Database, and stores the result in SK_FILE_LIST_FILE.
    We will call this the "files selection step".
    (default value is "${SK_OUT_DIR}/${SK_TASK}_FileList.txt")
  SK_SKIP_GET_FILE_LIST
    When true, the skimmer does not perform the files selection step,
    even if the file defined by SK_FILE_LIST_FILE does not exist.
    (default value is "false")
  SK_FORCE_GET_FILE_LIST
    When true, the skimmer does perform the files selection step,
    even if the file defined by SK_FILE_LIST_FILE already exists.
    The result is overwritten in SK_FILE_LIST_FILE.
    (default value is "false")
  SK_RUN_MIN
    Beginning of run range, used for the files selection step.
    (default value is "0")
  SK_RUN_MAX
    End of run range, used for the files selection step.
    (default value is "0")
  SK_DEBUG_GET_FILE_LIST
    When true, enable debug output during the files selection step.
    (default value is "false")

2) Set up the selection of events.

  SK_EVENT_LIST_FILE
    Full name of the file containing the list of events of interest.
    If it does not exist yet, it is automatically generated, based on SK_TCUT.
    We will call this the "events selection step".
    (default value is "${SK_OUT_DIR}/${SK_TASK}_EventList.txt")
  SK_SKIP_GET_EVENT_LIST
    When true, the skimmer does not perform the events selection step,
    even if the file defined by SK_EVENT_LIST_FILE does not exist.
    (default value is "false")
  SK_FORCE_GET_EVENT_LIST
    When true, the skimmer does perform the events selection step,
    even if the file defined by SK_EVENT_LIST_FILE already exists.
    The result is overwritten in SK_EVENT_LIST_FILE.
    (default value is "false")
  SK_TCUT_DATA_TYPE
    Relevant type of data for SK_TCUT (only merit is currently allowed),
    used for the events selection step.
    (default value is "merit")
  SK_TCUT
    ROOT-style cut TString, applied to SK_TCUT_DATA_TYPE,
    used for the events selection step.
    (default value is "")
  SK_DEBUG_GET_EVENT_LIST
    When true, enable debug output during events selection step.
    (default value is "false")

3) Set up the choice of branches.

  SK_BRANCH_LIST_FILE
    Full name of the file containing branches to disable/enable during skimming.
    If it does not exist yet, it is automatically generated with all the branches enabled.
    We will call this the "branchs determination step".
    (default value is "${SK_OUT_DIR}/${SK_TASK}_BranchList.txt")
  SK_SKIP_GET_BRANCH_LIST
    When true, the skimmer does not perform the branches determination step,
    even if the file defined by SK_BRANCH_LIST_FILE does not exist.
    (default value is "false")
  SK_FORCE_GET_BRANCH_LIST
    When true, the skimmer does perform the branches determination step,
    even if the file defined by SK_BRANCH_LIST_FILE already exists.
    The result is overwritten in SK_BRANCH_LIST_FILE.
    (default value is "false")
  SK_DEBUG_GET_BRANCH_LIST
    When true, enable debug output during branches determination step.
    (default value is "false")

4) Set up the list of libraries to be loaded.

  SK_LIBRARY_LIST_FILE
    Full name of a file where is defined the list of the libraries.
    This depends on the relevant release for the input data files.
    If the file does not exist yet, the skimmer tries to guess the release,
    deduces the libraries and stores the result in SK_LIBRARY_LIST_FILE.
    We will call this the "automatic release determination".
    (default value is "${SK_OUT_DIR}/${SK_TASK}_LibraryList.txt")
  SK_SKIP_GET_LIBRARY_LIST
    When true, the skimmer does not perform the automatic release determination,
    even if the file defined by SK_LIBRARY_LIST_FILE does not exist.
    (default value is "false")
  SK_FORCE_GET_LIBRARY_LIST
    When true, the skimmer does perform the automatic release determination,
    even if the file defined by SK_LIBRARY_LIST_FILE already exists.
    The result is overwritten in SK_LIBRARY_LIST_FILE.
    (default value is "false")
  SK_DEBUG_GET_LIBRARY_LIST
    When true, enable debug output during automatic release determination.
    (default value is "false")

5) Set up skimming parameters.

  SK_DATA_TYPES
    Kinds of data to be skimmed, formatted as a ":" separated string.
    (default list is "merit:mc:digi:recon")
  SK_OUT_DIR
    Directory path where you wish the output ROOT files to be written.
    (default value is "/a/sulky33/g.glast.u18/MC-tasks/allGamma-GR-v14r1/skim")
  SK_OUT_FILE_BODY
    Body of the filename for output ROOT files.
    (default value is "${SK_TASK}")
  SK_MAX_FILE_SIZE
    Max output file size in bytes. If set to 0, the ROOT default max size will be used.
    (default value is "0")
  SK_SKIP_SKIM
    When true, the skimmer does not perform the skimming.
    It can be useful if you only want to generate some of above parameter files.
    (default value is "false")
  SK_DEBUG_SKIM
    When true, enable debug output of skimming.
    (default value is "false")

6) Parameters for expert users.

  SK_DIR
    Directory where skimmer code is located.
    (default value is "")
  SK_FORCE_OUTPUT_FILES
    Create each output file even when empty (useful for production).
    (default value is "false")
  SK_SKIP_ESTIMATE
    Skip the skimming time estimate.
    (default value is "false")
  SK_SKIP_CHECK
    Skip the data verification.
    (default value is "true")
  SK_DEBUG_CHECK
    Enable debug output of check step.
    (default value is "false")
  SK_TESTDB
    Enable using the Oracle TestDB.
    (default value is "false")
  SK_DATA_DIRS
    Place to search for data files, when their paths are relative ones in the file list.
    (default list is "")
  SK_LIBRARY_DIRS
    Place to search for libraries.
    (default list is "/nfs/farm/g/glast/u09/builds/rh9_gcc32:/nfs/farm/g/glast/u30/builds/rh9_gcc32:/afs/slac.stanford.edu/g/glast/ground/releases/rh9_gcc32opt")
  SK_EXPECTED_RELEASE
    The release to use if file header interpretation is failing.
    (default value is "")
  SK_HEADER_RELEASE
    (DEPRECATED) The release where to take libCommon.so for file header interpretation.
    (default value is "GlastRelease/GlastRelease-v9r3")

7) Execute the command

  /afs/slac/g/glast/ground/DataServer/v5r0/bin/skimmer


  • No labels