Re: McTruthMatch problems [message #16777 is a reply to message #16776] |
Thu, 05 June 2014 19:23 |
Elisabetta Prencipe (2)
Messages: 214 Registered: February 2013
|
first-grade participant |
From: *ikp.kfa-juelich.de
|
|
Hi Stefano,
in PndTrackAssociator I see that this problem occurs when:
PndTrackCandHit candHit = trackCand.GetSortedHit(ii);
Int_t trackID = -1;
if (candHit.GetDetId()==-1)
{
cout << "-W- PndMCTrackAssociator::Exec: Not identified Detector ID" << endl;
}
At this level only PndTracks are used, not directly GFtracks.
The HitID depends on which detector the candHit comes. In case the problem occurs, it is -1, of course.
Which parameters are you asking to print out? all detIDs?
I put a print out at line 338, before the end of the loop on PndTrack, in PndTrackAssociator.cxx.
cout<<candHit.GetDetId()<<endl;
Here attached is the result, running over 20 events, with several other debugging messages in reconstruction.
Thank you in advance for your help, Elisabetta
-
Attachment: reco2.log
(Size: 721.24KB, Downloaded 268 times)
|
|
|