Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track covariance to be changed #10

Closed
clementhelsens opened this issue Nov 23, 2020 · 6 comments
Closed

Track covariance to be changed #10

clementhelsens opened this issue Nov 23, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@clementhelsens
Copy link
Contributor

clementhelsens commented Nov 23, 2020

Delphes returns the full covariance:

https://github.com/delphes/delphes/blob/master/modules/TrackCovariance.cc#L122

but in edm4hep we use the diagonal terms also stored in delphes:

covMatrix[0] = cand->ErrorD0 * cand->ErrorD0;
covMatrix[5] = cand->ErrorPhi * cand->ErrorPhi;
covMatrix[9] = varOmega;
covMatrix[12] = cand->ErrorDZ * cand->ErrorDZ;
covMatrix[14] = cand->ErrorCtgTheta * cand->ErrorCtgTheta;

We need to change that to store the full covariance matrix including correlations. Need to pay attention to the units

@clementhelsens clementhelsens added the enhancement New feature or request label Nov 23, 2020
@tmadlener
Copy link
Contributor

Here we also have to pay attention that the full covariance is only available from more recent delphes versions.

@vvolkl
Copy link
Contributor

vvolkl commented Nov 23, 2020

Yes indeed, In fact only the latest 3.4.3pre06 tag can be used for this, the previous ones have unit bugs. @clementhelsens I think we can just port the fccsw code for this, that has been tested, right? https://github.com/HEP-FCC/FCCSW/blob/master/Sim/SimDelphesInterface/src/DelphesSaveChargedParticles.cpp

@clementhelsens
Copy link
Contributor Author

@vvolkl , yes the FCC implementation has been tested. The only difference is that the track basis is different in FCCSW (ACTS like)

@andresailer
Copy link

Also note: key4hep/EDM4hep#108

@tmadlener
Copy link
Contributor

Is this still open or has this been fixed (see #27) and can be closed? In any case related: #46

@clementhelsens
Copy link
Contributor Author

yes, this can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants