GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » Tutorial macro
Re: Tutorial macro - tut_pid.C - crash due to kSigFloatingException [message #15377 is a reply to message #15166] Fri, 30 August 2013 11:20 Go to previous messageGo to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *pv.infn.it
Hi,
I made some tests yesterday and I asked Elisabetta to check the results with her events too and it results that the problem of geane is actually due to a track with momentum 0.
To be more clear: before the propagation there is a check on the "last" momentum, to be sure it is > 0, but afterwards the "first" momentum is fed into geane for the propagation. As pointed out also by Stefano, sometimes the first and last points have very different momenta and, in the case of the crash, the first momentum is 0 and so geane crashes.

Moreover in the test I made I get for the track failing in propagation:
first pos = (26.930000,65.389999,190.124405)
first mom = (0.000000,0.000000,0.000000)
last  pos = (26.930000,65.389999,190.124405)
last  mom = (0.628132,1.180328,3.604733)

So the first and last positions coincide (also, at a very high z, even though in the track cand list there are also mvd hits associated).

The track has flag = -1, so it could be easily skipped just by requesting that
if(track->GetFlag() < 0) continue;


Is it possible to add this line to skip wrongly fitted tracks? Is there a reason why we decided not to skip them?

Regards,
Lia.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] Bug in RhoCandList (?)
Next Topic: Pnd4CFitter - how to use it
Goto Forum:
  


Current Time: Sat Oct 12 01:23:06 CEST 2024

Total time taken to generate the page: 0.00778 seconds