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

Go to the source code of this file.

Functions

esac if ((1))
 

Variables

 version
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
set_variable DEBUG
set_variable WORKDIR $JPP_DATA
set_variable INPUT_FILE
$WORKDIR trigger_efficiency
background root set_variable
DETECTOR $WORKDIR
km3net_reference detx
set_variable JPP $JPP_DIR
examples JFit 
set_variable
 
then usage $script[detector
file[input file]] fi case
set_variable 
INPUT_FILE
 
&set_variable DETECTOR
 
then print_variable DETECTOR
INPUT_FILE check_input_file
$DETECTOR $INPUT_FILE for
ALPHA_DEG 
in
 
do set_variable SIGMA_NS
set_variable OUTLIERS
set_variable OUTPUT_FILE
matrix[${ALPHA_DEG}\deg\] root
$JPP JMatrixNZ a $DETECTOR f
$INPUT_FILE o $OUTPUT_FILE 
S
 
then for HISTOGRAM in h0 h1
 
do JPlot1D f matrix[0\deg\] root
 
then for HISTOGRAM in p0 p1
 

Function Documentation

esac if ( (1)  )

Variable Documentation

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

Definition at line 5 of file JMatrixNZ.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable WORKDIR $JPP_DATA set_variable INPUT_FILE $WORKDIR trigger_efficiency background root set_variable DETECTOR $WORKDIR km3net_reference detx set_variable JPP $JPP_DIR examples JFit set_variable

Definition at line 32 of file JMatrixNZ.sh.

then usage $script [detector file [input file]] fi case set_variable INPUT_FILE

Definition at line 37 of file JMatrixNZ.sh.

& set_variable DETECTOR

Definition at line 38 of file JMatrixNZ.sh.

then print_variable DETECTOR INPUT_FILE check_input_file $DETECTOR $INPUT_FILE for ALPHA_DEG in

Definition at line 47 of file JMatrixNZ.sh.

do set_variable SIGMA_NS set_variable OUTLIERS set_variable OUTPUT_FILE matrix [${ALPHA_DEG}\ deg\] root $JPP JMatrixNZ a $DETECTOR f $INPUT_FILE o $OUTPUT_FILE S
Initial value:
{SIGMA_NS}
-A ${ALPHA_DEG}
-O ${OUTLIERS}
-d ${DEBUG} --!
fi
if (( 0 ))
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 ${TMPDIR:-/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
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A

Definition at line 58 of file JMatrixNZ.sh.

then for HISTOGRAM in h0 h1

Definition at line 71 of file JMatrixNZ.sh.

do JPlot1D f matrix [0\ deg\] root

Definition at line 91 of file JMatrixNZ.sh.

then for HISTOGRAM in p0 p1

Definition at line 93 of file JMatrixNZ.sh.