Skip to content

Commit e075bc1

Browse files
committed
Iteration on AODBcRewriter
Rewrite of AODBcRewriter, now including resorting of TTree refering to fIndexBC. This is necessary since index columns need to be sorted. Also adding 2 tools to check for BC monotonicity in AO2D as well as fIndexBC monotonicity in all tables. Codes are AI co-generated.
1 parent fef755c commit e075bc1

File tree

4 files changed

+1328
-232
lines changed

4 files changed

+1328
-232
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,11 +1951,11 @@ def remove_json_prefix(path):
19511951
AOD_merge_task['cmd'] = ' set -e ; [ -f aodmerge_input.txt ] && rm aodmerge_input.txt; '
19521952
AOD_merge_task['cmd'] += ' for i in `seq 1 ' + str(NTIMEFRAMES) + '`; do echo "tf${i}/AO2D.root" >> aodmerge_input.txt; done; '
19531953
AOD_merge_task['cmd'] += ' o2-aod-merger --input aodmerge_input.txt --output AO2D_pre.root'
1954-
# produce MonaLisa event stat file
1955-
AOD_merge_task['cmd'] += ' ; ${O2DPG_ROOT}/MC/bin/o2dpg_determine_eventstat.py'
19561954
# reindex the BC + connected tables because it there could be duplicate BC entries due to the orbit-early treatment
19571955
# see https://its.cern.ch/jira/browse/O2-6227
19581956
AOD_merge_task['cmd'] += ' ; root -q -b -l "${O2DPG_ROOT}/MC/utils/AODBcRewriter.C(\\\"AO2D_pre.root\\\",\\\"AO2D.root\\\")"'
1957+
# produce MonaLisa event stat file
1958+
AOD_merge_task['cmd'] += ' ; ${O2DPG_ROOT}/MC/bin/o2dpg_determine_eventstat.py'
19591959
AOD_merge_task['alternative_alienv_package'] = "None" # we want latest software for this step
19601960
workflow['stages'].append(AOD_merge_task)
19611961

0 commit comments

Comments
 (0)