3 source $JPP_DIR/setenv.sh $JPP_DIR
7 rm -rf $ARCHIVE/test >& /dev/
null
11 echo "hello world" > abc.txt
12 echo "hello world" > abc.dat
16 putFile.sh abc.txt $ARCHIVE/test 100 1 1000
km3net mjg
17 putFile.sh abc.txt $ARCHIVE/test 100 101 101
km3net mjg_1
18 putFile.sh abc.txt $ARCHIVE/test 100 101 101
km3net mjg_2
19 putFile.sh abc.txt $ARCHIVE/test 100 101 101
km3net mjg_3
20 putFile.sh abc.dat $ARCHIVE/test 100 101 101
km3net kay
21 putFile.sh abc.dat $ARCHIVE/test 100 101 101
km3net kay
23 echo "\nlist all archive files"
25 getArchive.sh $ARCHIVE/test 100 101
km3net
28 echo "\nlist all archive files that do have one specific variant"
30 getArchive.sh $ARCHIVE/test 100 101
km3net kay
33 echo "\nlist all archive files that do have one glob variant"
35 getArchive.sh $ARCHIVE/test 100 101
km3net "mjg*"
38 echo "\nlist all archive files that do have specific variants"
40 getArchive.sh $ARCHIVE/test 100 101
km3net "(mjg_2|mjg_1)"
43 echo "\nlist all archive files that do not have specific variants"
45 getArchive.sh $ARCHIVE/test 100 101
km3net "^(mjg_2|mjg_1)"
49 typeset -
A SQL # type -> variant
53 for type variant
in ${(kv)
SQL[*]};
do
55 echo "\nlist all files with type \"$type\" and variant \"$variant\""
57 getArchive.sh $ARCHIVE/test 100 101 $type $variant
58 getFile.sh $ARCHIVE/test 100 101 $type $variant
XXX;
rm -
f XXX.*
rm f XXX *typeset A SQL SQL[km3net]
rm f XXX *echo nlist all archive files that do have one specific variant getArchive sh $ARCHIVE test km3net kay getFile sh $ARCHIVE test km3net kay XXX
then usage $script< directory A >< directoryB > nIn each there should be a file detector datx and tripod txt
rm f XXX txt echo nlist all archive files that do have specific variants getArchive sh $ARCHIVE test km3net(mjg_2|mjg_1)" getFile.sh $ARCHIVE/test 100 101 km3net "(mjg_2|mjg_1)" XXX
o $QUALITY_ROOT d $DEBUG!JPlot1D f
TFile * getFile(const std::string &file_name, const std::string &option="exist")
Get TFile pointer corresponding to give file name.
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR if do_usage *then usage $script[(input file)+] fi set_variable DEBUG set_variable WORKDIR TMPDIR
source $JPP_DIR setenv sh $JPP_DIR ARCHIVE
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null