Jpp  15.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
JEditTuneHV.sh File Reference

Go to the source code of this file.

Functions

esac timer_start JCookie sh
set_variable 
COOKIE (cat~/.km3netdb_cookie) set_variable LOGIN $
 
set_variable LOCATIONID (getLocationID-L ${LOGIN}) if(($
 
then if ((${RUNID} > 0))
 

Variables

 version
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR 
set_variable
 
then usage $script< input file >
< outputfiles > n n 
Note
 
then usage $script< input file >
< outputfiles > n n but the
run number is left unspecified
n manually specifiable values
n if both detector ID and run
number are left unspecified n
n A set of PMTs on which the
operation should be performed
can be optionally n specified
via the command line fi case
set_variable 
OUTPUT_FILE
 
set_variable INPUT_FILE
 
*set_variable INPUT_FILE
set_variable OUTPUT_FILE
set_array IDENTIFIERS
set_array PMTSET for ARGUMENT 
in {argv[3,-1]}
 
do if [[${ARGUMENT}=~^-?[0-9]+$]]
 
then set_array IDENTIFIERS
 
then set_variable DETID
 
then set_variable RUNID
 

Function Documentation

esac timer_start JCookie sh set_variable COOKIE ( cat~/.  km3netdb_cookie)

Definition at line 78 of file JEditTuneHV.sh.

79  {${COOKIE#*_}%%_*}
esac timer_start JCookie sh set_variable COOKIE(cat~/.km3netdb_cookie) set_variable LOGIN $
Definition: JEditTuneHV.sh:78
set_variable LOCATIONID ( getLocationID-L ${LOGIN}  )

Definition at line 80 of file JEditTuneHV.sh.

80  {LOGIN})
81 
82 
83 if (( ${DETID} > 0 )); then
then set_variable DETID
Definition: JEditTuneHV.sh:63
then if ( (${RUNID} > 0)  )

Variable Documentation

version
Initial value:
=1.0
script=${0##*/}
if [ -z $JPP_DIR ]

Definition at line 5 of file JEditTuneHV.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable

Definition at line 31 of file JEditTuneHV.sh.

then usage $script<input file><outputfiles> n n Note

Definition at line 38 of file JEditTuneHV.sh.

then usage $script<input file><outputfiles> n n but the run number is left unspecified n manually specifiable values n if both detector ID and run number are left unspecified n n A set of PMTs on which the operation should be performed can be optionally n specified via the command line fi case set_variable OUTPUT_FILE

Definition at line 38 of file JEditTuneHV.sh.

set_variable INPUT_FILE

Definition at line 47 of file JEditTuneHV.sh.

* set_variable INPUT_FILE set_variable OUTPUT_FILE set_array IDENTIFIERS set_array PMTSET for ARGUMENT in {argv[3,-1]}

Definition at line 54 of file JEditTuneHV.sh.

then if[[${DETID}=~^-?[0-9]+$]]

Definition at line 55 of file JEditTuneHV.sh.

then set_array IDENTIFIERS
Initial value:
{IDENTIFIERS[@]} ${ARGUMENT}
else
set_array PMTSET ${PMTSET[@]} ${ARGUMENT}
fi
if (( ${#IDENTIFIERS} > 0 ))
then set_array IDENTIFIERS
Definition: JEditTuneHV.sh:56
set_variable NUMBER_OF_ITERATIONS set_variable EPSILON cat acoustics_fit_parameters txt<< EOF $CONFIGURATION[*]Nmin=3;sigma_s=100.0e-6;stdev=10.0;mestimator=0;fixStrings=0;EOF for STRING in $STRINGS[*];do#fit stretching and(z) position of given string set_variable DETECTOR_TMP/tmp/detector_A.datx JEditDetector-a $DETECTOR-o $DETECTOR_TMP-r $STRING JEditDetector-a $DETECTOR-o $DETECTOR-k $STRING for MUL in 0.005 0.001;do DX_M=0.2 for((N=0;$N< $NUMBER_OF_ITERATIONS;++N));do CHI2[3]=$CHI2[1] fitPositionOfString $STRING Z $DX_M fitStretchingOfString $STRING $MUL if(($CHI2[3]-$CHI2[1]< $EPSILON));then break fi done if(($N >=$NUMBER_OF_ITERATIONS));then printf"warning: reached maximum number of iterations %d - converenge %7.3f\n"$N $(($CHI2[3]-$CHI2[1])) fi done JMergeDetector-a $DETECTOR-a $DETECTOR_TMP-o $DETECTOR rm-f $DETECTOR_TMP JConvertDetectorFormat-a $DETECTOR-o $DETECTOR-r-d 0 > &dev null done

Definition at line 56 of file JEditTuneHV.sh.

Initial value:
fi
if (( ${#IDENTIFIERS} > 1 ))
then set_array IDENTIFIERS
Definition: JEditTuneHV.sh:56

Definition at line 63 of file JEditTuneHV.sh.

Initial value:
fi
then set_array IDENTIFIERS
Definition: JEditTuneHV.sh:56

Definition at line 67 of file JEditTuneHV.sh.