Jpp  19.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
pre-calibration_D0ARCA028.sh File Reference

Go to the source code of this file.

Functions

do set_variable MODULE
getModule a detector datx L
$STRING JEditDetector a
detector datx M $MODULE setz o
detector datx!done
JEditDetector a detector datx
r $FIXED_STRINGS[*] o detector
datx!JMergeDetector a detector
datx a detector_tmp datx o
detector datx!JEditDetector a
detector datx M 
lower ((+60.0 *$PI/180.0))" -o detector.datx --! JEditTripod -f $TRIPOD -r "12" -o tripod.txt cat>acoustics_trigger_parameters.txt<<EOF Q = 0.0
 

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null set_variable
DETECTOR_ID set_array RUNS 
set_variable
 
then usage $script< source
directory >[user directory]
nThe source directory
corresponds to a pre
calibrated D0ARCA021 detector
nThe user directory should be
specified when this script is
submitted in a batch queue fi
case set_variable 
HOMEDIR
 
&set_variable DIR {1:a}
 
*fatal Wrong number of
arguments esac source
JAcousticsToolkit sh mkdir p
$WORKDIR post calibration
pushd $WORKDIR post
calibration post
calibration_D0ARCA021 sh $DIR
popd set_variable DETECTOR
$WORKDIR post calibration
detector datx set_variable
TRIPOD $WORKDIR post
calibration tripod txt
set_variable DETECTOR_INITIAL
detector_initial datx
expand_array RUNS mkdir p
$HOMEDIR cd $HOMEDIR
JDetectorDB D $DETECTOR_ID r
$RUNS[1] V WW o
$DETECTOR_INITIAL
JEditDetector a $DETECTOR r o
detector_tmp datx!eval
JPrintDetector a
$DETECTOR_INITIAL O 
SUMMARY
 
 FINAL_STRINGS
 
 FIXED_STRINGS
 
 TMax_s = 0.020
 
 numberOfHits = 400
 

Function Documentation

do set_variable MODULE getModule a detector datx L $STRING JEditDetector a detector datx M $MODULE setz o detector datx ! done JEditDetector a detector datx r $FIXED_STRINGS [*] o detector datx ! JMergeDetector a detector datx a detector_tmp datx o detector datx ! JEditDetector a detector datx M lower ( (+60.0 *$PI/180.0)  )
pure virtual

Variable Documentation

script
Initial value:
=${0##*/}
if [ -z $JPP_DIR ]
then usage $script[energy[distance[z of PMT]]] fi case set_variable z
Definition: JDrawPDF.sh:45

Definition at line 2 of file pre-calibration_D0ARCA028.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR& dev null set_variable DETECTOR_ID set_array RUNS set_variable

Definition at line 25 of file pre-calibration_D0ARCA028.sh.

then usage $script<source directory> [user directory] nThe source directory corresponds to a pre calibrated D0ARCA021 detector nThe user directory should be specified when this script is submitted in a batch queue fi case set_variable HOMEDIR

Definition at line 32 of file pre-calibration_D0ARCA028.sh.

& set_variable DIR {1:a}

Definition at line 33 of file pre-calibration_D0ARCA028.sh.

* fatal Wrong number of arguments esac source JAcousticsToolkit sh mkdir p $WORKDIR post calibration pushd $WORKDIR post calibration post calibration_D0ARCA021 sh $DIR popd set_variable DETECTOR $WORKDIR post calibration detector datx set_variable TRIPOD $WORKDIR post calibration tripod txt set_variable DETECTOR_INITIAL detector_initial datx expand_array RUNS mkdir p $HOMEDIR cd $HOMEDIR JDetectorDB D $DETECTOR_ID r $RUNS [1] V WW o $DETECTOR_INITIAL JEditDetector a $DETECTOR r o detector_tmp datx ! eval JPrintDetector a $DETECTOR_INITIAL O SUMMARY

Definition at line 33 of file pre-calibration_D0ARCA028.sh.

FINAL_STRINGS
Initial value:
=($STRINGS[*])
eval `JPrintDetector -a detector_tmp.datx -O SUMMARY`
*fatal Wrong number of arguments esac source JAcousticsToolkit sh mkdir p $WORKDIR post calibration pushd $WORKDIR post calibration post calibration_D0ARCA021 sh $DIR popd set_variable DETECTOR $WORKDIR post calibration detector datx set_variable TRIPOD $WORKDIR post calibration tripod txt set_variable DETECTOR_INITIAL detector_initial datx expand_array RUNS mkdir p $HOMEDIR cd $HOMEDIR JDetectorDB D $DETECTOR_ID r $RUNS[1] V WW o $DETECTOR_INITIAL JEditDetector a $DETECTOR r o detector_tmp datx!eval JPrintDetector a $DETECTOR_INITIAL O SUMMARY
then usage eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID JCanberra sh $DETECTOR $INPUT_FILES[*] $WORKDIR canberra[%\] root source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS kill_child_processes_at_exit attach getModule a $DETECTOR typeset Z STRING typeset Z FLOOR for STRING in $STRINGS[*]
then JCalibrateToT a
Definition: JTuneHV.sh:107

Definition at line 72 of file pre-calibration_D0ARCA028.sh.

FIXED_STRINGS
Initial value:
=($STRINGS[*])
JEditDetector
-a $DETECTOR_INITIAL
-s "-1 mul $MUL"
-o detector.datx --!
eval `JPrintDetector -a detector.datx -O SUMMARY`
for STRING in ${STRINGS[*]}
*fatal Wrong number of arguments esac source JAcousticsToolkit sh mkdir p $WORKDIR post calibration pushd $WORKDIR post calibration post calibration_D0ARCA021 sh $DIR popd set_variable DETECTOR $WORKDIR post calibration detector datx set_variable TRIPOD $WORKDIR post calibration tripod txt set_variable DETECTOR_INITIAL detector_initial datx expand_array RUNS mkdir p $HOMEDIR cd $HOMEDIR JDetectorDB D $DETECTOR_ID r $RUNS[1] V WW o $DETECTOR_INITIAL JEditDetector a $DETECTOR r o detector_tmp datx!eval JPrintDetector a $DETECTOR_INITIAL O SUMMARY
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
then usage eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID JCanberra sh $DETECTOR $INPUT_FILES[*] $WORKDIR canberra[%\] root source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS kill_child_processes_at_exit attach getModule a $DETECTOR typeset Z STRING typeset Z FLOOR for STRING in $STRINGS[*]
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
then JCalibrateToT a
Definition: JTuneHV.sh:107
set_array INPUT_FILES argv[2,$((START_INDEX_STRING-1))] set_array STRINGS
then fatal The output file must have the wildcard in the e g root fi 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:48
do set_variable DETECTOR_TXT $WORKDIR detector

Definition at line 73 of file pre-calibration_D0ARCA028.sh.

TMax_s = 0.020

Definition at line 109 of file pre-calibration_D0ARCA028.sh.

numberOfHits = 400

Definition at line 110 of file pre-calibration_D0ARCA028.sh.