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: 3 additions & 4 deletions Detectors/EMCAL/base/include/EMCALBase/ClusterFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#define ALICEO2_EMCAL_CLUSTERFACTORY_H_
#include <array>
#include <vector>
#include <optional>
#include <utility>
#include <gsl/span>
#include "Rtypes.h"
Expand Down Expand Up @@ -336,16 +335,16 @@ class ClusterFactory
bool getUseWeightExotic() const { return mUseWeightExotic; }
void setUseWeightExotic(float useWeightExotic) { mUseWeightExotic = useWeightExotic; }

void setContainer(gsl::span<const o2::emcal::Cluster> clusterContainer, gsl::span<const InputType> cellContainer, gsl::span<const int> indicesContainer, std::optional<gsl::span<const o2::emcal::CellLabel>> cellLabelContainer = std::nullopt)
void setContainer(gsl::span<const o2::emcal::Cluster> clusterContainer, gsl::span<const InputType> cellContainer, gsl::span<const int> indicesContainer, gsl::span<const o2::emcal::CellLabel> cellLabelContainer = {})
{
mClustersContainer = clusterContainer;
mInputsContainer = cellContainer;
mCellsIndices = indicesContainer;
if (!getLookUpInit()) {
setLookUpTable();
}
if (cellLabelContainer) {
mCellLabelContainer = cellLabelContainer.value();
if (!cellLabelContainer.empty()) {
mCellLabelContainer = cellLabelContainer;
}
}

Expand Down