Skip to content

Commit 69e001d

Browse files
Always append options
1 parent ab849d9 commit 69e001d

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

DATA/production/configurations/2022/LHC22f/apass1/setenv_extra.sh

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ echo "*********************** mode = ${MODE}"
2424
unset ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow
2525
if [[ $MODE == "remote" ]]; then
2626
export INPUT_FILE_COPY_CMD="\"alien_cp ?src file://?dst\""
27-
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow="--remote-regex \"^alien:///alice/data/.+\""
27+
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+="--remote-regex \"^alien:///alice/data/.+\""
2828
fi
2929

3030
# checking for remapping
@@ -50,10 +50,10 @@ echo "PERIOD = $PERIOD"
5050
export ADD_EXTRA_WORKFLOW=
5151

5252
# other ad-hoc settings for CTF reader
53-
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow="$ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow --allow-missing-detectors $REMAPPING"
53+
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+="--allow-missing-detectors $REMAPPING"
5454
echo RUN = $RUNNUMBER
5555
if [[ $RUNNUMBER -ge 521889 ]]; then
56-
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow="$ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow --its-digits --mft-digits"
56+
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+="$ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow --its-digits --mft-digits"
5757
export DISABLE_DIGIT_CLUSTER_INPUT="--digits-from-upstream"
5858
MAXBCDIFFTOMASKBIAS_ITS="ITSClustererParam.maxBCDiffToMaskBias=10"
5959
MAXBCDIFFTOMASKBIAS_MFT="MFTClustererParam.maxBCDiffToMaskBias=10"
@@ -190,7 +190,7 @@ echo "BeamType = $BEAMTYPE"
190190
if [[ $ALIEN_JDL_ENABLEMONITORING == "1" ]]; then
191191
# add the performance metrics
192192
export ENABLE_METRICS=1
193-
export ARGS_ALL_EXTRA=" --resources-monitoring 50 --resources-monitoring-dump-interval 50"
193+
export ARGS_ALL_EXTRA+=" --resources-monitoring 50 --resources-monitoring-dump-interval 50"
194194
else
195195
# remove monitoring-backend
196196
export ENABLE_METRICS=0
@@ -253,21 +253,21 @@ if [[ $BEAMTYPE == "PbPb" ]]; then
253253
elif [[ $BEAMTYPE == "pp" ]]; then
254254
EXTRA_ITSRECO_CONFIG="ITSVertexerParam.phiCut=0.5;ITSVertexerParam.clusterContributorsCut=3;ITSVertexerParam.tanLambdaCut=0.2;"
255255
fi
256-
export CONFIG_EXTRA_PROCESS_o2_its_reco_workflow="$MAXBCDIFFTOMASKBIAS_ITS;$EXTRA_ITSRECO_CONFIG;"
256+
export CONFIG_EXTRA_PROCESS_o2_its_reco_workflow+="$MAXBCDIFFTOMASKBIAS_ITS;$EXTRA_ITSRECO_CONFIG;"
257257

258258
# in the ALIGNLEVEL there was inconsistency between the internal errors of sync_misaligned and ITSEXTRAERR
259259
if [[ $ALIGNLEVEL != 0 ]]; then
260260
export CONFIG_EXTRA_PROCESS_o2_its_reco_workflow+="$ITSEXTRAERR;"
261261
fi
262262

263263
# ad-hoc options for GPU reco workflow
264-
export CONFIG_EXTRA_PROCESS_o2_gpu_reco_workflow="GPU_global.dEdxDisableResidualGainMap=1;$VDRIFTPARAMOPTION;$TRACKTUNETPCINNER;"
264+
export CONFIG_EXTRA_PROCESS_o2_gpu_reco_workflow+="GPU_global.dEdxDisableResidualGainMap=1;$VDRIFTPARAMOPTION;$TRACKTUNETPCINNER;"
265265
[[ ! -z $TPCCLUSTERTIMESHIFT ]] && export CONFIG_EXTRA_PROCESS_o2_gpu_reco_workflow+="GPU_rec_tpc.clustersShiftTimebins=$TPCCLUSTERTIMESHIFT;"
266266

267267
# ad-hoc settings for TOF reco
268-
# export ARGS_EXTRA_PROCESS_o2_tof_reco_workflow="--use-ccdb --ccdb-url-tof \"http://alice-ccdb.cern.ch\""
268+
# export ARGS_EXTRA_PROCESS_o2_tof_reco_workflow+="--use-ccdb --ccdb-url-tof \"http://alice-ccdb.cern.ch\""
269269
# since commit on Dec, 4
270-
export ARGS_EXTRA_PROCESS_o2_tof_reco_workflow="--use-ccdb"
270+
export ARGS_EXTRA_PROCESS_o2_tof_reco_workflow+="--use-ccdb"
271271

272272
# ad-hoc options for primary vtx workflow
273273
#export PVERTEXER="pvertexer.acceptableScale2=9;pvertexer.minScale2=2.;pvertexer.nSigmaTimeTrack=4.;pvertexer.timeMarginTrackTime=0.5;pvertexer.timeMarginVertexTime=7.;pvertexer.nSigmaTimeCut=10;pvertexer.dbscanMaxDist2=30;pvertexer.dcaTolerance=3.;pvertexer.pullIniCut=100;pvertexer.addZSigma2=0.1;pvertexer.tukey=20.;pvertexer.addZSigma2Debris=0.01;pvertexer.addTimeSigma2Debris=1.;pvertexer.maxChi2Mean=30;pvertexer.timeMarginReattach=3.;pvertexer.addTimeSigma2Debris=1.;"
@@ -293,42 +293,42 @@ fi
293293
# secondary vertexing
294294
export SVTX="svertexer.checkV0Hypothesis=false;svertexer.checkCascadeHypothesis=false"
295295

296-
export CONFIG_EXTRA_PROCESS_o2_primary_vertexing_workflow="$PVERTEXER;$VDRIFTPARAMOPTION;"
297-
export CONFIG_EXTRA_PROCESS_o2_secondary_vertexing_workflow="$SVTX"
296+
export CONFIG_EXTRA_PROCESS_o2_primary_vertexing_workflow+="$PVERTEXER;$VDRIFTPARAMOPTION;"
297+
export CONFIG_EXTRA_PROCESS_o2_secondary_vertexing_workflow+="$SVTX"
298298

299-
export CONFIG_EXTRA_PROCESS_o2_tpcits_match_workflow="$ITSEXTRAERR;$ITSTPCMATCH;$VDRIFTPARAMOPTION;$TRACKTUNETPCINNER;"
299+
export CONFIG_EXTRA_PROCESS_o2_tpcits_match_workflow+="$ITSEXTRAERR;$ITSTPCMATCH;$VDRIFTPARAMOPTION;$TRACKTUNETPCINNER;"
300300
[[ ! -z "${TPCITSTIMEBIAS}" ]] && export CONFIG_EXTRA_PROCESS_o2_tpcits_match_workflow+="tpcitsMatch.globalTimeBiasMUS=$TPCITSTIMEBIAS;"
301301
[[ ! -z "${TPCITSTIMEERR}" ]] && export CONFIG_EXTRA_PROCESS_o2_tpcits_match_workflow+="tpcitsMatch.globalTimeExtraErrorMUS=$TPCITSTIMEERR;"
302302

303303
# enabling AfterBurner
304-
has_detector FT0 && export ARGS_EXTRA_PROCESS_o2_tpcits_match_workflow="--use-ft0"
304+
has_detector FT0 && export ARGS_EXTRA_PROCESS_o2_tpcits_match_workflow+="--use-ft0"
305305

306306
# ad-hoc settings for TOF matching
307-
export ARGS_EXTRA_PROCESS_o2_tof_matcher_workflow="--output-type matching-info,calib-info --enable-dia"
308-
export CONFIG_EXTRA_PROCESS_o2_tof_matcher_workflow="$ITSEXTRAERR;$VDRIFTPARAMOPTION;$TRACKTUNETPCINNER;"
307+
export ARGS_EXTRA_PROCESS_o2_tof_matcher_workflow+="--output-type matching-info,calib-info --enable-dia"
308+
export CONFIG_EXTRA_PROCESS_o2_tof_matcher_workflow+="$ITSEXTRAERR;$VDRIFTPARAMOPTION;$TRACKTUNETPCINNER;"
309309

310310
# ad-hoc settings for TRD matching
311-
export CONFIG_EXTRA_PROCESS_o2_trd_global_tracking="$ITSEXTRAERR;$VDRIFTPARAMOPTION;$TRACKTUNETPCINNER;"
311+
export CONFIG_EXTRA_PROCESS_o2_trd_global_tracking+="$ITSEXTRAERR;$VDRIFTPARAMOPTION;$TRACKTUNETPCINNER;"
312312

313313
# ad-hoc settings for FT0
314-
export ARGS_EXTRA_PROCESS_o2_ft0_reco_workflow="--ft0-reconstructor"
314+
export ARGS_EXTRA_PROCESS_o2_ft0_reco_workflow+="--ft0-reconstructor"
315315

316316
# ad-hoc settings for FV0
317-
export ARGS_EXTRA_PROCESS_o2_fv0_reco_workflow="--fv0-reconstructor"
317+
export ARGS_EXTRA_PROCESS_o2_fv0_reco_workflow+="--fv0-reconstructor"
318318

319319
# ad-hoc settings for FDD
320320
#...
321321

322322
# ad-hoc settings for MFT
323323
if [[ $BEAMTYPE == "pp" || $PERIOD == "LHC22s" ]]; then
324-
export CONFIG_EXTRA_PROCESS_o2_mft_reco_workflow="MFTTracking.RBins=30;MFTTracking.PhiBins=120;MFTTracking.ZVtxMin=-13;MFTTracking.ZVtxMax=13;MFTTracking.MFTRadLength=0.084;$MAXBCDIFFTOMASKBIAS_MFT"
324+
export CONFIG_EXTRA_PROCESS_o2_mft_reco_workflow+="MFTTracking.RBins=30;MFTTracking.PhiBins=120;MFTTracking.ZVtxMin=-13;MFTTracking.ZVtxMax=13;MFTTracking.MFTRadLength=0.084;$MAXBCDIFFTOMASKBIAS_MFT"
325325
else
326-
export CONFIG_EXTRA_PROCESS_o2_mft_reco_workflow="MFTTracking.MFTRadLength=0.084;$MAXBCDIFFTOMASKBIAS_MFT"
326+
export CONFIG_EXTRA_PROCESS_o2_mft_reco_workflow+="MFTTracking.MFTRadLength=0.084;$MAXBCDIFFTOMASKBIAS_MFT"
327327
fi
328328

329329
# ad-hoc settings for MCH
330330
if [[ $BEAMTYPE == "pp" ]]; then
331-
export CONFIG_EXTRA_PROCESS_o2_mch_reco_workflow="MCHClustering.lowestPadCharge=15;MCHTracking.chamberResolutionX=0.4;MCHTracking.chamberResolutionY=0.4;MCHTracking.sigmaCutForTracking=7;MCHTracking.sigmaCutForImprovement=6;MCHDigitFilter.timeOffset=126"
331+
export CONFIG_EXTRA_PROCESS_o2_mch_reco_workflow+="MCHClustering.lowestPadCharge=15;MCHTracking.chamberResolutionX=0.4;MCHTracking.chamberResolutionY=0.4;MCHTracking.sigmaCutForTracking=7;MCHTracking.sigmaCutForImprovement=6;MCHDigitFilter.timeOffset=126"
332332
fi
333333

334334
# possibly adding calib steps as done online
@@ -359,19 +359,19 @@ if [[ $ADD_CALIB == "1" ]]; then
359359
if [[ $DO_TPC_RESIDUAL_EXTRACTION == "1" ]]; then
360360
export CALIB_TPC_SCDCALIB=1
361361
export CALIB_TPC_SCDCALIB_SENDTRKDATA=1
362-
export ARGS_EXTRA_PROCESS_o2_tpc_scdcalib_interpolation_workflow="--process-seeds --enable-itsonly --tracking-sources ITS,TPC,TRD,TOF,ITS-TPC,ITS-TPC-TRD,ITS-TPC-TRD-TOF"
362+
export ARGS_EXTRA_PROCESS_o2_tpc_scdcalib_interpolation_workflow+="--process-seeds --enable-itsonly --tracking-sources ITS,TPC,TRD,TOF,ITS-TPC,ITS-TPC-TRD,ITS-TPC-TRD-TOF"
363363
# ad-hoc settings for TPC residual extraction
364-
export ARGS_EXTRA_PROCESS_o2_calibration_residual_aggregator="--output-type trackParams,unbinnedResid"
364+
export ARGS_EXTRA_PROCESS_o2_calibration_residual_aggregator+="--output-type trackParams,unbinnedResid"
365365
if [[ $ALIEN_JDL_DEBUGRESIDUALEXTRACTION == "1" ]]; then
366-
export CONFIG_EXTRA_PROCESS_o2_tpc_scdcalib_interpolation_workflow="scdcalib.maxTracksPerCalibSlot=-1;scdcalib.minPtNoOuterPoint=0.8;scdcalib.minTPCNClsNoOuterPoint=120"
367-
export ARGS_EXTRA_PROCESS_o2_trd_global_tracking="--enable-qc"
366+
export CONFIG_EXTRA_PROCESS_o2_tpc_scdcalib_interpolation_workflow+="scdcalib.maxTracksPerCalibSlot=-1;scdcalib.minPtNoOuterPoint=0.8;scdcalib.minTPCNClsNoOuterPoint=120"
367+
export ARGS_EXTRA_PROCESS_o2_trd_global_tracking+="--enable-qc"
368368
fi
369369
fi
370370
export CALIB_EMC_ASYNC_RECALIB="$ALIEN_JDL_DOEMCCALIB"
371371
if [[ $ALIEN_JDL_DOTRDVDRIFTEXBCALIB == "1" ]]; then
372372
export CALIB_TRD_VDRIFTEXB="$ALIEN_JDL_DOTRDVDRIFTEXBCALIB"
373-
export ARGS_EXTRA_PROCESS_o2_calibration_trd_workflow="--enable-root-output"
374-
export ARGS_EXTRA_PROCESS_o2_trd_global_tracking="--enable-qc"
373+
export ARGS_EXTRA_PROCESS_o2_calibration_trd_workflow+="--enable-root-output"
374+
export ARGS_EXTRA_PROCESS_o2_trd_global_tracking+="--enable-qc"
375375
fi
376376
if [[ $ALIEN_JDL_DOMEANVTXCALIB == 1 ]]; then
377377
export CALIB_PRIMVTX_MEANVTX="$ALIEN_JDL_DOMEANVTXCALIB"
@@ -391,7 +391,7 @@ if [[ $ALIEN_JDL_EXTRACTCURRENTS == 1 ]]; then
391391
has_detector_reco FV0 && add_comma_separated ADD_EXTRA_WORKFLOW "o2-fv0-integrate-cluster-workflow"
392392
has_detector_reco TOF && add_comma_separated ADD_EXTRA_WORKFLOW "o2-tof-integrate-cluster-workflow"
393393
if [[ $ALIEN_JDL_DISABLE3DCURRENTS != 1 ]]; then
394-
export ARGS_EXTRA_PROCESS_o2_tpc_integrate_cluster_workflow="--process-3D-currents --nSlicesTF 1"
394+
export ARGS_EXTRA_PROCESS_o2_tpc_integrate_cluster_workflow+="--process-3D-currents --nSlicesTF 1"
395395
fi
396396
has_detector_reco TPC && add_comma_separated ADD_EXTRA_WORKFLOW "o2-tpc-integrate-cluster-workflow"
397397
fi
@@ -402,7 +402,7 @@ if [[ $ALIEN_JDL_AODOFF != "1" ]]; then
402402
fi
403403

404404
# ad-hoc settings for AOD
405-
export ARGS_EXTRA_PROCESS_o2_aod_producer_workflow="--aod-writer-maxfilesize $AOD_FILE_SIZE"
405+
export ARGS_EXTRA_PROCESS_o2_aod_producer_workflow+="--aod-writer-maxfilesize $AOD_FILE_SIZE"
406406
if [[ $PERIOD == "LHC22c" ]] || [[ $PERIOD == "LHC22d" ]] || [[ $PERIOD == "LHC22e" ]] || [[ $PERIOD == "LHC22f" ]] || [[ $PERIOD == "LHC22m" ]] || [[ "$RUNNUMBER" == @(526463|526465|526466|526467|526468|526486|526505|526508|526510|526512|526525|526526|526528|526534|526559|526596|526606|526612|526638|526639|526641|526643|526647|526649|526689|526712|526713|526714|526715|526716|526719|526720|526776|526886|526926|526927|526928|526929|526934|526935|526937|526938|526963|526964|526966|526967|526968|527015|527016|527028|527031|527033|527034|527038|527039|527041|527057|527076|527108|527109|527228|527237|527259|527260|527261|527262|527345|527347|527349|527446|527518|527523|527734) ]] ; then
407407
export ARGS_EXTRA_PROCESS_o2_aod_producer_workflow+=" --aod-producer-workflow \"--ctpreadout-create 1\""
408408
fi

0 commit comments

Comments
 (0)