| 
    Jpp
    17.3.1
    
   the software that should make you happy 
   | 
 
Go to the source code of this file.
Functions | |
| do set_array | DAQHEADER (JPrintDAQHeader-f ${INPUT_FILE}) set_variable DETID $ | 
| 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 | 
| 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 | 
| set_variable | RUNID | 
| then echo | WARNING | 
| skip | continue | 
| fi set_array | RUN_NUMBERS | 
| then JCalibrateToT | a | 
| do set_array DAQHEADER | ( | JPrintDAQHeader-f ${INPUT_FILE} | ) | 
Definition at line 85 of file JTuneHV.sh.
| 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 34 of file JTuneHV.sh.
Definition at line 36 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 36 of file JTuneHV.sh.
| & set_variable WORKDIR | 
Definition at line 41 of file JTuneHV.sh.
| & set_array INPUT_FILES | 
Definition at line 42 of file JTuneHV.sh.
| a DETECTOR_FILE ="$OPTARG" | 
Definition at line 43 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 43 of file JTuneHV.sh.
| then if[-f $PMT_PARAMETER_FILE] | 
Definition at line 63 of file JTuneHV.sh.
Definition at line 83 of file JTuneHV.sh.
| set_variable RUNID | 
Definition at line 87 of file JTuneHV.sh.
Definition at line 91 of file JTuneHV.sh.
| skip continue | 
Definition at line 92 of file JTuneHV.sh.
| fi set_array RUN_NUMBERS | 
Definition at line 95 of file JTuneHV.sh.
| then JFitToT w a | 
Definition at line 116 of file JTuneHV.sh.
 1.8.5