$ /afs/slac.stanford.edu/g/glast/ground/DataServer/v6r3p1/bin/skimmer -help

ROOTSYS=/afs/slac/g/glast/ground/GLAST_EXT/rh9_gcc32opt/ROOT/v5.18.00c-gl1/root
SK_BINARY_DIR=/afs/slac.stanford.edu/g/glast/ground/DataServer/v6r3p1/linux/5.18/00c
%INFO: ROOT version is 5.18/00c

Usage:

1) Set up the choice of input data files.

  SK_TASK
    When one want to skim data from Pipeline I, name of the task.
    You must not define both SK_TASK and SK_INPUT_FILE_LIST. See also SK_INPUT_CEL.
    (default value is "")
  SK_RUN_MIN
    When one want to skim data from Pipeline I, beginning of requested run range.
    (default value is "0")
  SK_RUN_MAX
    When one want to skim data from Pipeline I, end of requested run range.
    (default value is "0")
  SK_INPUT_FILE_LIST
    Full name of a parameter file providing the list of input data files.
    You must not define both SK_TASK and SK_INPUT_FILE_LIST. See also SK_INPUT_CEL.
    (default value is "")
  SK_OUTPUT_FILE_LIST
    Optional full name of a parameter file receiving the list of data files which were kept after skimming.
    (default value is "")
  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 a parameter file providing the list of events of interest.
    You must not define both SK_INPUT_EVENT_LIST and SK_TCUT. See also SK_INPUT_CEL.
    (default value is "")
  SK_TCUT_DATA_TYPE
    Relevant type of data for SK_TCUT,
    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 cutting step.
    You must not define both SK_INPUT_EVENT_LIST and SK_TCUT. See also SK_INPUT_CEL.
    (default value is "")
  SK_OUTPUT_EVENT_LIST
    Optional full name of a parameter file receiving the list of events which were kept after skimming.
    (default value is "")
  SK_DEBUG_EVENT_LIST
    When true, enable debug output during events filtering step.
    (default value is "false")

3) Set up the choice of branches.

  SK_INPUT_BRANCH_LIST
    Optional full name of a file specifying branches to disable/enable during skimming.
    (default value is "")
  SK_OUTPUT_BRANCH_LIST
    Optional full name of a file receiving the list of branches which were active while skimming.
    (default value is "")
  SK_DEBUG_BRANCH_LIST
    When true, enable debug output during branches extraction step.
    (default value is "false")

4) 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 and deduces the libraries.
    We will call this the "automatic release determination".
    (default value is "")
  SK_OUTPUT_LIBRARY_LIST
    Optional full name of a file receiving the list of shared libraries mandatory for skimming.
    (default value is "")
  SK_DEBUG_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_OUTPUT_DIR
    Directory path where you wish the output ROOT files to be written. See also SK_OUTPUT_CEL.
    (default value is "/afs/slac.stanford.edu/g/glast/ground/DataServer/v6r3p1")
  SK_OUTPUT_FILE_BODY
    Body of the filename for output ROOT files. See also SK_OUTPUT_CEL.
    (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 output parameter files.
    (default value is "false")
  SK_DEBUG_SKIM
    When true, enable debug output of skimming.
    (default value is "false")

6) Eventually use CompositeEventList instead of input textual filse and deep copy

  SK_INPUT_CEL
    Full path of a CEL ROOT file containing both the data files paths and the list of events of interest.
    The input CEL list of files will only be taken into account if neither SK_TASK nor SK_INPUT_FILE_LIST is defined.
    The input CEL list of events will only be taken into account if neither SK_TASK nor SK_EVENT_FILE_LIST is defined.
    (default value is "")
  SK_OUTPUT_CEL
    Full path of a CEL ROOT file receiving the selected list of files and events for all data types with run/event id branches.
    Only apply if a cut has been made on events in a way or another.
    If applied, is done instead of the real copy for concerned data types, and bran pruning is disabled.
    (default value is "")

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_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 shared 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_REBUILD_INDEX
    When true, the skimmer does not trust the TTree indexes found within input data files, and rebuild them all.
    (default value is "true")
  SK_OUTPUT_FILE_PATH
    In case of a single data type, one can directly give the complete path of the output file.
    (default value is "")
  SK_SKIP_ESTIMATE
    Skip the skimming time estimate.
    (default value is "false")
  SK_TESTDB
    Enable using the Oracle TestDB.
    (default value is "false")
  SK_SKIP_CHECK
    When false, some (long) tests are done on the output data files.
    (default value is "true")
  SK_DEBUG_CHECK
    When true, enable debug output of final check.
    (default value is "false")

8) Execute the command

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

  • No labels