Jpp
18.5.0
the software that should make you happy
|
Go to the source code of this file.
Functions | |
then JDetector sh $DETECTOR fi | if (!reuse_file $INPUT_FILE) |
EOF cat $WORKDIR ev_configure_dqsimulator txt << EOFnumberOfFrames=${NUMBER_OF_FRAMES};numberOfEvents=1;inputFile=${INPUT_FILE};target=0 ${FILTER_HOST}:${PORT};EOFrm-f $WORKDIR/driver.txtfor((i=1;$i <=$NUMBER_OF_DQ_SIMULATORS;++i));do let"index = ${#SOURCE_HOST} - $i % ${#SOURCE_HOST}"echo"source = 0 $DQ_SIMULATOR/$i;" > $WORKDIR ev_configure_dqsimulator txt echo process $DQ_SIMULATOR $i | $SOURCE_HOST (setenv ROOTSYS $ROOTSYS &&source $JPP_DIR/setenv.csh $JPP_DIR &&($DQ_SIMULATOR\-u\$NAME\$\-H\$SERVER\$\-M\$LOGGER\$\-d $DEBUG\</dev/null > &/dev/null &)) |
Variables | |
script | |
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable | WORKDIR |
&set_variable | LOGGER_OUTPUT |
&set_variable | DETECTOR |
*fatal Wrong number of arguments esac set_variable ID JPrintDetector a $JPP_DATA km3net_reference detx O identifier sed s Detector set_variable RUN typeset Z ID typeset Z RUN set_variable INPUT_FILE $WORKDIR timeslice root set_variable OUTPUT_FILE $WORKDIR | KM3NeT_ |
then JRandomTimesliceWriter a $DETECTOR o $INPUT_FILE B $SINGLESRATE_HZ $DOUBLESRATE_HZ n $NUMBER_OF_SLICES d1!fi | if [[-f $OUTPUT_FILE]] |
then | |
rm i $OUTPUT_FILE fi set_variable DQ_SIMULATOR JDQSimulator set_variable | NUMBER_OF_DQ_SIMULATORS |
update_s = 10 | |
dataWriter = ${WRITER_HOST} | |
numberOfFramesPerSlice = ${NUMBER_OF_FRAMES} | |
detector = %<${DETECTOR}>% | |
triggerParameters = trigger3DMuon.enabled = 1 | |
SN | TMaxLocal_ns = 10.0 |
SN | ctMin = 0.0 |
c_sizeL1 = 10 | |
queueSize = 100000000 | |
path = $WORKDIR | |
JDataFilter = ${DATAFILTER} ${FILTER_HOST}:${PORT} | |
JDataWriter = ${DATAWRITER} ${WRITER_HOST} | |
EOF cat $WORKDIR ev_configure_dqsimulator txt<<EOFnumberOfFrames = ${NUMBER_OF_FRAMES};numberOfEvents = 1;inputFile = ${INPUT_FILE};target = 0 ${FILTER_HOST}:${PORT};EOFrm -f $WORKDIR/driver.txtfor (( i = 1; $i <= $NUMBER_OF_DQ_SIMULATORS ; ++i )); do let "index = ${#SOURCE_HOST} - $i % ${#SOURCE_HOST}" echo "source = 0 $DQ_SIMULATOR/$i;" > $WORKDIR ev_configure_dqsimulator txt echo process $DQ_SIMULATOR $i $SOURCE_HOST | ( | setenv ROOTSYS $ROOTSYS &&source $JPP_DIR/setenv.csh $JPP_DIR && | $DQ_SIMULATOR\-u\$NAME\$\-H\$SERVER\$\-M\$LOGGER\$\-d $DEBUG</dev/null > &/dev/null & | ) |
script |
Definition at line 5 of file examples/JDataFilter/JDataFilter.sh.
Definition at line 22 of file examples/JDataFilter/JDataFilter.sh.
& set_variable LOGGER_OUTPUT |
Definition at line 49 of file examples/JDataFilter/JDataFilter.sh.
& set_variable DETECTOR |
Definition at line 50 of file examples/JDataFilter/JDataFilter.sh.
* fatal Wrong number of arguments esac set_variable ID JPrintDetector a $JPP_DATA km3net_reference detx O identifier sed s Detector set_variable RUN typeset Z ID typeset Z RUN set_variable INPUT_FILE $WORKDIR timeslice root set_variable OUTPUT_FILE $WORKDIR KM3NeT_ |
Definition at line 62 of file examples/JDataFilter/JDataFilter.sh.
then JRandomTimesliceWriter a $DETECTOR o $INPUT_FILE B $SINGLESRATE_HZ $DOUBLESRATE_HZ n $NUMBER_OF_SLICES d1 ! fi if[[-f $OUTPUT_FILE]] |
Definition at line 87 of file examples/JDataFilter/JDataFilter.sh.
then |
Definition at line 87 of file examples/JDataFilter/JDataFilter.sh.
rm i $OUTPUT_FILE fi set_variable DQ_SIMULATOR JDQSimulator set_variable NUMBER_OF_DQ_SIMULATORS |
Definition at line 93 of file examples/JDataFilter/JDataFilter.sh.
update_s = 10 |
Definition at line 101 of file examples/JDataFilter/JDataFilter.sh.
dataWriter = ${WRITER_HOST} |
Definition at line 102 of file examples/JDataFilter/JDataFilter.sh.
numberOfFramesPerSlice = ${NUMBER_OF_FRAMES} |
Definition at line 103 of file examples/JDataFilter/JDataFilter.sh.
detector = %<${DETECTOR}>% |
Definition at line 104 of file examples/JDataFilter/JDataFilter.sh.
triggerParameters = trigger3DMuon.enabled = 1 |
Definition at line 105 of file examples/JDataFilter/JDataFilter.sh.
SN TMaxLocal_ns = 10.0 |
Definition at line 109 of file examples/JDataFilter/JDataFilter.sh.
SN ctMin = 0.0 |
Definition at line 109 of file examples/JDataFilter/JDataFilter.sh.
c_sizeL1 = 10 |
Definition at line 110 of file examples/JDataFilter/JDataFilter.sh.
queueSize = 100000000 |
Definition at line 111 of file examples/JDataFilter/JDataFilter.sh.
path = $WORKDIR |
Definition at line 112 of file examples/JDataFilter/JDataFilter.sh.
JDataFilter = ${DATAFILTER} ${FILTER_HOST}:${PORT} |
Definition at line 113 of file examples/JDataFilter/JDataFilter.sh.
JDataWriter = ${DATAWRITER} ${WRITER_HOST} |
Definition at line 114 of file examples/JDataFilter/JDataFilter.sh.