Skip to content

Commit 1fcc791

Browse files
authored
Merge f422114 into sapling-pr-archive-ktf
2 parents 13c3d33 + f422114 commit 1fcc791

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

Detectors/GlobalTrackingWorkflow/study/src/trackMCStudy-workflow.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ WorkflowSpec defineDataProcessing(ConfigContext const& configcontext)
7171
GID::mask_t srcTrc = allowedSourcesTrc & GID::getSourcesMask(configcontext.options().get<std::string>("track-sources"));
7272
GID::mask_t srcCls = allowedSourcesClus & GID::getSourcesMask(configcontext.options().get<std::string>("cluster-sources"));
7373
srcCls |= GID::getSourcesMask("ITS,TPC");
74-
74+
if (sclOpt.requestCTPLumi) {
75+
srcTrc = srcTrc | GID::getSourcesMask("CTP");
76+
srcCls = srcCls | GID::getSourcesMask("CTP");
77+
}
7578
o2::globaltracking::InputHelper::addInputSpecs(configcontext, specs, srcCls, srcTrc, srcTrc, true);
7679
o2::globaltracking::InputHelper::addInputSpecsPVertex(configcontext, specs, true); // P-vertex is always needed
7780
if (checkSV) {

Detectors/ITSMFT/common/workflow/src/DigitReaderSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void DigitReader::init(InitContext& ic)
7070
void DigitReader::run(ProcessingContext& pc)
7171
{
7272
const auto& tinfo = pc.services().get<o2::framework::TimingInfo>();
73-
if (tinfo.globalRunNumberChanged) { // new run is starting: 1st call
73+
if (tinfo.globalRunNumberChanged && mUseIRFrames) { // new run is starting: 1st call
7474
// TODO: we have to find a way define CCDBInput for IRFrames mode only using DPL fetcher
7575
auto& ccdb = o2::ccdb::BasicCCDBManager::instance();
7676
auto rlim = ccdb.getRunDuration(tinfo.runNumber);

Framework/AnalysisSupport/src/Plugin.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ struct DiscoverMetadataInAOD : o2::framework::ConfigDiscoveryPlugin {
142142
if (tables.empty() == false) {
143143
results.push_back(ConfigParamSpec{"aod-metadata-tables", VariantType::ArrayString, tables, {"Tables in first AOD"}});
144144
}
145+
currentFile->Close();
145146
return results;
146147
}};
147148
}

Framework/Core/src/ExternalFairMQDeviceProxy.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ void sendOnChannel(fair::mq::Device& device, fair::mq::Parts& messages, std::str
108108
}
109109

110110
// FIXME: we need a better logic for avoiding message spam
111-
if (timeout > 1 && timeout <= maxTimeout) {
112-
LOG(warning) << "dispatching on channel " << channel << " was delayed by " << timeout << " ms";
111+
if (timeout > 100 && timeout <= maxTimeout) {
112+
LOG(warning) << "dispatching on channel " << channel << " was delayed by " << timeout / 1000.f << " s";
113113
}
114114
// TODO: feeling this is a bit awkward, but the interface of fair::mq::Parts does not provide a
115115
// method to clear the content.

GPU/TPCFastTransformation/CorrectionMapsHelper.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,11 @@ class CorrectionMapsHelper
9090
}
9191
}
9292

93-
void setMeanLumiRef(float v)
93+
void setMeanLumiRef(float v, bool report = false)
9494
{
95-
if (v != mMeanLumi) {
95+
if (v != mMeanLumiRef) {
9696
mMeanLumiRef = v;
97+
updateLumiScale(report);
9798
}
9899
}
99100

0 commit comments

Comments
 (0)