In TDatabasePDG::GetParticle, replace the TIter object by an explicit loop on all particles. This gives a huge gain in speed. A more important gain could be obtained in adding a TMap object in the class maintaining the association between a given PDG code and the corresponding particle.
In TDatabasePDG::GetParticle, replace the TIter object by an explicit loop
on all particles. This gives a huge gain in speed.
A more important gain could be obtained in adding a TMap object in the class
maintaining the association between a given PDG code and the corresponding
particle.


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

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