73 if (fAreBranchesRegistered) {
77 const auto _branches = tree->GetListOfBranches();
78 for (Long64_t branchIndex = 0; branchIndex < _branches->GetEntriesFast();
81 static_cast<TBranchElement*
>(_branches->At(branchIndex));
82 const auto _branchName = _branch->GetName();
86 strcmp(_branch->GetClassName(),
"TClonesArray") == 0) {
88 std::make_unique<TClonesArray>(_branch->GetClonesName());
90 FairRootManager::Instance()->RegisterInputObject(
91 _branchName, _branch_data.get());
95 LOG(info) <<
"BmnOnlineSource::RegisterBranches() | Register "
100 fAreBranchesRegistered = kTRUE;