Re: crash in TrackConverter / FairLink [message #12165 is a reply to message #12160] |
Wed, 29 June 2011 13:29 |
StefanoSpataro
Messages: 2736 Registered: June 2005 Location: Torino
|
first-grade participant |
From: *to.infn.it
|
|
In reality I have just tried with the latest trunk and it seems to work, in my case.
However, maybe I have understood the problem.
In PndTrackCand, links are set in the AddHit functions:
AddLink(FairLink(detId, hitId));
The problem I can see here is that you are using the old detId definition, based on the PndDetectorList enum, and not the current one:
UInt_t detId = ioman->GetBranchId(branchName);
Maybe in FairLink the code is trying to find a branch defined by a "mispaced" detId -> crash.
In your local case, you could comment out the lines with AddLink of PndTrackCand.cxx.
I repeat, if you want I can spend some time on your tracking tasks to be compatible with the branch id definition. Just tell me, so that you can work on other tracking points.
|
|
|