Skip to content

Commit ce580b8

Browse files
authored
Merge branch 'AliceO2Group:master' into master
2 parents 3971cc8 + 996d3b4 commit ce580b8

File tree

210 files changed

+8044
-1521
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+8044
-1521
lines changed

.github/workflows/clean-ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Clean PR builds
3+
4+
'on':
5+
workflow_dispatch:
6+
inputs:
7+
pr:
8+
description: PR number in this repo to be cleaned
9+
type: string # can't use number here
10+
required: true
11+
12+
# Warning: GitHub limits the total number of inputs to 10, so a maximum of
13+
# 9 checks is allowed here!
14+
# Warning: the check_* keys are magic and must consist of the string
15+
# "check_" followed by the applicable check name exactly. The
16+
# "description" field is only the human-readable label for the input.
17+
'check_build/O2DPG/sim/o2':
18+
description: build/O2DPG/sim/o2
19+
type: boolean
20+
default: true
21+
'check_build/O2DPG/O2fst/o2':
22+
description: build/O2DPG/O2fst/o2
23+
type: boolean
24+
default: true
25+
26+
permissions: {}
27+
28+
jobs:
29+
clean:
30+
name: Clean PR checks
31+
uses: alisw/ali-bot/.github/workflows/clean-pr-checks.yml@master
32+
with:
33+
owner: ${{ github.event.repository.owner.login }}
34+
repo: ${{ github.event.repository.name }}
35+
pr: ${{ github.event.inputs.pr }}
36+
checks: ${{ toJSON(github.event.inputs) }}
37+
permissions:
38+
pull-requests: read # to get last commit for pr (octokit/graphql-action)
39+
statuses: write # for set-github-status

.github/workflows/syntax-checks.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,19 @@ jobs:
9292
done
9393
exit "$error"
9494
95+
- name: Run .C configs check
96+
run: |
97+
error=0
98+
readarray -d '' files < \
99+
<(find . -path ./.git -prune -false -or -type f -name '*.C' -print0)
100+
for cfg in "${files[@]}"; do
101+
if grep -q "\$O2DPG_ROOT" "$cfg" || grep -q "\${O2DPG_ROOT}" "$cfg"; then
102+
error=1
103+
echo "Deprecated O2DPG_ROOT detected in $cfg, replace with O2DPG_MC_CONFIG_ROOT" >&2
104+
fi
105+
done
106+
exit "$error"
107+
95108
pylint:
96109
name: Pylint
97110
runs-on: ubuntu-latest

CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
* @davidrohr @martenole @shahor02 @chiarazampolli @sawenzel @benedikt-voelkel
2-
/DATA/production @davidrohr @martenole @shahor02 @chiarazampolli
1+
* @davidrohr @shahor02 @chiarazampolli @sawenzel @benedikt-voelkel
2+
/DATA/production @davidrohr @shahor02 @chiarazampolli
33

44
/DATA/testing/detectors/CPV
55
/DATA/testing/detectors/EMC
@@ -14,7 +14,7 @@
1414
/DATA/testing/detectors/PHS
1515
/DATA/testing/detectors/TOF @noferini @chiarazampolli
1616
/DATA/testing/detectors/TPC @wiechula
17-
/DATA/testing/detectors/TRD @martenole
17+
/DATA/testing/detectors/TRD
1818
/DATA/testing/detectors/ZDC
1919

2020
/MC @sawenzel @chiarazampolli @benedikt-voelkel

DATA/common/gen_topo_helper_functions.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ has_detector_matching()
4949
[[ $WORKFLOW_DETECTORS_MATCHING =~ (^|,)"ALL"(,|$) ]] || [[ $WORKFLOW_DETECTORS_MATCHING =~ (^|,)"$1"(,|$) ]]
5050
}
5151

52+
has_secvtx_source()
53+
{
54+
[[ $SVERTEXING_SOURCES =~ (^|,)"ALL"(,|$) ]] || [[ $SVERTEXING_SOURCES =~ (^|,)"$1"(,|$) ]]
55+
}
56+
5257
has_detector_qc()
5358
{
5459
has_detector $1 && [[ $WORKFLOW_DETECTORS_QC =~ (^|,)"$1"(,|$) ]]

DATA/common/getCommonArgs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ fi
2525
[[ $NORATELOG == 1 ]] && ARGS_ALL+=" --fairmq-rate-logging 0"
2626

2727
[[ ! -z ${O2_DPL_EXIT_TRANSITION_TIMEOUT_DEFAULT:-} ]] && ARGS_ALL+=" --exit-transition-timeout $O2_DPL_EXIT_TRANSITION_TIMEOUT_DEFAULT"
28+
[[ ! -z ${O2_DPL_PROCESSING_TRANSITION_TIMEOUT_DEFAULT:-} ]] && ARGS_ALL+=" --data-processing-timeout $O2_DPL_PROCESSING_TRANSITION_TIMEOUT_DEFAULT"
2829

2930
true
3031

DATA/production/configurations/asyncReco/setenv_extra.sh

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,17 @@ export ADD_EXTRA_WORKFLOW=
126126

127127
# other ad-hoc settings for CTF reader
128128
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --allow-missing-detectors $REMAPPING"
129+
130+
# possibility to only process some TFs
131+
if [[ ! -z ${ALIEN_JDL_RUN_TIME_SPAN_FILE} ]]; then
132+
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --run-time-span-file $ALIEN_JDL_RUN_TIME_SPAN_FILE "
133+
# the following option makes sense only if we have the previous
134+
if [[ ${ALIEN_JDL_INVERT_IRFRAME_SELECTION} == 1 ]]; then
135+
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --invert-irframe-selection "
136+
fi
137+
fi
138+
139+
# other settings
129140
echo RUN = $RUNNUMBER
130141
if [[ $RUNNUMBER -ge 521889 ]]; then
131142
export ARGS_EXTRA_PROCESS_o2_ctf_reader_workflow+=" --its-digits --mft-digits"
@@ -330,7 +341,7 @@ elif [[ $ALIGNLEVEL == 1 ]]; then
330341
[[ $APPLYS11 == 1 ]] && export ITSTPCMATCH="${ITSTPCMATCH};tpcitsMatch.askMinTPCRow[11]=78;" || export ITSTPCMATCH="${ITSTPCMATCH};tpcitsMatch.askMinTPCRow[11]=20;"
331342
fi
332343
# settings to improve inner pad-rows contribution
333-
export CONFIG_EXTRA_PROCESS_o2_gpu_reco_workflow+=";GPU_rec_tpc.trackletMinSharedNormFactor=1.;GPU_rec_tpc.trackletMaxSharedFraction=0.3;GPU_rec_tpc.globalTrackingRowRange=100;"
344+
export CONFIG_EXTRA_PROCESS_o2_gpu_reco_workflow+=";GPU_rec_tpc.trackletMinSharedNormFactor=1.;GPU_rec_tpc.trackletMaxSharedFraction=0.3;GPU_rec_tpc.globalTrackingRowRange=100;GPU_rec_tpc.rejectIFCLowRadiusCluster=1;"
334345

335346
#-------------------------------------- TPC corrections -----------------------------------------------
336347
# we need to provide to TPC
@@ -420,7 +431,7 @@ elif [[ $ALIGNLEVEL == 1 ]]; then
420431
export TPC_CORR_SCALING+=" --enable-M-shape-correction "
421432
fi
422433

423-
if [[ $ALIEN_JDL_LPMANCHORYEAR == "2023" ]] && [[ $BEAMTYPE == "PbPb" ]] ; then
434+
if [[ $ALIEN_JDL_LPMANCHORYEAR -ge 2023 ]] && [[ $BEAMTYPE == "PbPb" ]] ; then
424435
# adding additional cluster errors
425436
# the values below should be squared, but the validation of those values (0.01 and 0.0225) is ongoing
426437
TPCEXTRAERR=";GPU_rec_tpc.clusterError2AdditionalYSeeding=0.1;GPU_rec_tpc.clusterError2AdditionalZSeeding=0.15;"
@@ -463,7 +474,7 @@ export ITSEXTRAERR="ITSCATrackerParam.sysErrY2[0]=$ERRIB;ITSCATrackerParam.sysEr
463474
# ad-hoc options for ITS reco workflow
464475
EXTRA_ITSRECO_CONFIG=
465476
if [[ $BEAMTYPE == "PbPb" ]]; then
466-
EXTRA_ITSRECO_CONFIG="ITSCATrackerParam.deltaRof=1;ITSVertexerParam.clusterContributorsCut=16;ITSVertexerParam.lowMultBeamDistCut=0;ITSCATrackerParam.nROFsPerIterations=12;ITSCATrackerParam.perPrimaryVertexProcessing=true;"
477+
EXTRA_ITSRECO_CONFIG="ITSCATrackerParam.deltaRof=0;ITSVertexerParam.clusterContributorsCut=16;ITSVertexerParam.lowMultBeamDistCut=0;ITSCATrackerParam.nROFsPerIterations=12;ITSCATrackerParam.perPrimaryVertexProcessing=false;"
467478
if [[ -z "$ALIEN_JDL_DISABLE_UPC" || $ALIEN_JDL_DISABLE_UPC != 1 ]]; then
468479
EXTRA_ITSRECO_CONFIG+=";ITSVertexerParam.nIterations=2;ITSCATrackerParam.doUPCIteration=true;"
469480
fi
@@ -701,7 +712,10 @@ fi
701712
if [[ $ALIEN_JDL_QCOFF != "1" ]]; then
702713
export WORKFLOW_PARAMETERS="QC,${WORKFLOW_PARAMETERS}"
703714
fi
704-
export QC_CONFIG_PARAM="--local-batch=QC.root --override-values \"qc.config.Activity.number=$RUNNUMBER;qc.config.Activity.passName=$PASS;qc.config.Activity.periodName=$PERIOD\""
715+
716+
export QC_CONFIG_OVERRIDE+=";qc.config.Activity.number=$RUNNUMBER;qc.config.Activity.type=PHYSICS;qc.config.Activity.passName=$PASS;qc.config.Activity.periodName=$PERIOD;qc.config.Activity.beamType=$BEAMTYPE;"
717+
718+
export QC_CONFIG_PARAM+=" --local-batch=QC.root "
705719
export GEN_TOPO_WORKDIR="./"
706720
#export QC_JSON_FROM_OUTSIDE="QC-20211214.json"
707721

DATA/production/o2dpg_qc_postproc_workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def add_QC_postprocessing(taskName, qcConfigPath, needs, runSpecific, periodSpec
6969
task = createTask(name=taskName, needs=needs, cwd=qcdir, lab=["QC"], cpu=1, mem='2000')
7070
overrideValues = '--override-values "'
7171
overrideValues += f'qc.config.database.host={qcdbUrl};'
72+
overrideValues += f'qc.config.Activity.type=PHYSICS;'
7273
overrideValues += f'qc.config.Activity.number={runNumber};' if runSpecific else 'qc.config.Activity.number=0;'
7374
overrideValues += f'qc.config.Activity.periodName={periodName};' if periodSpecific else 'qc.config.Activity.periodName=;'
7475
overrideValues += f'qc.config.Activity.passName={passName};' if passSpecific else 'qc.config.Activity.passName=;'

DATA/production/qc-async/emc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"cycleDurationSeconds": "60",
8080
"dataSource": {
8181
"type": "direct",
82-
"query": "emcal-triggers:EMC/CELLSTRGR/0;ctp-digits:CTP/DIGITS;ctp-config:CTP/CONFIG/0?lifetime=condition&ccdb-path=CTP/Config/Config&ccdb-run-dependent=true"
82+
"query": "emcal-triggers:EMC/CELLSTRGR/0;ctp-digits:CTP/DIGITS;ctp-config:CTP/CONFIG/0?lifetime=condition&ccdb-path=CTP/Config/Config&ccdb-run-dependent=1"
8383
},
8484
"taskParameters": {
8585
}

DATA/production/qc-async/emc_PbPb.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"cycleDurationSeconds": "60",
9494
"dataSource": {
9595
"type": "direct",
96-
"query": "emcal-triggers:EMC/CELLSTRGR/0;ctp-digits:CTP/DIGITS;ctp-config:CTP/CONFIG/0?lifetime=condition&ccdb-path=CTP/Config/Config&ccdb-run-dependent=true"
96+
"query": "emcal-triggers:EMC/CELLSTRGR/0;ctp-digits:CTP/DIGITS;ctp-config:CTP/CONFIG/0?lifetime=condition&ccdb-path=CTP/Config/Config&ccdb-run-dependent=1"
9797
},
9898
"taskParameters": {
9999
"AliasMB" : "CMTVXTSC,C0TVXTSC,C0TVXTCE"

DATA/production/qc-async/its.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
"detectorName": "ITS",
3232
"cycleDurationSeconds": "180",
3333
"maxNumberCycles": "-1",
34+
"movingWindows": [
35+
"Layer0/ClusterOccupation",
36+
"Layer1/ClusterOccupation",
37+
"Layer2/ClusterOccupation",
38+
"Layer3/ClusterOccupation",
39+
"Layer4/ClusterOccupation",
40+
"Layer5/ClusterOccupation",
41+
"Layer6/ClusterOccupation"
42+
],
3443
"dataSource_comment": "The other type of dataSource is \"direct\", see basic-no-sampling.json.",
3544
"dataSource": {
3645
"type": "direct",
@@ -52,8 +61,13 @@
5261
"className": "o2::quality_control_modules::its::ITSTrackTask",
5362
"moduleName": "QcITS",
5463
"detectorName": "ITS",
55-
"cycleDurationSeconds": "30",
64+
"cycleDurationSeconds": "180",
5665
"maxNumberCycles": "-1",
66+
"movingWindows": [
67+
"Ntracks",
68+
"NClusters",
69+
"AngularDistribution"
70+
],
5771
"dataSource_comment": "The other type of dataSource is \"direct\", see basic-no-sampling.json.",
5872
"dataSource": {
5973
"type": "direct",

0 commit comments

Comments
 (0)