Jpp
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
examples
JPhysics
JPrintPDF.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 print PDFs.
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 >& /dev/
null
22
23
24
set_variable
NORTH
"0.00 0.00"
25
set_variable
EAST
"1.57 0.00"
26
set_variable
SOUTH
"3.14 0.00"
27
set_variable
WEST
"1.57 3.14"
28
29
set_variable
E
1e3
30
31
T_NS
=(-2.5 0.0 +2.5 10.0 50.0 100.0)
32
33
if
( do_usage $* );
then
34
usage
"$script"
35
fi
36
37
38
for
R
in
10 50 100;
do
39
40
for
dir in NORTH EAST SOUTH
WEST
;
do
41
42
eval
D
=\$$dir
43
44
for
type in 1 2 3 4 5 6;
do
45
echo
"$T_NS[*]"
| JDrawPDF -
F
$type -D
"${D}"
-
R
$R -
E
$E
46
done
47
done
48
done
D
do echo Generating $dir eval D
Definition:
JDrawLED.sh:50
JSYSTEM::set_variable
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
Definition:
JSystemToolkit.hh:404
F
then check_input_file $DETECTOR $INPUT_FILE for OPTION in A B C D E F
Definition:
JFilter.sh:47
in
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
Definition:
JSirene.sh:45
exit
exit
Definition:
JPizza.sh:36
WEST
then for dir in NORTH EAST SOUTH WEST
Definition:
JDrawLED.sh:46
echo
then echo
Definition:
JDOMDAQDriver.sh:56
usage
* usage
Definition:
JLigier-local.sh:33
R
then usage $script[distance] fi case set_variable R
Definition:
JDrawLED.sh:40
T_NS
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable NORTH set_variable EAST set_variable SOUTH set_variable WEST set_variable E T_NS
Definition:
JPrintPDF.sh:31
then
then
Definition:
examples/JDataFilter/JDataFilter.sh:87
version
version
Definition:
JCalibratePMT.sh:7
null
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null
Definition:
examples/JLogger/JLogger.sh:33
E
then usage $script[input file[working directory[option]]] nWhere option can be E
Definition:
JMuonPostfit.sh:37
done
esac done
Definition:
JAddHDE.sh:21
Generated by
1.8.5