Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion EventFiltering/cefpTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ struct centralEventFilterTask {
HistogramRegistry scalers{"scalers", {}, OutputObjHandlingPolicy::AnalysisObject, true, true};
Produces<aod::CefpDecisions> tags;

Configurable<bool> cfgDisableDownscalings{"cfgDisableDownscalings", false, "Disable downscalings"};

FILTER_CONFIGURABLE(F1ProtonFilters);
FILTER_CONFIGURABLE(NucleiFilters);
FILTER_CONFIGURABLE(DiffractionFilters);
Expand Down Expand Up @@ -261,6 +263,9 @@ struct centralEventFilterTask {
col.second = filterOpt.get(col.first.data(), 0u);
}
}
if (cfgDisableDownscalings.value) {
LOG(info) << "Downscalings are disabled for all channels.";
}
}

void run(ProcessingContext& pc)
Expand Down Expand Up @@ -327,7 +332,7 @@ struct centralEventFilterTask {
uint64_t decisionBin{(bin - 2) / 64};
uint64_t triggerBit{BIT((bin - 2) % 64)};
auto column{tablePtr->GetColumnByName(colName.first)};
double downscaling{colName.second};
double downscaling{cfgDisableDownscalings.value ? 1. : colName.second};
if (column) {
int entry = 0;
for (int64_t iC{0}; iC < column->num_chunks(); ++iC) {
Expand Down