
fix bug https://savannah.cern.ch/bugs/?50209 when calculating the momentum for interpreted functions

improve calculation of Momentum and CentralMomentum by avoiding the creation of an internal TF1 based on a static global TF1 pointer. Use directly integrator class with an internal wrapper for TF1.


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

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