GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » GENFIT for transverse momenta < 200 GeV/c strange?!
Re: GENFIT for transverse momenta < 200 GeV/c strange?! [message #11218 is a reply to message #11215] Mon, 22 November 2010 19:30 Go to previous messageGo to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *47-151.net24.it
Sorry, I was counting all the tracks, not only primary ones!

Now I filled the histo only with primary tracks and I have 880 entries (88%), so we are fine Smile

For the track association to the MCtrack, you can use the PndTrackID:
// genfit track
PndTrack *gtrk = (PndTrack*) gentrackarray->At(itrk);
// corresponding helix track
PndTrack *ltrk = (PndTrack*) recotrackarray->At(gtrk->GetRefIndex());
// with corresponding track ID
PndTrackID *ltrkID = (PndTrackID*) recotrackidarray->At(gtrk->GetRefIndex());

// from it you can get the MC track ID:  
int mcTrackID = ltrkID->GetTrackID();

Cheers,
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
Previous Topic: ROOT based track follower discussion.
Next Topic: Lhe tracking results: reconstruction error for transverse momenta <= 1 GeV/c, all five particles
Goto Forum:
  


Current Time: Mon Nov 11 09:41:12 CET 2024

Total time taken to generate the page: 0.00867 seconds