GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » RhoError class in pandaroot
Re: RhoError class in pandaroot [message #16768 is a reply to message #16767] Tue, 03 June 2014 13:12 Go to previous message
Elisabetta Prencipe (2) is currently offline  Elisabetta Prencipe (2)
Messages: 214
Registered: February 2013
first-grade participant
From: *
Hi Ralf,

thank you for your reply. So you confirm that for additional (basic) kimenatic variables nothing is already implemented. Then, I will do myself. no problem!
So, instead of Cov7(), you suggest the use of P4Cov(), where:

cov[0]0] is the variance for px
cov[1][1] is the variance for py
cov[2][2] is the variance for pz
cov[3][3] is the variance for E

Actually I checked, and I found that if I use Cov7(), and I evaluate cov[3][3], cov[4][4], cov[5][5] and cov[6][6],


if I use P4Cov(), as you suggested, to evaluate the variance of px,py,pz,E respectively, as indicated in my previous posting, results are identical, as expected. This is the output for the px variance, if I run in my macro Cov7(3,3) left side, or P4Cov(0,0) right side.

4.7454e-05, 4.7454e-05
7.9324e-05, 7.9324e-05
0.00021817, 0.00021817
0.000140595, 0.000140595
1.7677e-05, 1.7677e-05
0.000121126, 0.000121126
0.000230273, 0.000230273
0.000486443, 0.000486443
2.26079e-05, 2.26079e-05
1.85428e-05, 1.85428e-05
0.000152567, 0.000152567

cheers, Elisabetta
Read Message
Read Message
Read Message
Previous Topic: genfit in pandaroot - trunk rev 25180: test macros
Next Topic: [FIXED] PndTrkTracking2 statusflag array is not initialised
Goto Forum:

Current Time: Tue Jun 15 01:53:53 CEST 2021

Total time taken to generate the page: 0.02049 seconds