Commit 9867182c authored by J. Dudouet's avatar J. Dudouet
Browse files

correction of compilation error in TreeBuilder

parent 92b09a91
......@@ -261,9 +261,9 @@ void TreeBuilder::NewTree()
if(fTree == nullptr) {
fTree = new TTree(fTreeName.data(),fTreeName.data());
for(auto &fListOfDets: fListOfDets) {
fListOfDets->SetTree(fTree);
fListOfDets->InitTree();
for(auto &det: fListOfDets) {
det->SetTree(fTree);
det->InitTree();
}
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment