GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » RiemannTrackFinder crash.
Re: RiemannTrackFinder crash. [message #12226 is a reply to message #12221] Wed, 06 July 2011 15:31 Go to previous messageGo to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *pv.infn.it
Hi Tobias,
unfortunately the crash is still there, also with the updated code Sad

Since it is a very strange crash, I think it might be due to some uninitialized variables of PndRiemannTrack.

I made a test by adding an initialization to the variables when missing, like this (the values I put may be wrong, since I don' t know what the various variables are meant to be, I just put there a value to have them all initialized):

PndRiemannTrack::PndRiemannTrack() : fn(3),fav(3),fc(0),fcovPlane(4,4),fjacRXY(3,4),fcovRXY(3,3),fVerbose(0), fFitDone(false),fSZFitDone(false),fErrorCalcDone(false),fweight(0),ftref it(false),fVertexCut(0.5),fm(0),ft(0),fmError(0),ftError(0),fChi2(0),fStartAlpha(0),fStopAlpha(0)
{
fHits.clear();
}
and the crash is not there anymore... I don' t know if this might help.
Cheers,
Lia.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: new release pandaroot: "may11"
Next Topic: MVD covariance matrix = 0.
Goto Forum:
  


Current Time: Wed Jun 19 15:05:26 CEST 2024

Total time taken to generate the page: 0.00914 seconds