Skip to content

Commit ad7f0c6

Browse files
committed
Add IS_SIMULATED_DATA variable, and correct treatment in EMCAL raw 2 cell decoder
1 parent 5af778c commit ad7f0c6

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

prodtests/full-system-test/dpl-workflow.sh

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ source $MYDIR/setenv.sh
88

99
# ---------------------------------------------------------------------------------------------------------------------
1010
#Some additional settings used in this workflow
11-
if [ -z $OPTIMIZED_PARALLEL_ASYNC ]; then OPTIMIZED_PARALLEL_ASYNC=0; fi # Enable tuned process multiplicities for async processing on the EPN
12-
if [ -z $CTF_DIR ]; then CTF_DIR=$FILEWORKDIR; fi # Directory where to store CTFs
13-
if [ -z $CTF_DICT_DIR ]; then CTF_DICT_DIR=$FILEWORKDIR; fi # Directory of CTF dictionaries
11+
if [ -z $OPTIMIZED_PARALLEL_ASYNC ]; then OPTIMIZED_PARALLEL_ASYNC=0; fi # Enable tuned process multiplicities for async processing on the EPN
12+
if [ -z $CTF_DIR ]; then CTF_DIR=$FILEWORKDIR; fi # Directory where to store CTFs
13+
if [ -z $CTF_DICT_DIR ]; then CTF_DICT_DIR=$FILEWORKDIR; fi # Directory of CTF dictionaries
1414
if [ -z $CTF_METAFILES_DIR ]; then CTF_METAFILES_DIR="/dev/null"; fi # Directory where to store CTF files metada, /dev/null : skip their writing
15-
if [ -z $RECO_NUM_NODES_WORKFLOW ]; then RECO_NUM_NODES_WORKFLOW=250; fi # Number of EPNs running this workflow in parallel, to increase multiplicities if necessary, by default assume we are 1 out of 250 servers
16-
if [ -z $CTF_MINSIZE ]; then CTF_MINSIZE="500000000"; fi # accumulate CTFs until file size reached
17-
if [ -z $CTF_MAX_PER_FILE ]; then CTF_MAX_PER_FILE="200"; fi # but no more than given number of CTFs per file
15+
if [ -z $RECO_NUM_NODES_WORKFLOW ]; then RECO_NUM_NODES_WORKFLOW=250; fi # Number of EPNs running this workflow in parallel, to increase multiplicities if necessary, by default assume we are 1 out of 250 servers
16+
if [ -z $CTF_MINSIZE ]; then CTF_MINSIZE="500000000"; fi # accumulate CTFs until file size reached
17+
if [ -z $CTF_MAX_PER_FILE ]; then CTF_MAX_PER_FILE="200"; fi # but no more than given number of CTFs per file
18+
if [ -z $IS_SIMULATED_DATA ]; then IS_SIMULATED_DATA=1; fi # processing simulated data
1819

1920
if [ $SYNCMODE == 1 ]; then
2021
if [ -z "${WORKFLOW_DETECTORS_MATCHING+x}" ]; then export WORKFLOW_DETECTORS_MATCHING="ITSTPC,ITSTPCTRD,ITSTPCTOF"; fi # Select matchings that are enabled in sync mode
@@ -98,6 +99,7 @@ TRD_TRANSFORMER_CONFIG=
9899
CPV_INPUT=raw
99100
EVE_CONFIG=" --jsons-folder $EDJSONS_DIR"
100101
MIDDEC_CONFIG=
102+
EMCRAW2C_CONFIG=
101103

102104
if [ $SYNCMODE == 1 ]; then
103105
if [ $BEAMTYPE == "PbPb" ]; then
@@ -165,6 +167,8 @@ if ! has_detector_reco TOF; then
165167
TOF_OUTPUT=digits
166168
fi
167169

170+
[ $IS_SIMULATED_DATA == "1" ] && EMCRAW2C_CONFIG+=" --no-mergeHGLG"
171+
168172
# ---------------------------------------------------------------------------------------------------------------------
169173
# Assemble matching sources
170174
TRD_SOURCES=
@@ -316,7 +320,7 @@ if [ $CTFINPUT == 0 ]; then
316320
has_detector CTP && WORKFLOW+="o2-ctp-reco-workflow $ARGS_ALL --configKeyValues \"$ARGS_ALL_CONFIG\" $DISABLE_ROOT_OUTPUT --pipeline $(get_N CTP-RawStreamDecoder CTP RAW) | "
317321
has_detector PHS && ! has_detector_flp_processing PHS && WORKFLOW+="o2-phos-reco-workflow $ARGS_ALL --configKeyValues \"$ARGS_ALL_CONFIG\" --input-type raw --output-type cells --disable-root-input $DISABLE_ROOT_OUTPUT --pipeline $(get_N PHOSRawToCellConverterSpec PHS REST) $DISABLE_MC | "
318322
has_detector CPV && WORKFLOW+="o2-cpv-reco-workflow $ARGS_ALL --configKeyValues \"$ARGS_ALL_CONFIG\" --input-type $CPV_INPUT --output-type clusters --disable-root-input $DISABLE_ROOT_OUTPUT --pipeline $(get_N CPVRawToDigitConverterSpec CPV REST),$(get_N CPVClusterizerSpec CPV REST) $DISABLE_MC | "
319-
has_detector EMC && ! has_detector_flp_processing EMC && WORKFLOW+="o2-emcal-reco-workflow $ARGS_ALL --configKeyValues \"$ARGS_ALL_CONFIG\" --input-type raw --output-type cells $DISABLE_ROOT_OUTPUT $DISABLE_MC --pipeline $(get_N EMCALRawToCellConverterSpec EMC REST EMCREC) | "
323+
has_detector EMC && ! has_detector_flp_processing EMC && WORKFLOW+="o2-emcal-reco-workflow $ARGS_ALL --configKeyValues \"$ARGS_ALL_CONFIG\" --input-type raw --output-type cells $EMCRAW2C_CONFIG $DISABLE_ROOT_OUTPUT $DISABLE_MC --pipeline $(get_N EMCALRawToCellConverterSpec EMC REST EMCREC) | "
320324
fi
321325

322326
# ---------------------------------------------------------------------------------------------------------------------

prodtests/full-system-test/start_tmux.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export EPNPIPELINES=1
2020
export SYNCMODE=1
2121
export SHMTHROW=0
2222
export SEVERITY=error
23+
export IS_SIMULATED_DATA=1
2324

2425
if [ $1 == "dd" ]; then
2526
export CMD=datadistribution.sh

0 commit comments

Comments
 (0)