GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » McTruthMatch problems
Re: McTruthMatch problems [message #16777 is a reply to message #16776] Thu, 05 June 2014 19:23 Go to previous messageGo to previous message
Elisabetta Prencipe (2) is currently offline  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 222 times)
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: hyperon fast simualtions
Next Topic: Overview of Different Methods of Running Over TTree / TNTuple
Goto Forum:
  


Current Time: Tue Apr 16 22:36:16 CEST 2024

Total time taken to generate the page: 0.01086 seconds