370 tree->SetMakeClass(1);
372 std::unordered_map<std::string, TBranch*> branches;
374 TIter branchIter(
tree->GetListOfBranches());
375 TObject* obj =
nullptr;
376 while ((obj = branchIter()))
378 TBranch* branch =
nullptr;
379 if ((branch =
dynamic_cast<TBranch*
>(obj)))
381 branches.emplace(branch->GetName(), branch);
382 TIter subBranchIter(branch->GetListOfBranches());
383 while ((obj = subBranchIter()))
385 if (
auto subBranch =
dynamic_cast<TBranch*
>(obj))
386 branches.emplace(subBranch->GetName(), subBranch);
392 for (
const auto& [name, branch] : branches)
394 if (name.find(
"AuxDyn.") != std::string::npos ||
395 name.find(
"Aux.") != std::string::npos)
397 TClass* branchClass =
nullptr;
398 EDataType branchType{};
399 branch->GetExpectedType(branchClass, branchType);
403 if (name.ends_with (
".m_persKey") || name.ends_with (
".m_persIndex"))
405 if (branchClass !=
nullptr && std::string_view (branchClass->GetName()).find (
"ElementLink<") != std::string_view::npos)
407 if (branch->GetListOfBranches()->GetEntries() > 0)
408 knownColumns.push_back (std::make_shared<ColumnReaderVectorSplitLink> (branch->GetName()));
414 if (branchClass ==
nullptr)
439 if (*branchClass->GetTypeInfo() ==
typeid(std::vector<float>))
442 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<double>))
445 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<char>))
448 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::int8_t>))
451 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::uint8_t>))
454 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::int16_t>))
457 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::uint16_t>))
460 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::int32_t>))
463 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::uint32_t>))
466 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::int64_t>))
469 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::uint64_t>))
472 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::vector<float>>))
475 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::vector<std::int32_t>>))
478 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::vector<std::uint32_t>>))
481 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::vector<std::uint64_t>>))
484 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::vector<std::vector<std::size_t>>>))
487 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::vector<std::vector<unsigned char>>>))
490 }
else if (*branchClass->GetTypeInfo() ==
typeid(std::vector<std::string>))