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 |
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".
|
|
|
Goto Forum:
Current Time: Thu Mar 28 15:35:20 CET 2024
Total time taken to generate the page: 0.00910 seconds
|