diff --git a/Framework/Core/include/Framework/AnalysisHelpers.h b/Framework/Core/include/Framework/AnalysisHelpers.h index 6c21ddcea1a40..c9fbc27f7f474 100644 --- a/Framework/Core/include/Framework/AnalysisHelpers.h +++ b/Framework/Core/include/Framework/AnalysisHelpers.h @@ -561,6 +561,28 @@ struct Partition { return mFiltered.get(); } + template + [[nodiscard]] auto rawSliceBy(o2::framework::Preslice const& container, int value) const + { + return mFiltered->rawSliceBy(container, value); + } + + [[nodiscard]] auto sliceByCached(framework::expressions::BindingNode const& node, int value, o2::framework::SliceCache& cache) const + { + return mFiltered->sliceByCached(node, value, cache); + } + + [[nodiscard]] auto sliceByCachedUnsorted(framework::expressions::BindingNode const& node, int value, o2::framework::SliceCache& cache) const + { + return mFiltered->sliceByCachedUnsorted(node, value, cache); + } + + template + [[nodiscard]] auto sliceBy(o2::framework::PresliceBase const& container, int value) const + { + return mFiltered->sliceBy(container, value); + } + expressions::Filter filter; std::unique_ptr> mFiltered = nullptr; gandiva::NodePtr tree = nullptr;