Jpp  18.2.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JConvertDB.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 script=${0##*/}
3 
4 if [ -z $JPP_DIR ]; then
5  echo "Variable JPP_DIR undefined."
6  exit
7 fi
8 
9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
10 
13 set_variable DIR $JPP_DIR/examples/JDB/
14 set_variable QUERY runsummarynumbers
15 
16 if do_usage $*; then
17  usage "$script <detector identifier> <first run> <last run> [working directory]"
18 fi
19 
20 case $# in
21  4) set_variable WORKDIR $4;&
23  set_array RUNS $2 $3;;
24  *) fatal "Wrong number of arguments."
25 esac
26 
27 JCookie.sh
28 
31 set_variable SOURCE_NAME 12.0.0-PDF-1-72-gb89b379
32 
33 JConvertDB \
34  -o $OUTPUT_FILE \
35  -q $QUERY \
36  -@ "DETID = $DETID" \
37  -@ "MINRUN = ${RUNS[1]}" \
38  -@ "MAXRUN = ${RUNS[2]}" \
39  -@ "SOURCE_NAME = $SOURCE_NAME" \
40  -d $DEBUG --!
41 
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable PDF $JPP_DATA J p dat set_variable HISTOGRAM if do_usage *then usage $script< detector file >< inputfile >< outputfile > fi case set_variable PDF
set_array RUNS
usr share Modules init zsh export TMPDIR
exit
Definition: JPizza.sh:36
JDetectorsHelper & getDetector()
Auxiliary function for helper object initialisation.
Definition: JDBToolkit.hh:378
then fatal Wrong number of arguments fi DIR
then set_variable DETID
Definition: JEditTuneHV.sh:63
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:21
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
Definition: JLegolas.sh:20
* usage
&set_variable OUTPUT_FILE
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
then set_variable MODULE getModule a $DETECTOR L $STRING $FLOOR JEditDetector a $DETECTOR M $MODULE add $X o $DETECTOR else echo No update of detector $DETECTOR
then display $WORKDIR
Definition: plot-Domino.sh:128
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
set_variable DETECTOR
then echo
Definition: JQAQC.sh:90
static JNullStream null
Null I/O stream.
Definition: JNullStream.hh:51
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
Definition: JCanberra.sh:46
script
Definition: JAcoustics.sh:2
do echo Generating $dir eval D
Definition: JDrawLED.sh:53
#define DEBUG(A)
Message macros.
Definition: JMessage.hh:62