Skip to content

Commit 8dc5d11

Browse files
committed
[PWGJE,EMCal] Tick off TODO to change argument type of setUseWeightExotic
In the PR #15706 the function `setUseWeightExotic` got its argument type fixed from float to bool. This commit is now adapenting this change in the function call in the emcal correction task.
1 parent e39d44f commit 8dc5d11

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

PWGJE/TableProducer/emcalCorrectionTask.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,7 @@ struct EmcalCorrectionTask {
265265
mClusterFactories.setExoticCellDiffTime(exoticCellDiffTime);
266266
mClusterFactories.setExoticCellMinAmplitude(exoticCellMinAmplitude);
267267
mClusterFactories.setExoticCellInCrossMinAmplitude(exoticCellInCrossMinAmplitude);
268-
// TODO: Fix setUseWeightExotic in the O2 code to use bool as argument not float!
269-
mClusterFactories.setUseWeightExotic(static_cast<float>(useWeightExotic));
268+
mClusterFactories.setUseWeightExotic(useWeightExotic);
270269
for (const auto& clusterDefinition : mClusterDefinitions) {
271270
mClusterizers.emplace_back(std::make_unique<o2::emcal::Clusterizer<o2::emcal::Cell>>(clusterDefinition.timeDiff, clusterDefinition.timeMin, clusterDefinition.timeMax, clusterDefinition.gradientCut, clusterDefinition.doGradientCut, clusterDefinition.seedEnergy, clusterDefinition.minCellEnergy));
272271
LOG(info) << "Cluster definition initialized: " << clusterDefinition.toString();

0 commit comments

Comments
 (0)