Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Code Block
$ $GLASTROOT/ground/DataServer/v6r0/bin/skimmer -h
ROOTSYS=/afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32opt/ROOT/v5.18.00b/root
SK_BINARY_DIR=/afs/slac.stanford.edu/g/glast/ground/DataServer/v6r0/linux/5.18/00b
%INFO: ROOT version is 5.18/00b

Usage:

1) Set up the choice of input data files.

  SK_TASK
    Task name, as defined by the GLAST Pipeline I Database..
    (default value is "")
  SK_INPUT_FILE_LIST
    Full name of the parameter file providing the list of input data files.
    When the file does not exists, the skimmer performs its "files mining step",
    and stores the result in SK_OUTPUT_FILE_LIST..
    (default value is "")
  SK_OUTPUT_FILE_LIST
    Full name of the parameter file receiving the list of input data files,
    obtained from the GLAST Pipeline Database when SK_INPUT_FILE_LIST does not exist..
    (default value is "")
  SK_REUSE_FILE_LIST
    When true, the skimmer does not perform the files mining step,
    even if the file defined by SK_INPUT_FILE_LIST does not exist.
    (default value is "false")
  SK_REMAKE_FILE_LIST
    When true, the skimmer does perform the files mining step,
    even if the file defined by SK_INPUT_FILE_LIST already exists.
    The result is overwritten in SK_OUTPUT_FILE_LIST.
    (default value is "false")
  SK_RUN_MIN
    Beginning of run range, used for the files mining step.
    (default value is "0")
  SK_RUN_MAX
    End of run range, used for the files mining step.
    (default value is "0")
  SK_DEBUG_FILE_LIST
    When true, enable debug output during the files mining step.
    (default value is "false")

2) Set up the selection of events.

  SK_INPUT_EVENT_LIST
    Full name of the parameter file providing the list of events of interest.
    If it does not exist, the skimmer performs its "events filtering step", based on SK_TCUT,
    and stores the result in SK_OUTPUT_EVENT_LIST..
    (default value is "")
  SK_OUTPUT_EVENT_LIST
    Full name of the parameter file receiving the list of events of interest,
    established from SK_TCUT when SK_INPUT_EVENT_LIST does not exist..
    (default value is "")
  SK_REUSE_EVENT_LIST
    When true, the skimmer does not perform the events selection step,
    even if the file defined by SK_INPUT_EVENT_LIST does not exist.
    (default value is "false")
  SK_REMAKE_EVENT_LIST
    When true, the skimmer does perform the events selection step,
    even if the file defined by SK_INPUT_EVENT_LIST already exists.
    The result is stored in SK_OUTPUT_EVENT_LIST.
    (default value is "false")
  SK_TCUT_DATA_TYPE
    Relevant type of data for SK_TCUT (only merit is currently allowed),
    used for the events filtering step.
    (default value is "merit")
  SK_TCUT
    ROOT-style cut TString, applied to SK_TCUT_DATA_TYPE,
    used for the events filtering step.
    (default value is "")
  SK_DEBUG_EVENT_LIST
    When true, enable debug output during events filtering step.
    (default value is "false")

3) Rather manage data files and events through CompositeEventList.

  SK_INPUT_CEL
    Full name of a CEL ROOT file containing both the data files paths and the list of events of interest.
    .
    (default value is "")

4) Set up the choice of branches.

  SK_INPUT_BRANCH_LIST
    Full name of the file providing branches to disable/enable during skimming.
    If it does not exist yet, the complete list of branches will be written to SK_OUTPUT_BRANCH_LIST.
    We will call this the "branchs extraction step".
    (default value is "")
  SK_OUTPUT_BRANCH_LIST
    Full name of the file receiving the list of branches for the skimming job data types,
    extracted when SK_INPUT_BRANCH_LIST does not exist..
    (default value is "")
  SK_REUSE_BRANCH_LIST
    When true, the skimmer does not perform the branches extraction step,
    even if the file defined by SK_INPUT_BRANCH_LIST does not exist..
    (default value is "false")
  SK_REMAKE_BRANCH_LIST
    When true, the skimmer does perform the branches extraction step,
    even if the file defined by SK_INPUT_BRANCH_LIST already exists.
    The result is stored in SK_OUTPUT_BRANCH_LIST.
    (default value is "false")
  SK_DEBUG_BRANCH_LIST
    When true, enable debug output during branches extraction step.
    (default value is "false")

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

  SK_INPUT_LIBRARY_LIST
    Full name of a file providing the list of the shared libraries to load.
    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_OUT_LIBRARY_LIST.
    We will call this the "automatic release determination".
    (default value is "")
  SK_OUTPUT_LIBRARY_LIST
    Full name of a file receiving the list of the shared libraries to load,
    which is generated when SK_INPUT_LIBRARY_LIST does not exist.
    (default value is "")
  SK_REUSE_LIBRARY_LIST
    When true, the skimmer does not perform the automatic release determination,
    even if the file defined by SK_INPUT_LIBRARY_LIST does not exist.
    (default value is "false")
  SK_REMAKE_LIBRARY_LIST
    When true, the skimmer does perform the automatic release determination,
    even if the file defined by SK_INPUT_LIBRARY_LIST already exists.
    The result is stored in SK_OUTPUT_LIBRARY_LIST.
    (default value is "false")
  SK_DEBUG_LIBRARY_LIST
    When true, enable debug output during automatic release determination.
    (default value is "false")

6) 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-v14r4/skim")
  SK_OUT_FILE_BODY
    Body of the filename for output ROOT files.
    (default value is "SkimmedData")
  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")

7) 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 "")

8) Execute the command

  /afs/slac.stanford.edu/g/glast/ground/DataServer/v6r0/bin/skimmer