14#include <unordered_set>
17static std::string GetStringRepr(
18 const std::unordered_multimap<std::string, std::shared_ptr<ROOT::Internal::RDF::RVariationBase>> &variationsMap)
20 std::unordered_set<ROOT::Internal::RDF::RVariationBase*> uniqueVariations;
23 for (
const auto &
e : variationsMap) {
24 const auto it = uniqueVariations.insert(
e.second.get());
28 const auto &variation = *
e.second;
31 for (
const auto &tag : variation.GetVariationNames())
33 s.erase(s.size() - 2);
34 s +=
"} affect column";
35 const auto &columns = variation.GetColumnNames();
36 if (columns.size() == 1)
37 s +=
" " + columns[0];
40 for (
const auto &col : columns)
42 s.erase(s.size() - 2);
std::string AsString() const
std::unordered_multimap< std::string, std::shared_ptr< ROOT::Internal::RDF::RVariationBase > > Variations_t
RVariationsDescription(const Variations_t &variations)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...