From Philippe: This patch extend the previous test to negative value (in addition to large value) of the index. It also adds the protection in the MakeClass case.
From Philippe:
This patch extend the previous test to negative value (in addition to
large value) of the index.
It also adds the protection in the MakeClass case.


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

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