Changeset 19967 for trunk


Ignore:
Timestamp:
05/26/20 20:27:52 (4 years ago)
Author:
tbretz
Message:
Fixed another last minute change.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/rootifysql.cc

    r19966 r19967  
    901901
    902902        if (verbose>1)
    903             cout << (skip?" - ":" + ") << branch.c_str() << " [" << t << "] {" << (it==FileEntry::LUT.end()?'-':it->branch) << "}\n";
     903            cout << (skip?" - ":" + ") << leaflist.c_str() << " [" << t << "] {" << (it==FileEntry::LUT.end()?'-':it->branch) << "}\n";
    904904
    905905        // Create the container entry (must be emplace_back due to the std::string)
    906906        if (accurate)
     907            container.emplace_back(leaflist, "", it->type);
     908        else
    907909            container.emplace_back(leaflist, it->type);
    908         else
    909             container.emplace_back(leaflist, "", it->type);
    910910
    911911        if (skip)
     
    914914        // Create corresponding branches in all trees
    915915        for (auto itree=ttree.begin(); itree!=ttree.end(); itree++)
    916             itree[0]->Branch(l[i].c_str(), container[i].ptr, branch.c_str());
     916            itree[0]->Branch(l[i].c_str(), container[i].ptr, leaflist.c_str());
    917917
    918918        cols++;
Note: See TracChangeset for help on using the changeset viewer.