km3pipe.cmd
¶
KM3Pipe command line utility.
- Usage:
- km3pipe test km3pipe update [GIT_BRANCH] km3pipe createconf [–overwrite] [–dump] km3pipe detx DET_ID [-m] [-t T0_SET] [-c CALIBR_ID] [-o OUTFILE] km3pipe detectors [-s REGEX] [–temporary] km3pipe rundetsn [–temporary] RUN DETECTOR km3pipe retrieve DET_ID RUN [-o OUTFILE] km3pipe git km3pipe git-short km3pipe (-h | –help) km3pipe –version
- Options:
- -h –help Show this screen. -m Get the MC detector file (flips the sign of DET_ID). -c CALIBR_ID Geometrical calibration ID (eg. A01466417) -o OUTFILE Output filename. -t T0_SET Time calibration ID (eg. A01466431) -s REGEX Regular expression to filter the runsetup name/id. –temporary Use a temporary session. [default: False] –overwrite Overwrite existing config [default: False] DET_ID Detector ID (eg. D_ARCA001). DETECTOR Detector (eg. ARCA). GIT_BRANCH Git branch to pull (eg. develop). RUN Run number.
Module Contents¶
Functions¶
run_tests () |
|
update_km3pipe (git_branch=’‘) |
|
retrieve (run_id, det_id, outfile=None) |
Retrieve run from iRODS for a given detector (O)ID |
detx (det_id, calibration=’‘, t0set=’‘, filename=None) |
|
detectors (regex=None, sep=’\t’, temporary=False) |
Print the detectors table |
rundetsn (run_id, detector=’ARCA’, temporary=False) |
Print the detector serial number for a given run of ARCA/ORCA |
createconf (overwrite=False, dump=False) |
|
print_git_revision () |
Prints the last git commit hash |
print_git_short_revision () |
Prints the last git commit short hash |
main () |
-
km3pipe.cmd.
retrieve
(run_id, det_id, outfile=None)[source]¶ Retrieve run from iRODS for a given detector (O)ID