4 # ------------------------------------------------------------------------------------------ 
    6 #  Auxiliary script to convert slow control data from database to ROOT TTree or TGraph's. 
    8 # ------------------------------------------------------------------------------------------ 
   10 if [ -z $JPP_DIR ]; 
then 
   11     echo "Variable JPP_DIR undefined." 
   15 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null 
   21 if ( do_usage $* ); 
then 
   22     usage "$script <detector> <run> <output file> [option]" 
   30     *) fatal 
"Wrong number of arguments." 
   35 #typeset -Z 8  DETECTOR
 
   41 if [[ ! -
f $OUTPUT_FILE ]]; 
then 
   50     notice 
"File $OUTPUT_FILE exists; remove to overwrite." 
do echo Generating $dir eval D
 
void set_variable(const std::string &name, const std::string &value)
Set environment variable. 
 
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
 
do montage tile geometry tmp
 
then print_variable DETECTOR INPUT_FILE INTERMEDIATE_FILE check_input_file $DETECTOR $INPUT_FILE check_output_file $INTERMEDIATE_FILE $OUTPUT_FILE JMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
 
then rm i $OUTPUT_FILE fi let RUN
 
then usage $script[distance] fi case set_variable R
 
then usage $script< detector >< run >< outputfile > fi case set_variable OPTION
 
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
 
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null
 
#define DEBUG(A)
Message macros.