4 if [ -z $JPP_DIR ];
then
5 echo "Variable JPP_DIR undefined."
9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/
null
17 usage "$script (input file)+"
21 fatal
"Not enough arguments."
29 -
f "${INPUT_FILES//\.root/.root:hq}" \
42 -
f "${INPUT_FILES//\.root/.root:h0}" \
55 -
f "${INPUT_FILES//\.root/.root:h0}" \
63 -\^
"number of modules" \
72 -
f "${INPUT_FILES//\.root/.root:hc}" \
78 -
o chi2.$FORMAT $BATCH
85 -
f "${INPUT_FILES//\.root/.root:h2}" \
88 -\^
"number of hits" \
97 -
f "${INPUT_FILES//\.root/.root:h2}" \
102 -
o d2t.$FORMAT $BATCH
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn only modules within the given range of floors are used fi case set_variable RANGE $argv[3]
o $QUALITY_ROOT d $DEBUG!JPlot1D f
then fatal Wrong number of arguments fi set_variable STRING $argv[1] set_variable DETECTORXY_TXT $WORKDIR $DETECTORXY_TXT tail read X Y CHI2 RMS printf optimum n $X $Y $CHI2 $RMS awk v Y
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
do set_variable OUTPUT_DIRECTORY $WORKDIR T
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR if do_usage *then usage $script[(input file)+] fi set_variable DEBUG set_variable WORKDIR TMPDIR
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable DEBUG set_variable WORKDIR
then JConvertDetectorFormat a $DETECTOR[1] o
do sput $STRING $FLOOR sget MODULE INPUT_FILES
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
esac $JPP_BIN JLogger sh $LOGGER until pgrep JGetMessage</dev/null > dev null