8 # ------------------------------------------------------------------------------------------
10 # Utility script to plot number of photons - GeV for EM-showers
12 # ------------------------------------------------------------------------------------------
14 if [ -z $JPP_DIR ];
then
15 echo "Variable JPP_DIR undefined."
19 source $JPP_DIR/setenv.sh $JPP_DIR
25 if ( do_usage $* );
then
26 usage "$script [working directory]"
37 # number of photons per GeV
38 # from Geant4 simulation by Daniel Lopez
65 -
f ${GRAPH_ROOT}:\.\* \
72 -\^
"number of photons" \
82 -\^
"Geant4/JSirene" \
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
double geanc()
Equivalent muon track length per unit shower energy.
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
then for HISTOGRAM in h0 h1
*fatal Wrong number of arguments esac set_variable GRAPH_TXT
do set_variable OUTPUT_DIRECTORY $WORKDIR T
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
#define DEBUG(A)
Message macros.