GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » back-propagation with GEANE
Re: back-propagation with GEANE [message #10709 is a reply to message #10706] Wed, 19 May 2010 19:25 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
I would use use:

fPro->SetPoint(vtx);
fPro->PropagateToPCA(1,-1);
fPro->Propagate(fStart, fRes, PDGCode);


instead of:

fPro->SetPoint(vtx);
fPro->BackTrackToVirtualPlaneAtPCA(1);//1 means "closest approach to point"
fPro->Propagate(fStart, fRes, PDGCode); 


I am not sure the function BackTrackToVirtualPlaneAtPCA is the one you need, but I sould wrong.

What are you using as StartO, StartU, StartV?

Another comment:

PndMCTrack* myTrack = (PndMCTrack*)(fMCTracks->At(0));

//Get Start point and momentum from MC
PndSdsMCPoint* mcPoint = (PndSdsMCPoint*)(fMCHits->At(0));


I am not sure if this works. You should ask that mcPoint and mcTrack are the same particle: mcPoint->GetTrackID()==0. Without this check, you could also take some secondary and call them "antiprotons".


 
Read Message icon5.gif
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
Read Message
Read Message
Read Message
Previous Topic: [FIXED]A crash in reco
Next Topic: [ERRATA] STT plots from last collaboration meeeting
Goto Forum:
  


Current Time: Tue Apr 16 12:38:01 CEST 2024

Total time taken to generate the page: 0.01125 seconds