Jpp - the software that should make you happy
|
Go to the source code of this file.
Functions | |
then cp $PMT_PARAMETER_FILE $OUTPUT_PMT else echo $PMT_PARAMETER_FILE $OUTPUT_PMT fi fi | if ((1)) |
Variables | |
version | |
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable | DEBUG |
then usage $script< detector file >< inputfiles > n Note that if more than one input file is | specified |
then usage $script< detector file >< inputfiles > n Note that if more than one input file is all other arguments must be provided fi case set_variable | PMT_PARAMETER_FILE |
&set_variable | WORKDIR |
&set_array | INPUT_FILES |
set_variable | DETECTOR_FILE ="$OPTARG" |
*set_variable DETECTOR_FILE set_array INPUT_FILES $argv[2,-3] set_variable WORKDIR $argv[-2] set_variable PMT_PARAMETER_FILE $argv[-1] esac timer_start set_variable PMT_DIR $WORKDIR PMTfiles set_variable CAL_DIR $WORKDIR caldata set_variable TOT_DIR $WORKDIR fitdata for DIR in $PMT_DIR $CAL_DIR | $TOT_DIR |
do | if [[!-d ${DIR}]] |
then echo Creating output | directory |
do set_array DAQHEADER JPrintDAQHeader | f |
then echo | WARNING |
skip | continue |
fi set_variable | FILENAME |
then JCalibrateToT | a |
then JAsciiDB q upi | pbs |
then cp $PMT_PARAMETER_FILE $OUTPUT_PMT else echo $PMT_PARAMETER_FILE $OUTPUT_PMT fi fi if | ( | (1) | ) |
version |
Definition at line 5 of file JTuneHV.sh.
Definition at line 23 of file JTuneHV.sh.
Definition at line 35 of file JTuneHV.sh.
then usage $script<detector file><inputfiles> n Note that if more than one input file is all other arguments must be provided fi case set_variable PMT_PARAMETER_FILE |
Definition at line 35 of file JTuneHV.sh.
& set_variable WORKDIR |
Definition at line 40 of file JTuneHV.sh.
& set_array INPUT_FILES |
Definition at line 41 of file JTuneHV.sh.
a DETECTOR_FILE ="$OPTARG" |
Definition at line 42 of file JTuneHV.sh.
* set_variable DETECTOR_FILE set_array INPUT_FILES $argv [2,-3] set_variable WORKDIR $argv [-2] set_variable PMT_PARAMETER_FILE $argv [-1] esac timer_start set_variable PMT_DIR $WORKDIR PMTfiles set_variable CAL_DIR $WORKDIR caldata set_variable TOT_DIR $WORKDIR fitdata for DIR in $PMT_DIR $CAL_DIR $TOT_DIR |
Definition at line 42 of file JTuneHV.sh.
then if[-f $PMT_PARAMETER_FILE] |
Definition at line 60 of file JTuneHV.sh.
Definition at line 77 of file JTuneHV.sh.
then JPlot1D f |
Definition at line 79 of file JTuneHV.sh.
Definition at line 85 of file JTuneHV.sh.
skip continue |
Definition at line 86 of file JTuneHV.sh.
fi set_variable FILENAME |
Definition at line 89 of file JTuneHV.sh.
Definition at line 108 of file JTuneHV.sh.
then JAsciiDB q upi pbs |
Definition at line 149 of file JTuneHV.sh.