Jpp
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
examples
JPhysics
JGeane.sh
Go to the documentation of this file.
1
#!/bin/zsh
2
#
3
# \author mdejong
4
#
5
version
=1.0
6
script=${0##*/}
7
8
# ------------------------------------------------------------------------------------------
9
#
10
# Utility script to plot mun range.
11
#
12
# ------------------------------------------------------------------------------------------
13
14
15
if
[ -z $JPP_DIR ];
then
16
echo
"Variable JPP_DIR undefined."
17
exit
18
fi
19
20
21
source $JPP_DIR/setenv.sh $JPP_DIR
22
23
24
set_variable
DEBUG
2
25
set_variable
WORKDIR
/
tmp
/
26
27
if
( do_usage $* );
then
28
usage
"$script [working directory]"
29
fi
30
31
case
$#
in
32
1)
WORKDIR
=$1;;
33
esac
34
35
36
set_variable
OUTPUT_FILE
$WORKDIR
/geane.root
37
38
JGeane \
39
-o $OUTPUT_FILE
40
41
JPlot1D \
42
-
f
${
OUTPUT_FILE
}:
h1
\
43
-XX \
44
-y
"1e-1 1e5"
-Y \
45
-\>
"E [GeV]"
\
46
-\^
"R [m]"
\
47
-
T
""
-o
R
.gif
48
49
JPlot2D \
50
-
f
${
OUTPUT_FILE
}:h2 \
51
-XX \
52
-YY \
53
-O COLZ \
54
-z
"1e-1 1e8"
-Z \
55
-\>
"E [GeV]"
\
56
-\<
"R [m]"
\
57
-\^
"E [GeV]"
\
58
-
T
""
-o
E
.gif
JSYSTEM::set_variable
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
Definition:
JSystemToolkit.hh:404
in
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
Definition:
JSirene.sh:45
exit
exit
Definition:
JPizza.sh:36
h1
then for HISTOGRAM in h0 h1
Definition:
JMatrixNZ.sh:69
OUTPUT_FILE
do OUTPUT_FILE
Definition:
software/JDataWriter/JDataWriter.sh:97
f
then JPizza f
Definition:
JPizza.sh:46
echo
then echo
Definition:
JDOMDAQDriver.sh:56
tmp
do montage tile geometry tmp
Definition:
plot-PMTParameters2D.sh:116
T
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Definition:
JCalibrateHeight.sh:61
usage
* usage
Definition:
JLigier-local.sh:33
R
then usage $script[distance] fi case set_variable R
Definition:
JDrawLED.sh:40
then
then
Definition:
examples/JDataFilter/JDataFilter.sh:87
$WORKDIR
then display $WORKDIR
Definition:
plot-Domino.sh:142
version
version
Definition:
JCalibratePMT.sh:7
WORKDIR
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
Definition:
JLegolas.sh:28
E
then usage $script[input file[working directory[option]]] nWhere option can be E
Definition:
JMuonPostfit.sh:37
DEBUG
#define DEBUG(A)
Message macros.
Definition:
JMessage.hh:62
Generated by
1.8.5