|
|
Re: URGENT: geane - coordinate system [message #5099 is a reply to message #5098] |
Thu, 27 September 2007 15:46 |
Andrea Fontana
Messages: 32 Registered: May 2007
|
continuous participant |
From: *pv.infn.it
|
|
Hi Sebastian,
the reason why the geane system is with beam along x axis
is, as far as I know, historical and we had adopted this
convention to properly call geane. We can perhaps think
of a different approach, but in all our tests it did not seem
necessary so far.
Regarding CbmTrackParP, I think the comment is not correct:
all the calculations in SD are internally done with the
convention (q/p,v',w',v,w). See for instance the calculation
of the covariance matrix in SD, where we write:
...
fDQp = TMath::Sqrt(fabs(fCovMatrix[0]));
fDTV = TMath::Sqrt(fabs(fCovMatrix[5]));
fDTW = TMath::Sqrt(fabs(fCovMatrix[9]));
fDV = TMath::Sqrt(fabs(fCovMatrix[12]));
fDW = TMath::Sqrt(fabs(fCovMatrix[14]));
...
See also our report for the SD definition.
Hope this helps.
Ciao,
Andrea
|
|
|
|
|
|
|
|
|
|
|
Re: URGENT: geane - coordinate system [message #5116 is a reply to message #5113] |
Fri, 28 September 2007 14:17 |
Sebastian Neubert
Messages: 282 Registered: March 2006 Location: Munich
|
first-grade participant |
From: *e18.physik.tu-muenchen.de
|
|
Hi!
I have look into CbmTrackParP and I found the place where the confusion sets in:
TVector3 positionsd = util.FromMARSToSDCoord(TVector3(fX, fY, fZ), forigin, fiver, fjver, fkver);
fU = positionsd.X(); // CHECK
fV = positionsd.Y(); // CHECK
fW = positionsd.Z(); // CHECK
Since fV and fW are used in the trackrepresentation it is implicetely assumed, that X is along the track. So it has indeed nothing to do with the beam-axis.
In other words:
I would like to have: pos=(1,1,0) mom=(0.1,0,1) in MARS
when being projected onto a plane
o(0,0,0) u(1,0,0) v(0,1,0)
to give
v=1; w=1; v'=0.1; w'=0;
this is currently not the case because of the code shown above.
instead one would get
u=1; v=1; u'=0.1; v'=0;
In principle we should use fU and fV or build in some conversion somewhere.
Still thinking about it....
Cheers! Sebastian.
Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
|
|
|
|
|
|