Jpp
 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 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 NUMBER_OF_PMTS 
if (do_usage $*)
 
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 usage $DIR
JPlotPMTParameters2D a
$DETECTOR P $INPUT_FILES o
$OUTPUT_FILE d $DEBUG!typeset
A Y_RANGE 
Y_RANGE
 
do for KEY in {(k)Y_RANGE}
 

Function Documentation

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 NUMBER_OF_PMTS if ( do_usage $*  )
then usage $script< detector file > ( PMT parameters  file)
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 usage $DIR JPlotPMTParameters2D a $DETECTOR P $INPUT_FILES o $OUTPUT_FILE d $DEBUG ! 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`
attach getModule -a $DETECTOR
typeset -Z 4 STRING
typeset -Z 2 FLOOR
let XMIN=-0.5
let XMAX=${NUMBER_OF_PMTS}-0.5
clean eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY set_variable STRING
then $JPP_DIR examples JDetector JSlewing P slewing
Definition: JSlewing.sh:41
then fatal Wrong number of arguments fi set_variable STRING $argv[1] set_variable DETECTOR_TXT $WORKDIR $DETECTOR_TXT tail read X Y Z RMS let XMIN
then $JPP_DIR examples JDetector JToT o $OUTPUT_FILE n N $NPE P gain
Definition: JToT.sh:45
then JCalibrateToT a
Definition: JTuneHV.sh:103
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Definition: JDAQ.hh:26
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 source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
Definition: JCanberra.sh:36
const JModule & getModule(const JDetector &detector, const JModuleLocation &location)
find module with a given string and floor number
do eval JCanberra a $DETECTOR f $INPUT_FILE o $WORKDIR canberra[${EMITTER}\] root T print_tripods V print_velocity E $EMITTER d $DEBUG!done attach getModule a $DETECTOR typeset Z STRING typeset Z FLOOR set_variable FIRST_FLOOR for STRING in $STRINGS[*]
Definition: JCanberra.sh:55
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

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

do for KEY in {(k)Y_RANGE}

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