Jpp  18.0.1-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
plot-PMTParameters1D.sh File Reference

Go to the source code of this file.

Functions

then usage $script< detector file > (PMT parameters file)+" fi if (( $ fatal "Wrong number of parameters." fi set_variable DETECTOR $argv[1] set_array INPUT_FILES $argv[2
 
do unset HISTOGRAMS typeset a
HISTOGRAMS 
for ((FLOOR=$FIRST_FLOOR;$FLOOR<=$LAST_FLOOR;FLOOR+=1))
 

Variables

 version
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
set_variable DEBUG
set_variable WORKDIR pwd
set_variable OUTPUT_FILE
$WORKDIR pmt_parameters root
set_variable DIR $JPP_DIR
examples JDetector 
set_variable
 
then usage $DIR
JPlotPMTParameters2D a
$DETECTOR P $INPUT_FILES o
$OUTPUT_FILE d $DEBUG
A!typeset A Y_RANGE 
Y_RANGE
 
do for KEY in {(k)Y_RANGE}
 

Function Documentation

do unset HISTOGRAMS typeset a HISTOGRAMS for ( (FLOOR=$FIRST_FLOOR;$FLOOR<=$LAST_FLOOR;FLOOR+=1)  )

Variable Documentation

version
Initial value:
=1.0
script=${0##*/}
if [ -z $JPP_DIR ]

Definition at line 6 of file plot-PMTParameters1D.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable WORKDIR pwd set_variable OUTPUT_FILE $WORKDIR pmt_parameters root set_variable DIR $JPP_DIR examples JDetector set_variable

Definition at line 24 of file plot-PMTParameters1D.sh.

then usage $DIR JPlotPMTParameters2D a $DETECTOR P $INPUT_FILES o $OUTPUT_FILE d $DEBUG A ! typeset A Y_RANGE Y_RANGE
Initial value:
=(EFFICIENCY " 0.0 1.5")
Y_RANGE+=(QE " 0.0 1.5")
Y_RANGE+=(gain " 0.0 1.5")
Y_RANGE+=(gainSpread " 0.0 1.0")
Y_RANGE+=(riseTime_ns " 0.0 15.0")
Y_RANGE+=(TTS_ns "-5.0 +5.0")
Y_RANGE+=(threshold " 0.0 1.0")
Y_RANGE+=(slope " 0.0 15.0")
Y_RANGE+=(saturation " 0.0 250.0")
Y_RANGE+=(slewing " 0.0 1.5")
eval `JPrintDetector -a $DETECTOR -O SUMMARY`
kill_child_processes_at_exit
typeset -Z 4 STRING
typeset -Z 2 FLOOR
PMT_RANGE="0-30"
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
do JCanberra a $DETECTOR f $INPUT_FILE o $WORKDIR canberra[${EMITTER}\] root T $WORKDIR tripod txt V $WORKDIR sound_velocity txt M $WORKDIR mechanics txt H $WORKDIR hydrophone txt E $EMITTER $DISABLE d $DEBUG!done kill_child_processes_at_exit attach getModule a $DETECTOR typeset Z STRING typeset Z FLOOR for STRING in $STRINGS[*]
Definition: JCanberra.sh:68
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:21
then JCalibrateToT a
Definition: JTuneHV.sh:116
*fatal Wrong number of arguments esac eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable FIRST_FLOOR
then $JPP_DIR examples JDetector JSlewing P slewing
Definition: JSlewing.sh:43
then fatal Wrong number of parameters fi set_variable DETECTOR $argv[1] set_array INPUT_FILE $argv[2] $DIR JPlotPMTParameters a $DETECTOR P $INPUT_FILE o $OUTPUT_FILE d $DEBUG A typeset A Y_RANGE Y_RANGE
then $JPP_DIR examples JDetector JToT o $OUTPUT_FILE n N $NPE P gain
Definition: JToT.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
do set_variable MODULE getModule a $WORKDIR detector_a datx L $STRING JEditDetector a $WORKDIR detector_a datx M $MODULE setz o $WORKDIR detector_a datx JEditDetector a $WORKDIR detector_b datx M $MODULE setz o $WORKDIR detector_b datx done echo Output stored at $WORKDIR detector_a datx and $WORKDIR tripod_a txt JDrawDetector2D a $WORKDIR detector_a datx a $WORKDIR detector_b datx L BL o detector $FORMAT $BATCH JDrawDetector2D T $WORKDIR tripod_a txt T $WORKDIR tripod_b txt L BL o tripod $FORMAT $BATCH JCompareDetector a $WORKDIR detector_a datx b $WORKDIR detector_b datx o $WORKDIR abc root &dev null for KEY in X Y Z
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
const JModule & getModule(const JDetector &detector, const JModuleLocation &location)
find module with a given string and floor number

Definition at line 45 of file plot-PMTParameters1D.sh.

do for KEY in {(k)Y_RANGE}

Definition at line 71 of file plot-PMTParameters1D.sh.