| 
    Jpp
    15.0.5
    
   the software that should make you happy 
   | 
 
Go to the source code of this file.
Functions | |
| then JDetector sh $DETECTOR fi | if (!reuse_file $INPUT_FILE) | 
| then JLigier sh  $MESSAGE_SERVER continue fi  | if ((1)) | 
Variables | |
| script | |
| then echo Variable JPP_DIR  undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable WORKDIR tmp set_variable DETECTOR $JPP_DATA km3net_reference detx set_variable LOGGER_OUTPUT logger txt set_variable HOST get_ip_address if do_usage *then usage $script[detector file[logger file[working directory]]] fi case set_variable  | WORKDIR | 
| &set_variable | LOGGER_OUTPUT | 
| &set_variable | DETECTOR | 
| esac set_variable INPUT_FILE  $WORKDIR trigger_processor root set_variable MESSAGE_SERVER localhost set_variable MESSAGE_LOGGER localhost set_variable DEBUG set_variable RUN_1 set_variable RUN_2 set_variable TIMEOUT_S set_variable RUNTIME_S set_variable DETECTOR_ID set_variable DWRITER_HOST $HOST  | if [[!-f $DETECTOR]] | 
| then set_variable singlesRate  set_variable doublesRate set_variable numberOfSlices echo Generating random background echo Singles  | rate | 
| do | OUTPUT_FILE | 
| then rm i $OUTPUT_FILE fi let | RUN | 
| then cat ev_configure txt << EOFdatawriter=$DWRITER_HOST;inputFile=$INPUT_FILE;eventRate_Hz=100.0;EOFfiif[[!-f driver.txt]];thencat > driver txt<< EOFprocess JEventGenerator $HOST ssh\$HOST\$"$JPP_BIN/JEventGenerator -u \$NAME\$ -H \$SERVER\$ -M \$LOGGER\$ -d $DEBUG </dev/null > & dev null& process JDataWriter $HOST ssh $HOST $JPP_BIN JDataWriter u $NAME H $SERVER M $LOGGER d $DEBUG </dev/null >& dev null& enter event  | ev_init | 
| do cat driver txt<< EOFevent  ev_configure{RC_EVT% < ev_configure.txt > RC_DWRT  | path =$WORKDIR | 
| update_s =10 | |
| logger_s =5 | |
| event | ev_start | 
| script | 
Definition at line 5 of file software/JDataWriter/JDataWriter.sh.
| then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable WORKDIR tmp set_variable DETECTOR $JPP_DATA km3net_reference detx set_variable LOGGER_OUTPUT logger txt set_variable HOST get_ip_address if do_usage* then usage $script [detector file [logger file [working directory]]] fi case set_variable WORKDIR | 
Definition at line 27 of file software/JDataWriter/JDataWriter.sh.
| & set_variable LOGGER_OUTPUT | 
Definition at line 33 of file software/JDataWriter/JDataWriter.sh.
| & set_variable DETECTOR | 
Definition at line 34 of file software/JDataWriter/JDataWriter.sh.
| esac set_variable INPUT_FILE $WORKDIR trigger_processor root set_variable MESSAGE_SERVER localhost set_variable MESSAGE_LOGGER localhost set_variable DEBUG set_variable RUN_1 set_variable RUN_2 set_variable TIMEOUT_S set_variable RUNTIME_S set_variable DETECTOR_ID set_variable DWRITER_HOST $HOST if[[!-f $DETECTOR]] | 
Definition at line 34 of file software/JDataWriter/JDataWriter.sh.
| then set_variable singlesRate set_variable doublesRate set_variable numberOfSlices echo Generating random background echo Singles rate | 
Definition at line 95 of file software/JDataWriter/JDataWriter.sh.
| do OUTPUT_FILE | 
Definition at line 97 of file software/JDataWriter/JDataWriter.sh.
| then rm i $OUTPUT_FILE fi let RUN | 
Definition at line 103 of file software/JDataWriter/JDataWriter.sh.
| then cat ev_configure txt<<EOFdatawriter = $DWRITER_HOST;inputFile = $INPUT_FILE;eventRate_Hz = 100.0;EOFfiif [[ ! -f driver.txt ]]; thencat> driver txt<<EOFprocess JEventGenerator $HOST ssh \$HOST\$ "$JPP_BIN/JEventGenerator -u \$NAME\$ -H \$SERVER\$ -M \$LOGGER\$ -d $DEBUG </dev/null >& dev null& process JDataWriter $HOST ssh $HOST $JPP_BIN JDataWriter u $NAME H $SERVER M $LOGGER d $DEBUG</dev/null >& dev null& enter event ev_init | 
Definition at line 132 of file software/JDataWriter/JDataWriter.sh.
| do cat driver txt<<EOFevent ev_configure { RC_EVT %<ev_configure.txt> RC_DWRT path =$WORKDIR | 
Definition at line 143 of file software/JDataWriter/JDataWriter.sh.
| update_s =10 | 
Definition at line 143 of file software/JDataWriter/JDataWriter.sh.
| logger_s =5 | 
Definition at line 143 of file software/JDataWriter/JDataWriter.sh.
| event ev_start | 
Definition at line 146 of file software/JDataWriter/JDataWriter.sh.
 1.8.5