From karolos@fnal.gov:
From karolos@fnal.gov:

Improve the selection of the leaf used for size of an array in a leaflist by giving preference 
for the leaf inside the same branch and by adding support for explicit full path name.

Concretely the following now works properly:

TTree::Branch("JET1", &JET1, "njets/I:et[njets]/F:pt[njets]/F");
TTree::Branch("JET2", &JET2, "njets/I:et[njets]/F:pt[njets]/F");

and the following is now supported:

njets/I:et[JETS1.njets]/F:pt[JETS1.njets]

This fixes the issue 74244 in savannah (<http://savannah.cern.ch/bugs/?74244>)


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@36388 27541ba8-7e3a-0410-8455-c3a389f83636

pspe/root,sirinath/root,0x0all/ROOT,satyarth934/root,mattkretz/root,zzxuanyuan/root,tc3t/qoot,jrtomps/root,0x0all/ROOT,pspe/root,zzxuanyuan/root-compressor-dummy,sirinath/root,simonpf/root,abhinavmoudgil95/root,jrtomps/root,perovic/root,karies/root,ffurano/root5,perovic/root,strykejern/TTreeReader,evgeny-boger/root,gganis/root,mkret2/root,cxx-hep/root-cern,agarciamontoro/root,evgeny-boger/root,beniz/root,zzxuanyuan/root-compressor-dummy,smarinac/root,sawenzel/root,gbitzes/root,Duraznos/root,strykejern/TTreeReader,zzxuanyuan/root,nilqed/root,zzxuanyuan/root,buuck/root,zzxuanyuan/root,georgtroska/root,root-mirror/root,mattkretz/root,jrtomps/root,buuck/root,root-mirror/root,cxx-hep/root-cern,esakellari/root,georgtroska/root,buuck/root,esakellari/root,alexschlueter/cern-root,evgeny-boger/root,Dr15Jones/root,0x0all/ROOT,arch1tect0r/root,beniz/root,gganis/root,gganis/root,georgtroska/root,veprbl/root,pspe/root,omazapa/root-old,lgiommi/root,mhuwiler/rootauto,beniz/root,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,abhinavmoudgil95/root,arch1tect0r/root,esakellari/root,esakellari/my_root_for_test,buuck/root,agarciamontoro/root,BerserkerTroll/root,vukasinmilosevic/root,root-mirror/root,beniz/root,simonpf/root,omazapa/root,olifre/root,karies/root,davidlt/root,gganis/root,dfunke/root,buuck/root,sawenzel/root,sawenzel/root,sirinath/root,krafczyk/root,vukasinmilosevic/root,mkret2/root,strykejern/TTreeReader,mkret2/root,sawenzel/root,mhuwiler/rootauto,krafczyk/root,kirbyherm/root-r-tools,BerserkerTroll/root,dfunke/root,nilqed/root,omazapa/root,sawenzel/root,Duraznos/root,lgiommi/root,vukasinmilosevic/root,cxx-hep/root-cern,smarinac/root,veprbl/root,root-mirror/root,esakellari/my_root_for_test,simonpf/root,cxx-hep/root-cern,Dr15Jones/root,gganis/root,olifre/root,Duraznos/root,olifre/root,cxx-hep/root-cern,davidlt/root,omazapa/root,kirbyherm/root-r-tools,veprbl/root,strykejern/TTreeReader,alexschlueter/cern-root,esakellari/my_root_for_test,omazapa/root,omazapa/root-old,lgiommi/root,zzxuanyuan/root-compressor-dummy,omazapa/root-old,agarciamontoro/root,simonpf/root,satyarth934/root,mattkretz/root,veprbl/root,dfunke/root,gganis/root,bbockelm/root,cxx-hep/root-cern,nilqed/root,esakellari/my_root_for_test,thomaskeck/root,strykejern/TTreeReader,olifre/root,perovic/root,thomaskeck/root,mhuwiler/rootauto,Dr15Jones/root,kirbyherm/root-r-tools,BerserkerTroll/root,sirinath/root,sirinath/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,agarciamontoro/root,gganis/root,georgtroska/root,0x0all/ROOT,perovic/root,lgiommi/root,arch1tect0r/root,olifre/root,Duraznos/root,agarciamontoro/root,Duraznos/root,mhuwiler/rootauto,omazapa/root,krafczyk/root,esakellari/root,Y--/root,ffurano/root5,gbitzes/root,abhinavmoudgil95/root,sbinet/cxx-root,omazapa/root-old,bbockelm/root,esakellari/my_root_for_test,nilqed/root,mhuwiler/rootauto,zzxuanyuan/root,agarciamontoro/root,omazapa/root-old,sawenzel/root,root-mirror/root,pspe/root,mkret2/root,sbinet/cxx-root,lgiommi/root,omazapa/root-old,smarinac/root,vukasinmilosevic/root,agarciamontoro/root,gganis/root,bbockelm/root,zzxuanyuan/root,BerserkerTroll/root,Duraznos/root,smarinac/root,davidlt/root,georgtroska/root,jrtomps/root,Dr15Jones/root,pspe/root,dfunke/root,beniz/root,sbinet/cxx-root,mhuwiler/rootauto,krafczyk/root,gbitzes/root,krafczyk/root,gbitzes/root,bbockelm/root,karies/root,pspe/root,bbockelm/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,evgeny-boger/root,BerserkerTroll/root,zzxuanyuan/root-compressor-dummy,vukasinmilosevic/root,simonpf/root,omazapa/root-old,tc3t/qoot,mhuwiler/rootauto,sbinet/cxx-root,sbinet/cxx-root,esakellari/root,pspe/root,dfunke/root,satyarth934/root,Dr15Jones/root,omazapa/root,dfunke/root,pspe/root,tc3t/qoot,Y--/root,arch1tect0r/root,simonpf/root,vukasinmilosevic/root,davidlt/root,root-mirror/root,karies/root,esakellari/my_root_for_test,Duraznos/root,beniz/root,CristinaCristescu/root,BerserkerTroll/root,gbitzes/root,smarinac/root,nilqed/root,root-mirror/root,gganis/root,dfunke/root,alexschlueter/cern-root,arch1tect0r/root,abhinavmoudgil95/root,esakellari/root,cxx-hep/root-cern,gbitzes/root,satyarth934/root,simonpf/root,davidlt/root,georgtroska/root,omazapa/root,karies/root,mhuwiler/rootauto,mhuwiler/rootauto,georgtroska/root,krafczyk/root,mattkretz/root,olifre/root,sawenzel/root,zzxuanyuan/root,mhuwiler/rootauto,sirinath/root,mattkretz/root,omazapa/root,evgeny-boger/root,karies/root,Y--/root,ffurano/root5,mkret2/root,gganis/root,omazapa/root,nilqed/root,Y--/root,buuck/root,veprbl/root,Y--/root,nilqed/root,buuck/root,mkret2/root,vukasinmilosevic/root,0x0all/ROOT,sirinath/root,mattkretz/root,satyarth934/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,perovic/root,0x0all/ROOT,simonpf/root,omazapa/root,thomaskeck/root,satyarth934/root,tc3t/qoot,satyarth934/root,dfunke/root,bbockelm/root,kirbyherm/root-r-tools,veprbl/root,jrtomps/root,pspe/root,ffurano/root5,karies/root,BerserkerTroll/root,buuck/root,Y--/root,esakellari/my_root_for_test,lgiommi/root,lgiommi/root,CristinaCristescu/root,simonpf/root,sawenzel/root,pspe/root,esakellari/my_root_for_test,ffurano/root5,kirbyherm/root-r-tools,nilqed/root,agarciamontoro/root,alexschlueter/cern-root,smarinac/root,perovic/root,gganis/root,arch1tect0r/root,lgiommi/root,georgtroska/root,strykejern/TTreeReader,CristinaCristescu/root,0x0all/ROOT,jrtomps/root,nilqed/root,thomaskeck/root,lgiommi/root,Y--/root,Duraznos/root,Duraznos/root,beniz/root,zzxuanyuan/root-compressor-dummy,simonpf/root,sirinath/root,karies/root,abhinavmoudgil95/root,mkret2/root,arch1tect0r/root,mattkretz/root,buuck/root,0x0all/ROOT,tc3t/qoot,kirbyherm/root-r-tools,zzxuanyuan/root-compressor-dummy,buuck/root,CristinaCristescu/root,perovic/root,davidlt/root,krafczyk/root,root-mirror/root,davidlt/root,pspe/root,dfunke/root,satyarth934/root,kirbyherm/root-r-tools,mkret2/root,evgeny-boger/root,CristinaCristescu/root,arch1tect0r/root,veprbl/root,gbitzes/root,lgiommi/root,sbinet/cxx-root,smarinac/root,karies/root,zzxuanyuan/root,smarinac/root,esakellari/root,Y--/root,mkret2/root,tc3t/qoot,vukasinmilosevic/root,perovic/root,arch1tect0r/root,omazapa/root-old,evgeny-boger/root,tc3t/qoot,BerserkerTroll/root,jrtomps/root,esakellari/root,tc3t/qoot,karies/root,CristinaCristescu/root,sirinath/root,krafczyk/root,thomaskeck/root,bbockelm/root,jrtomps/root,Y--/root,abhinavmoudgil95/root,zzxuanyuan/root,beniz/root,sbinet/cxx-root,gbitzes/root,thomaskeck/root,omazapa/root,esakellari/root,buuck/root,zzxuanyuan/root,abhinavmoudgil95/root,arch1tect0r/root,mattkretz/root,davidlt/root,sbinet/cxx-root,dfunke/root,perovic/root,esakellari/root,gbitzes/root,esakellari/my_root_for_test,sawenzel/root,Duraznos/root,omazapa/root-old,ffurano/root5,mattkretz/root,satyarth934/root,veprbl/root,davidlt/root,veprbl/root,georgtroska/root,mkret2/root,dfunke/root,satyarth934/root,olifre/root,olifre/root,olifre/root,Y--/root,mattkretz/root,BerserkerTroll/root,zzxuanyuan/root,georgtroska/root,thomaskeck/root,vukasinmilosevic/root,veprbl/root,krafczyk/root,evgeny-boger/root,vukasinmilosevic/root,gbitzes/root,nilqed/root,CristinaCristescu/root,evgeny-boger/root,jrtomps/root,alexschlueter/cern-root,bbockelm/root,Y--/root,davidlt/root,CristinaCristescu/root,olifre/root,esakellari/root,CristinaCristescu/root,smarinac/root,jrtomps/root,CristinaCristescu/root,lgiommi/root,abhinavmoudgil95/root,sbinet/cxx-root,sirinath/root,Dr15Jones/root,thomaskeck/root,zzxuanyuan/root-compressor-dummy,jrtomps/root,bbockelm/root,tc3t/qoot,perovic/root,Duraznos/root,mkret2/root,agarciamontoro/root,strykejern/TTreeReader,abhinavmoudgil95/root,cxx-hep/root-cern,CristinaCristescu/root,alexschlueter/cern-root,karies/root,agarciamontoro/root,0x0all/ROOT,sawenzel/root,zzxuanyuan/root,gbitzes/root,simonpf/root,root-mirror/root,thomaskeck/root,Dr15Jones/root,omazapa/root-old,arch1tect0r/root,evgeny-boger/root,krafczyk/root,olifre/root,nilqed/root,root-mirror/root,beniz/root,sawenzel/root,BerserkerTroll/root,evgeny-boger/root,BerserkerTroll/root,sirinath/root,krafczyk/root,tc3t/qoot,veprbl/root,ffurano/root5,mattkretz/root,sbinet/cxx-root,omazapa/root-old,alexschlueter/cern-root,beniz/root,esakellari/my_root_for_test,sbinet/cxx-root,root-mirror/root,perovic/root,agarciamontoro/root,abhinavmoudgil95/root,georgtroska/root,mhuwiler/rootauto,smarinac/root,beniz/root,davidlt/root,abhinavmoudgil95/root