426 |
TBranchElement *tb = (TBranchElement*)branch_array->At(l); |
TBranchElement *tb = (TBranchElement*)branch_array->At(l); |
427 |
Int_t type = tb->GetType(); |
Int_t type = tb->GetType(); |
428 |
Int_t atype = tb->GetStreamerType() - 20; |
Int_t atype = tb->GetStreamerType() - 20; |
429 |
Int_t len = (tb->GetInfo()->GetLengths())[tb->GetID()]; |
// Int_t len = (tb->GetInfo()->GetLengths())[tb->GetID()]; |
430 |
|
Int_t len = tb->GetInfo()->GetLength(tb->GetID()); |
431 |
Int_t length = min(len,dlen); |
Int_t length = min(len,dlen); |
432 |
// |
// |
433 |
// printf("Branches : type is %i type is %i tb getname %s slen %i slength %i\n",atype,type,tb->GetName(),len,length); |
// printf("Branches : type is %i type is %i tb getname %s slen %i slength %i\n",atype,type,tb->GetName(),len,length); |
660 |
TBranchElement *stb = (TBranchElement*)tb->FindBranch(name); |
TBranchElement *stb = (TBranchElement*)tb->FindBranch(name); |
661 |
Int_t stype = stb->GetType(); |
Int_t stype = stb->GetType(); |
662 |
Int_t satype = stb->GetStreamerType() - 20; |
Int_t satype = stb->GetStreamerType() - 20; |
663 |
Int_t slen = (stb->GetInfo()->GetLengths())[stb->GetID()]; |
// Int_t slen = (stb->GetInfo()->GetLengths())[stb->GetID()]; |
664 |
|
Int_t slen = stb->GetInfo()->GetLength(stb->GetID()); |
665 |
Int_t slength = min(slen,dlen); |
Int_t slength = min(slen,dlen); |
666 |
// printf("SubBranches : atype is %i type is %i tb getname %s slen %i slength %i\n",satype,stype,stb->GetName(),slen,slength); |
// printf("SubBranches : atype is %i type is %i tb getname %s slen %i slength %i\n",satype,stype,stb->GetName(),slen,slength); |
667 |
switch (stype){ |
switch (stype){ |