@@ -41,10 +41,13 @@ print_help()
4141 echo " PRODSPLIT."
4242 echo
4343 echo " Optional are:"
44- echo " NWORKERS,"
45- echo " ALIEN_JDL_CPULIMIT or CPULIMIT,"
46- echo " ALIEN_JDL_SIMENGINE or SIMENGINE."
47- echo " DISABLE_QC (set this to disable QC, e.g. DISABLE_QC=1)"
44+ echo " ALIEN_JDL_CPULIMIT or CPULIMIT, set the CPU limit of the workflow runner, default: 8,"
45+ echo " NWORKERS, set the number of workers during detector transport, default: 8,"
46+ echo " ALIEN_JDL_SIMENGINE or SIMENGINE, choose the transport engine, default: TGeant4,"
47+ echo " ALIEN_JDL_WORKFLOWDETECTORS, set detectors to be taken into account, default: ITS,TPC,TOF,FV0,FT0,FDD,MID,MFT,MCH,TRD,EMC,PHS,CPV,HMP,CTP,"
48+ echo " ALIEN_JDL_ANCHOR_SIM_OPTIONS, additional options that are passed to the workflow creation, default: -gen pythia8,"
49+ echo " ALIEN_JDL_ADDTIMESERIESINMC, run TPC time series. Default: 1, switch off by setting to 0,"
50+ echo " DISABLE_QC, set this to disable QC, e.g. to 1"
4851}
4952
5053# Prevent the script from being soured to omit unexpected surprises when exit is used
@@ -93,6 +96,8 @@ export ALIEN_JDL_LPMPRODUCTIONTAG=${ALIEN_JDL_LPMPRODUCTIONTAG:-${PRODUCTIONTAG}
9396export ALIEN_JDL_LPMANCHORRUN=${ALIEN_JDL_LPMANCHORRUN:- ${ANCHORRUN} }
9497export ALIEN_JDL_LPMANCHORPRODUCTION=${ALIEN_JDL_LPMANCHORPRODUCTION:- ${ANCHORPRODUCTION} }
9598export ALIEN_JDL_LPMANCHORYEAR=${ALIEN_JDL_LPMANCHORYEAR:- ${ANCHORYEAR} }
99+ # decide whether to run TPC time series; on by default, switched off by setting to 0
100+ export ALIEN_JDL_ADDTIMESERIESINMC=${ALIEN_JDL_ADDTIMESERIESINMC:- 1}
96101
97102# cache the production tag, will be set to a special anchor tag; reset later in fact
98103ALIEN_JDL_LPMPRODUCTIONTAG_KEEP=$ALIEN_JDL_LPMPRODUCTIONTAG
@@ -236,6 +241,7 @@ ${O2DPG_ROOT}/MC/bin/o2_dpg_workflow_runner.py -f workflow.json -tt ${ALIEN_JDL_
236241MCRC=$? # <--- we'll report back this code
237242
238243if [[ " ${ALIEN_JDL_ADDTIMESERIESINMC} " != " 0" ]]; then
244+ # Default value is 1 so this is run by default.
239245 echo " Running TPC time series"
240246 ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json -tt tpctimes
241247fi
0 commit comments