GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » Urgent fixes in FairGeanePro.cxx needed
Urgent fixes in FairGeanePro.cxx needed Tue, 31 March 2009 15:26
 Anonymous Poster From: *r.pppool.de
Dear Geane experts,

we found other floating point exceptions in FairGeanePro.cxx. I made a list of all divisions that need to be protected against division by zero. Thi is very important and in my opinion the main source of of instabilities in our tracking software. Please let me know about your progress. As I imagine error handling could be difficult in these cases, I want to suggest to use exceptions for that since they are so easy to use.

Cheers, Christian

line number and content:

762: a= 1./(x2-x1).Mag();
884: xpR[1] = 0.5*(xp32[0]*xp3[0]/xp3[1]+ xp3[1]);
919: it = t.SolveQuartic(d3/d4,d2/d4,d1/d4,d0/d4,sol4);
977: Angle = TMath::ACos((x1-xR).Dot(Pfinal-xR)/((x1-xR).Mag()*(Pfinal-xR).Mag()));
1048: m1 = 1./x21.Mag();
1064: m3 = 1./e3.Mag();
1096: xpR[1] = 0.5*(xp32[0]*xp3[0]/xp3[1]+ xp3[1]);
1127: Angle = TMath::ACos((x1-xR).Dot(Pfinal-xR)/((x1-xR).Mag()*(Pfinal-xR).Mag()));

 Urgent fixes in FairGeanePro.cxx needed By: Anonymous Poster on Tue, 31 March 2009 15:26 Re: Urgent fixes in FairGeanePro.cxx needed By: Felix Boehmer on Tue, 31 March 2009 16:16 Re: Urgent fixes in FairGeanePro.cxx needed By: asanchez on Tue, 31 March 2009 17:06 Re: Urgent fixes in FairGeanePro.cxx needed By: Sebastian Neubert on Tue, 31 March 2009 16:19 Re: Urgent fixes in FairGeanePro.cxx needed By: Sebastian Neubert on Tue, 31 March 2009 16:47 Re: Urgent fixes in FairGeanePro.cxx needed By: Lia Lavezzi on Tue, 31 March 2009 17:21 Re: Urgent fixes in FairGeanePro.cxx needed By: Sebastian Neubert on Tue, 31 March 2009 18:02 Re: Urgent fixes in FairGeanePro.cxx needed By: Anonymous Poster on Tue, 31 March 2009 23:15 Re: Urgent fixes in FairGeanePro.cxx needed By: Anonymous Poster on Wed, 01 April 2009 00:19 Re: Urgent fixes in FairGeanePro.cxx needed By: Anonymous Poster on Wed, 01 April 2009 00:25 Re: Urgent fixes in FairGeanePro.cxx needed By: Anonymous Poster on Wed, 01 April 2009 00:27
 Previous Topic: problem with TrackCand Next Topic: WirepointHitPolicy detplane implementation
Goto Forum:

Current Time: Mon May 27 11:23:41 CEST 2024

Total time taken to generate the page: 0.00973 seconds