Jpp  18.6.0-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"
*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 parameters fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER set_variable DETID getDetector D $DETECTOR_ID O string $DIR JPlotPMTParameters a $DETECTOR P $INPUT_FILE o $OUTPUT_FILE d $DEBUG for KEY in TTS_ns QE gain gainSpread
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR typeset A Y_RANGE Y_RANGE
then JCalibrateToT a
Definition: JTuneHV.sh:107
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
then $JPP_DIR examples JDetector JSlewing P slewing
Definition: JSlewing.sh:43
then $JPP_DIR examples JDetector JToT o $OUTPUT_FILE n N $NPE P gain
Definition: JToT.sh:47
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
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
*fatal Wrong number of arguments esac eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable FIRST_FLOOR
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.