Implement TF2::DistancetoPrimitive and add a protection to prevent calls to TF2::Eval outside the function range.
Implement TF2::DistancetoPrimitive and add a protection
to prevent calls to TF2::Eval outside the function range.


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

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