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
JFilter.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
OUTPUT_FILE $WORKDIR filter
root set_variable DETECTOR
$WORKDIR km3net_reference detx
set_variable HISTOGRAM if
do_usage *then usage $script[detector
file[input file[output file]]]
fi case set_variable 
OUTPUT_FILE
 
&set_variable INPUT_FILE
 
&set_variable DETECTOR
 
then check_input_file
$DETECTOR $INPUT_FILE for
OPTION in A B C D E 
F
 
do FILE
 
then X_LABEL [1]
 

Function Documentation

esac if ( (1)  )

Variable Documentation

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

Definition at line 5 of file JFilter.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 OUTPUT_FILE $WORKDIR filter root set_variable DETECTOR $WORKDIR km3net_reference detx set_variable HISTOGRAM if do_usage* then usage $script [detector file [input file [output file]]] fi case set_variable OUTPUT_FILE

Definition at line 32 of file JFilter.sh.

& set_variable INPUT_FILE

Definition at line 38 of file JFilter.sh.

& set_variable DETECTOR

Definition at line 39 of file JFilter.sh.

then check_input_file $DETECTOR $INPUT_FILE for OPTION in A B C D E F

Definition at line 47 of file JFilter.sh.

do FILE
Initial value:
="${OUTPUT_FILE/\%/[${OPTION}]}"
print_variable DETECTOR INPUT_FILE FILE
$JPP_DIR/examples/JTrigger/JFilter
-o $FILE
-c $OPTION
-T 20
-R 200
-H $HISTOGRAM
-d $DEBUG
fi
if (( 1 ))
then JMuonPostfit f
set_variable INPUT_FILE
static const double H
Planck constant [eV s].
do FILE
Definition: JFilter.sh:49
do set_variable OUTPUT_DIRECTORY $WORKDIR T
do $DIR JTransitTime o
Definition: JTransitTime.sh:44
then JFileTuna f $INPUT_FILE
Definition: file-Tuna.sh:66
then usage $script[distance] fi case set_variable R
Definition: JDrawLED.sh:43
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
then JCalibrateToT a
Definition: JTuneHV.sh:116
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
set_variable DETECTOR
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
*fatal Wrong option $OPTION

Definition at line 49 of file JFilter.sh.

then X_LABEL[1]
Initial value:
="Number of hits"
X_LABEL[2]="E_{#nu} [GeV]"
X_OPTION[1]=""
X_OPTION[2]="-XX"
X_RANGE[1]="-x 1 50"
X_RANGE[2]="-x 2 7"
FILE_E=""
FILE_P=""
for OPTION in A B C D E F
then usage $script< detector >< run >< outputfile > fi case set_variable OPTION
Definition: JTuna.sh:26
then usage E
Definition: JMuonPostfit.sh:35
static const double C
Physics constants.
then awk F
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
Definition: JCanberra.sh:41
do echo Generating $dir eval D
Definition: JDrawLED.sh:53
then usage eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY kill_child_processes_at_exit attach getModule a $DETECTOR typeset Z STRING typeset Z FLOOR typeset A X_LABEL typeset A YMAX X_LABEL[twist]
Definition: plot-compass.sh:45
source $JPP_DIR setenv csh $JPP_DIR eval JShellParser o a A

Definition at line 70 of file JFilter.sh.