Skip to content

Commit

Permalink
ZDC bugfix: zdc calib is sporadic, since it does not send every TF
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr committed Nov 23, 2023
1 parent a13ea07 commit c27cd0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Detectors/ZDC/calib/src/TDCCalibSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ framework::DataProcessorSpec getTDCCalibSpec()
std::vector<InputSpec> inputs;
inputs.emplace_back("tdccalibconfig", "ZDC", "TDCCALIBCONFIG", 0, Lifetime::Condition, o2::framework::ccdbParamSpec(fmt::format("{}", o2::zdc::CCDBPathTDCCalibConfig.data())));
inputs.emplace_back("tdccalib", "ZDC", "TDCCALIB", 0, Lifetime::Condition, o2::framework::ccdbParamSpec(fmt::format("{}", o2::zdc::CCDBPathTDCCalib.data())));
inputs.emplace_back("tdccalibdata", "ZDC", "TDCCALIBDATA", 0, Lifetime::Timeframe);
inputs.emplace_back("tdc_1dh", ConcreteDataTypeMatcher{"ZDC", "TDC_1DH"}, Lifetime::Timeframe);
inputs.emplace_back("tdccalibdata", "ZDC", "TDCCALIBDATA", 0, Lifetime::Sporadic);
inputs.emplace_back("tdc_1dh", ConcreteDataTypeMatcher{"ZDC", "TDC_1DH"}, Lifetime::Sporadic);

std::vector<OutputSpec> outputs;
outputs.emplace_back(ConcreteDataTypeMatcher{o2::calibration::Utils::gDataOriginCDBPayload, "ZDC_TDCcalib"}, Lifetime::Sporadic);
Expand Down
8 changes: 4 additions & 4 deletions prodtests/full-system-test/aggregator-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,6 @@ fi

# Forward detectors
if [[ $AGGREGATOR_TASKS == FORWARD_TF || $AGGREGATOR_TASKS == ALL ]]; then
# ZDC
if [[ $CALIB_ZDC_TDC == 1 ]]; then
add_W o2-zdc-tdccalib-workflow "" "CalibParamZDC.outputDir=$CALIB_DIR;CalibParamZDC.metaFileDir=$EPN2EOS_METAFILES_DIR"
fi
# FT0
if [[ $CALIB_FT0_TIMEOFFSET == 1 ]]; then
add_W o2-calibration-ft0-time-offset-calib "--tf-per-slot $FT0_TIMEOFFSET_TF_PER_SLOT --max-delay 0" "FT0CalibParam.mNExtraSlots=0;FT0CalibParam.mRebinFactorPerChID[180]=4;"
Expand All @@ -338,6 +334,10 @@ if [[ $AGGREGATOR_TASKS == FORWARD_SPORADIC || $AGGREGATOR_TASKS == ALL ]]; then
if [[ $CALIB_FDD_INTEGRATEDCURR == 1 ]]; then
add_W o2-fdd-merge-integrate-cluster-workflow "--tf-per-slot $INTEGRATEDCURR_TF_PER_SLOT"
fi
# ZDC
if [[ $CALIB_ZDC_TDC == 1 ]]; then
add_W o2-zdc-tdccalib-workflow "" "CalibParamZDC.outputDir=$CALIB_DIR;CalibParamZDC.metaFileDir=$EPN2EOS_METAFILES_DIR"
fi
fi

if [[ "${GEN_TOPO_VERBOSE:-}" == "1" ]]; then
Expand Down

0 comments on commit c27cd0c

Please sign in to comment.