GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » GEM tracking
Re: GEM tracking [message #8227 is a reply to message #8221] Wed, 15 April 2009 16:03 Go to previous messageGo to previous message
Radoslaw Karabowicz is currently offline  Radoslaw Karabowicz
Messages: 108
Registered: June 2004
Location: GSI
continuous participant
From: *gsi.de
Yes, one of the two hit coordinates I set always to zero, while the other is set to the radius distance of the hit to the center. The errors are then corresponding to the error in radius (hit->GetDr()), and error perpendicular to it (hit->GetDp()).
Concequently, the whole DetectorPlane is rotated by the angle of the hit. I hope I did it right, at least the track position (trk->getPos()Wink corresponds to the point I have insterted there.

Don't I do it correctly?, first setting the vectors uu and vv:

TVector3 oo (0.,0.,hit->GetZ()),
uu ( TMath::Sin(phiAValue), TMath::Cos(phiAValue),0),
vv ( TMath::Cos(phiAValue),-TMath::Sin(phiAValue),0);

and then setting the detector plane using the vectors:

setDetPlane(DetPlane(oo,uu,vv));

I hope it was tested before.
I wanted to have the errors expressed in Dr and Dp, as it seemed to me the best choise.

yours,
radek
 
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: change in genfit exception handling
Next Topic: GEM Tracking inside LHETRACK
Goto Forum:
  


Current Time: Fri Dec 13 03:55:02 CET 2024

Total time taken to generate the page: 0.00893 seconds