4 if [ -z $JPP_DIR ];
then
5 echo "Variable JPP_DIR undefined."
9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null
15 usage "$script <detector identifier> <run>[-<run>] [source [parameter]]"
23 *) fatal
"Invalid number of arguments."
36 if [[ ! -
f ${FILENAME}.gz ]];
then
38 echo -
n "Downloading data... "
42 --secure-protocol=TLSv1_2 \
43 "https://km3netdbweb.in2p3.fr/streamds/datalogstrings.txt?${(j:&:)SELECTOR}" \
46 if (( $? == 0 )) && [[ `
cat ${FILENAME}` !=
"ERROR: Input string was not in a correct format." ]];
then
50 echo "OK => ${FILENAME}.gz"
52 echo "error => $WORKDIR/wget.log"
then JLigier sh continue fi cat
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
then usage $script< detector identifier >< run > fi case set_variable PARAMETER
*fatal Invalid number of arguments esac SELECTOR
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
then echo n Downloading data wget load cookies
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
fi set_variable FILENAME $WORKDIR
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
then eval ls $DIR $ID $TYPE _
static JNullStream null
Null I/O stream.
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
#define DEBUG(A)
Message macros.