Jpp  17.3.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
JTimesliceReprocessor.sh File Reference

Go to the source code of this file.

Functions

then timer_start (JRandomTimesliceWriter-a ${DETECTOR}-o ${PIPE}-n ${NUMBER_OF_SLICES}-P ${PMT_FILE}-d ${DEBUG}-S ${SEED}-B"$BACKGROUND_HZ"-N"$RECYCLING"--!&&for((i=0;$i!=10;++i));do;echo 'EOF' > $PIPE;usleep 100000;done &&rm-f $PIPE)&JTimesliceReprocessor-a $
 

Variables

 version
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
set_variable DEBUG
set_variable WORKDIR
set_variable PIPE $WORKDIR
pipe dat set_variable
OUTPUT_FILE $WORKDIR timeslice
root set_variable DETECTOR
$JPP_DATA km3net_reference
detx set_variable TRIGGER
$JPP_DATA
trigger_parameters_arca txt
set_variable PMT_FILE
$JPP_DATA PMT_parameters txt 
set_variable
 
then usage $script[detector
file[pipe[output file[trigger
file[PMT parameters file]]]]]
fi case set_variable 
PMT_FILE
 
&set_variable TRIGGER
 
&set_variable OUTPUT_FILE
 
&set_variable PIPE
 
&set_variable DETECTOR
 
esac print_variable DETECTOR
TRIGGER OUTPUT_FILE
BACKGROUND_HZ PMT_FILE
check_input_file $DETECTOR
$TRIGGER $PMT_FILE
check_output_file $OUTPUT_FILE
rm f $PIPE mkfifo $PIPE 
if [[-p $PIPE]]
 

Function Documentation

then timer_start ( JRandomTimesliceWriter-a ${DETECTOR}-o ${PIPE}-n ${NUMBER_OF_SLICES}-P ${PMT_FILE}-d ${DEBUG}-S ${SEED}-B"$BACKGROUND_HZ"-N"$RECYCLING"--!&&for((i=0;$i!=10;++i));do;echo 'EOF'  ,
  $PIPE;usleep 100000;done &&rm-f 
)

Definition at line 57 of file JTimesliceReprocessor.sh.

58  {DETECTOR} \
59  -o ${PIPE} \
60  -n ${NUMBER_OF_SLICES} \
61  -P ${PMT_FILE} \
62  -d ${DEBUG} \
63  -S ${SEED} \
64  -B "$BACKGROUND_HZ" \
65  -N "$RECYCLING" \
66  --! && for (( i = 0; $i != 10; ++i )); do; echo 'EOF' > $PIPE; usleep 100000; done && rm -f $PIPE ) &
67 
68  JTimesliceReprocessor \
69  -a ${DETECTOR} \
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
Definition: JDataQuality.sh:76
then JShowerPostfit f $INPUT_FILE o $OUTPUT_FILE N
then fatal Wrong number of arguments fi JConvertDetectorFormat a o
then echo
const int n
Definition: JPolint.hh:697
&set_variable PIPE
then JCalibrateToT a
Definition: JTuneHV.sh:116
then usage $script[detector file[output file[PMT parameters file[number of slices]]]] nAuxiliary script to produce random time slice data fi case set_variable NUMBER_OF_SLICES
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
set_variable DETECTOR
then $DIR JPlotNPE PDG P
Definition: JPlotNPE-PDG.sh:62
esac done
Definition: JAddHDE.sh:21
#define DEBUG(A)
Message macros.
Definition: JMessage.hh:62
do alias $i

Variable Documentation

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

Definition at line 5 of file JTimesliceReprocessor.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable WORKDIR set_variable PIPE $WORKDIR pipe dat set_variable OUTPUT_FILE $WORKDIR timeslice root set_variable DETECTOR $JPP_DATA km3net_reference detx set_variable TRIGGER $JPP_DATA trigger_parameters_arca txt set_variable PMT_FILE $JPP_DATA PMT_parameters txt set_variable

Definition at line 34 of file JTimesliceReprocessor.sh.

then usage $script [detector file [pipe [output file [trigger file [PMT parameters file]]]]] fi case set_variable PMT_FILE

Definition at line 39 of file JTimesliceReprocessor.sh.

& set_variable TRIGGER

Definition at line 40 of file JTimesliceReprocessor.sh.

& set_variable OUTPUT_FILE

Definition at line 41 of file JTimesliceReprocessor.sh.

& set_variable PIPE

Definition at line 42 of file JTimesliceReprocessor.sh.

& set_variable DETECTOR

Definition at line 43 of file JTimesliceReprocessor.sh.

esac print_variable DETECTOR TRIGGER OUTPUT_FILE BACKGROUND_HZ PMT_FILE check_input_file $DETECTOR $TRIGGER $PMT_FILE check_output_file $OUTPUT_FILE rm f $PIPE mkfifo $PIPE if[[-p $PIPE]]

Definition at line 43 of file JTimesliceReprocessor.sh.