Skip to content
Snippets Groups Projects
Commit 18b6004a authored by Philippe Canal's avatar Philippe Canal
Browse files

Correct a case where we need to load the TClonesArray but did not properly...

Correct a case where we need to load the TClonesArray but did not properly detect that it was stored in a top level branch


git-svn-id: http://root.cern.ch/svn/root/trunk@15353 27541ba8-7e3a-0410-8455-c3a389f83636
parent 244c9306
No related branches found
No related tags found
No related merge requests found
// @(#)root/treeplayer:$Name: $:$Id: TTreeFormula.cxx,v 1.194 2006/02/22 06:59:15 pcanal Exp $
// @(#)root/treeplayer:$Name: $:$Id: TTreeFormula.cxx,v 1.195 2006/04/19 08:22:26 rdm Exp $
// Author: Rene Brun 19/01/96
/*************************************************************************
......@@ -2555,7 +2555,8 @@ TLeaf* TTreeFormula::GetLeafWithDatamember(const char* topchoice,
continue;
} else {
clonesinfo = new TFormLeafInfoClones(cl, 0);
Bool_t toplevel = (branch == branch->GetMother());
clonesinfo = new TFormLeafInfoClones(cl, 0, toplevel);
clones = (TClonesArray*)clonesinfo->GetLocalValuePointer(leafcur,0);
}
if (clones) cl = clones->GetClass();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment