Command Usage: sam v8_1_5 sam get events
|  |
Command Description:
For the specified data file and the specified runNumber/runType (or runId),
return event data for the requested events.
Usage:
sam get events <--requiredOptions> [--options] [-flags]
Where:
--requiredOptions:
--eventNumber=<value> # comma-separated list of event numbers for which to retrieve data
--options:
--corbaCallTimeout=<value> # time in seconds for CORBA method calls to return before timing out (default: 0; zero implies no timeout)
--fileId=<value> # DB-assigned file ID of the file containing the events of interest
--fileName=<value> # name of the file containing the events of interest
--retryInterval=<value> # retry interval base in seconds; will multiply this base times retryCount (default: 5)
--retryJitter=<value> # retry jitter, random jitter added to base retry interval times retryCount (default: 5)
--retryMaxCount=<value> # number of times to retry CORBA calls for retriable exceptions (default: 25; zero implies no retries)
--runId=<value> # DB-assigned run ID for the run of interest
--runNumber=<value> # run number for the events of interest
--runType=<value> # run type associated with the run
-flags:
-c # automatically close all servants after each method call
-d # debug mode
-s # retrySilently mode (do not issue messages to stderr on proxy retries)
-t # time-it mode (print additional info on timings)
-v # verbose mode
Synonymous Options:
--eventNumbers=<value> # synonym for --eventNumber=<value>
Must specify at least one of:
--fileName=<value> OR --fileId=<value>
--runNumber=<value> OR --runId=<value>
Mutually Exclusive Options:
--fileName=<value> OR --fileId=<value>
Incompatible Option Combinations:
[runType, runNumber] OR [runId]
Required Data Types:
corbaCallTimeout : int
eventNumber : SamLongList
fileId : long
fileName : string
retryInterval : int
retryJitter : int
retryMaxCount : int
runId : long
runNumber : long
runType : string
You may omit "-c" if the $SAM_PYAPI_AUTO_CLOSE_SERVANTS environmental variable is set.
You may omit "--corbaCallTimeout=<value>" if the $SAM_PYAPI_CORBA_CALL_TIMEOUT environmental variable is set.
You may omit "--retryInterval=<value>" if the $SAM_PYAPI_RETRY_INTERVAL environmental variable is set.
You may omit "--retryJitter=<value>" if the $SAM_PYAPI_RETRY_JITTER environmental variable is set.
You may omit "--retryMaxCount=<value>" if the $SAM_PYAPI_RETRY_MAX_COUNT environmental variable is set.
You may omit "-s" if the $SAM_PYAPI_RETRY_SILENTLY environmental variable is set.
UNIX ExitStatus:
Success : 0
Unhandled exceptions : 127
See Also: