Skip to content

Commit 9853977

Browse files
mfasDachiarazampolli
authored andcommitted
[EMCAL-755] Change DigitsQCTask to CellTask in simulation
CellTask was branched off several months ago to monitor cell level information (in AliRoot Digits and Cells were the same objects for EMCAL as the time response was not simulated, with the introduction of time sampling they diverged). A transition period was kept to not affect existing productions. The workflows should be adapted now to allow using the DigitsQCTask to monitor digits (time sample) level quantities.
1 parent d7663df commit 9853977

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

MC/bin/o2dpg_qc_finalization_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def add_QC_postprocessing(taskName, qcConfigPath, needs, runSpecific, prodSpecif
7878
add_QC_finalization('mftDigitsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/qc-mft-digit-0.json', MFTDigitsQCneeds)
7979
add_QC_finalization('mftClustersQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/qc-mft-cluster.json')
8080
add_QC_finalization('mftAsyncQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/qc-mft-async.json')
81-
add_QC_finalization('emcDigitsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/emc-digits-task.json')
81+
add_QC_finalization('emcCellQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/emc-cell-task.json')
8282
#add_QC_finalization('tpcTrackingQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tpc-qc-tracking-direct.json')
8383
add_QC_finalization('tpcStandardQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tpc-qc-standard-direct.json')
8484
add_QC_finalization('trdDigitsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/trd-digits-task.json')

MC/bin/o2dpg_sim_workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -981,10 +981,10 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
981981

982982
### EMCAL
983983
if isActive('EMC'):
984-
addQCPerTF(taskName='emcDigitsQC',
984+
addQCPerTF(taskName='emcCellQC',
985985
needs=[EMCRECOtask['name']],
986986
readerCommand='o2-emcal-cell-reader-workflow --infile emccells.root',
987-
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/emc-digits-task.json')
987+
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/emc-cell-task.json')
988988
### FT0
989989
addQCPerTF(taskName='RecPointsQC',
990990
needs=[FT0RECOtask['name']],
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
}
2727
},
2828
"tasks": {
29-
"DigitsTask": {
29+
"CellTask": {
3030
"active": "true",
31-
"className": "o2::quality_control_modules::emcal::DigitsQcTask",
31+
"className": "o2::quality_control_modules::emcal::CellTask",
3232
"moduleName": "QcEMCAL",
3333
"detectorName": "EMC",
3434
"cycleDurationSeconds": "60",
3535
"maxNumberCycles": "-1",
3636
"dataSource": {
3737
"type": "direct",
38-
"query": "emcal-digits:EMC/CELLS;emcal-triggerecords:EMC/CELLSTRGR"
38+
"query": "emcal-cells:EMC/CELLS;emcal-triggerecords:EMC/CELLSTRGR"
3939
}
4040
}
4141
},

0 commit comments

Comments
 (0)