Revised CbmGeaneUtil, CbmGeanePro and CbmTrackParP. [message #6836] |
Wed, 04 June 2008 17:13 |
Lia Lavezzi
Messages: 291 Registered: May 2007 Location: Torino
|
first-grade participant |
From: *PV.INFN.IT
|
|
Hi geane users!
A new version of the CbmGeaneUtil has been uploaded on the svn repository. In this revised version the functions performing the transformation from/to the Mars (FromMarsToSC/ FromMarsToSD/ FromSDToMars/ FromSCToMars) have been rewritten with Alberto Rotondi in order to perform the transformation without affecting the track length (a more detailed explanation can be found in the comments to the functions).
In addition to this new functions have been added to the CbmTrackParP and CbmGeanePro classes in order to retrieve:
1) the MARS covariance matrix
2) the Transport matrix
3) the momentum in SD system
The new routines and functions have been tested, but obviously any additional test is welcome!
To be able to use them, please update your trackbase and geane directories and if you find some strange behaviour please let us know.
Best regards,
Lia.
|
|
|
Re: Revised CbmGeaneUtil, CbmGeanePro and CbmTrackParP. [message #6838 is a reply to message #6836] |
Wed, 04 June 2008 19:22 |
Sebastian Neubert
Messages: 282 Registered: March 2006 Location: Munich
|
first-grade participant |
From: *e18.physik.tu-muenchen.de
|
|
Hi Lia!
I cannot compile your latest checkin:
/afs/e18/panda/SIM/sneubert/pandaroot/trackbase/CbmGeaneUtil.cxx: In member function ‘void CbmGeaneUtil::FromMarsToSD(Double_t*, Double_t (*)[6], Double_t*, Double_t, Double_t*, Double_t*, Int_t&, Double_t&, Double_t*, Double_t*)’:
/afs/e18/panda/SIM/sneubert/pandaroot/trackbase/CbmGeaneUtil.cxx:1194: error: expected unqualified-id before ‘;’ token
make[2]: *** [trackbase/CMakeFiles/TrkBase.dir/CbmGeaneUtil.o] Error 1
make[1]: *** [trackbase/CMakeFiles/TrkBase.dir/all] Error 2
make: *** [all] Error 2
Any idea?
Seabstian.
Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
|
|
|
|
|
|
|
|
|
Re: Revised CbmGeaneUtil, CbmGeanePro and CbmTrackParP. [message #6873 is a reply to message #6866] |
Mon, 09 June 2008 18:35 |
Lia Lavezzi
Messages: 291 Registered: May 2007 Location: Torino
|
first-grade participant |
From: *pv.infn.it
|
|
Hi Sebastian,
I' m checking if I see the same behaviour in the STT case, but I don' t. Here is an example:
1) after the first kalman point, before the next prediction:
| 0 | 1 | 2 | 3 | 4 |
----------------------------------------------------------------------
0 | 0.001582 9.935e-05 3.01e-06 -5.364e-07 -2.429e-05
1 | 9.935e-05 0.0001191 -7.835e-05 -1.265e-05 0.0004208
2 | 3.01e-06 -7.835e-05 0.002611 4.307e-07 -0.02196
3 | -5.364e-07 -1.265e-05 4.307e-07 0.0002249 -8.773e-07
4 | -2.429e-05 0.0004208 -0.02196 -8.773e-07 1.31
2) after the prediction
| 0 | 1 | 2 | 3 | 4 |
----------------------------------------------------------------------
0 | 0.001582 0.00011 2.891e-06 -0.0001012 -2.728e-05
1 | 0.00011 0.0001211 -8.652e-05 -0.0001285 0.0005712
2 | 2.891e-06 -8.652e-05 0.002611 7.891e-05 -0.02447
3 | -0.0001012 -0.0001285 7.891e-05 0.0003601 -0.0004655
4 | -2.728e-05 0.0005712 -0.02447 -0.0004655 1.355
so no change in sign... I attach the modified version of GeaneTrackRep.cxx I use to this message (I wrote "CHECK" near to my changes, so they' re well recognizable), I don' t know if this can help. The trackbase and geane are the same as the repository ones (actually they are slightly different but the different should affect only the STT case).
Concerning the covariance matrices: in the extrapolation they are calculated directly into GEANE and their transformation between the different reference systems is handled by the CbmGeaneUtil routines, which have been checked applying the routine and its inverse routine successively and looking to find in output the same track parameters given as input; in the kalman filter step the only way to check their correctness is to check if the calculations are performed correctly: I don' t have any other way to see it the covariance matrices are ok, you can have a look to the values (if they are too big or too small you should notice it) and obviously the diagonal elements must be positive.
I will check again the code and I will also ask to Alberto Rotondi if he has some suggestion...
If I have some (good, I hope) news I will let you know
Lia.
|
|
|
|
|
|
|
|