9 if [ -z $JPP_DIR ];
then
10 echo "Variable JPP_DIR undefined."
14 source $JPP_DIR/setenv.sh $JPP_DIR
23 usage "$script <input file> [option]"
29 *) fatal
"Wrong number of arguments.";;
48 if [[ ! -
f $PMT_FILE ]];
then
126 if ( ! reuse_file $OUTPUT_FILE );
then
128 $JPP_DIR/examples/JCalibrate/JEqualizer \
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison fi case set_variable RANGE $argv[3]
&set_variable DAQ_TIMESLICE
then usage $script< detector >< run >< outputfile > fi case set_variable OPTION
std::istream & read(std::istream &in, JTestSummary &summary, const char delimiter= ' ')
Read test summary.
JFitK40_t< TF2 > JFitK40
Type definition for backward compatibility.
static const JPBS_t PMT(3, 4, 2, 3)
PBS of photo-multiplier tube (PMT)
then usage $script< detector file >< inputfile > nUtility script to create PDF and CDF of transition time distribution fi case set_variable WORKDIR
do echo Generating $dir eval DIR
then set_variable MONITOR_FILE $DIR monitor_tot root set_variable MERGE_FILE $DIR merge_tot root set_variable FIT_FILE $DIR fit_tot root set_variable LOG_FILE $DIR fit_tot log JCalibrateToT a $DETECTOR f $INPUT_FILE C $DAQ_TIMESLICE o $MONITOR_FILE d $DEBUG!JMergeCalibrateToT f $MONITOR_FILE o $MERGE_FILE d $DEBUG!JFitToT a $DETECTOR f $MERGE_FILE o $FIT_FILE w P $PMT_FILE d $DEBUG!set_variable MONITOR_FILE $DIR monitor_k40 root set_variable MERGE_FILE $DIR merge_k40 root set_variable FIT_FILE $DIR fit_k40 root set_variable LOG_FILE $DIR fit_k40 log set_variable DETX_FILE $DIR fit_k40 detx JCalibrateK40 a $DETECTOR f $INPUT_FILE C $DAQ_TIMESLICE o $MONITOR_FILE d $DEBUG!JMergeCalibrateK40 f $MONITOR_FILE o $MERGE_FILE d $DEBUG!cp $DETECTOR $DETX_FILE JFitK40 a $DETX_FILE f $MERGE_FILE o $FIT_FILE wA P $PMT_FILE d $DEBUG!set_variable MU set_variable TOT_NS JEditPMTParameters P $PMT_FILE o $PMT_FILE T $TOT_NS E $MU exit fi set_variable OUTPUT_FILE $DIR equalizer
static const double C
Physics constants.
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null if do_usage *then usage $script< detector identifier > fi case set_variable DETECTOR_ID
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
do set_variable OUTPUT_DIRECTORY $WORKDIR T
then rm i $OUTPUT_FILE fi let RUN
then JFileTuna f $INPUT_FILE
&set_variable OUTPUT_FILE
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
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
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
do set_variable DETECTOR_TXT $WORKDIR detector
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 CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
do echo Generating $dir eval D
*fatal Wrong option $OPTION