5 # utility script to plot CSV data. 
    9 # ------------------------------------------------------------------------------------------ 
   11 #                         Utility script to plot CSV data. 
   13 # ------------------------------------------------------------------------------------------ 
   16 if [ -z $JPP_DIR ]; 
then 
   17     echo "Variable JPP_DIR undefined." 
   22 source $JPP_DIR/setenv.sh $JPP_DIR
 
   28 if ( do_usage $* ); 
then 
   29     usage "$script <working directory>" 
   42 X_LABEL[flux_cosm_neutrinos]=
"E [GeV]" 
   43 Y_LABEL[flux_cosm_neutrinos]=
"E^{2} #Phi [GeVcm^{-2}s^{-1}sr^{-1}]" 
   44 X_LABEL[flux_grb_neutrinos]=
"E [GeV]" 
   45 Y_LABEL[flux_grb_neutrinos]=
"E^{2} #Phi [GeVcm^{-2}s^{-1}sr^{-1}]" 
   47 Y_LABEL[nu_cross]=
"#sigma [cm^{2}]" 
   49 Y_LABEL[TTS]=
"probability" 
   51 OPTION[flux_cosm_neutrinos]=
"-XY -LBL" 
   52 OPTION[flux_grb_neutrinos]=
"-XY -LBL" 
   53 OPTION[nu_cross]=
"-XY -LBR" 
   72             -\> $X_LABEL[${KEY}]    \
 
   73             -\^ $Y_LABEL[${KEY}]    
\ 
*fatal Wrong number of arguments esac JCookie sh JRuns D $DETECTOR d sort n k
 
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
 
esac set_variable DIR $JPP_DIR examples JFit set_variable OUTPUT_FILE $WORKDIR gandalf root set_variable NUMBER_OF_EVENTS set_variable GAUSS set_variable PRECISION $DIR JGandalfFitToGauss o $OUTPUT_FILE n $NUMBER_OF_EVENTS $GAUSS e $PRECISION d $DEBUG!typeset A X_LABEL X_LABEL[ha]
 
*fatal Wrong option $OPTION
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
then JFileTuna f $INPUT_FILE
 
then usage $script< detector >< run >< outputfile > fi case set_variable OPTION
 
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
 
source $JPP_DIR setenv csh $JPP_DIR eval JShellParser o a A
 
#define DEBUG(A)
Message macros.