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

Updated vertexing: link to the code that is in Delphes #247

Merged
merged 10 commits into from Mar 27, 2023

Conversation

EmanuelPerez
Copy link
Contributor

  • Update of vertexing code: move to the code from Franco B that is in Delphes.

    • So far: the vertexing code from Franco (an old version of it) had been copied/pasted into FCCAnalyses, in VertexFitterSimple (that was dumb of course, but easy, e.g. no need to figure out how to compile the FCCAnalyses code using delphes as a library). Now Delphes is linked properly, and the Vertexing code of FCCAnalyses has been purged from all the code that had been copied.
    • Moreover: the vertexing code of Franco is now an updated version (see his presentation at the Physics Performance meeting of July 2022).
    • The FCCAnalyses method that retrieves the primary tracks has been updated. Updated the vertexing examples to comply with the updated primary tracks retrieval.
  • Simplified the gymnastic in delphes-edm4hep translations due to meters-mm units; Added converters between the edm4hep and delphes conventiond for track parameters and convariance matrices; Small bugfix in get_PrimaryTracks.

  • Added example for Bs to Ds K

…elphes.

So far: the vertexing code from Franco (an old version of it) had been copied/pasted into FCCAnalyses, in VertexFitterSimple
(that was dumb of course, but easy, e.g. no need to figure out how to compile the FCCAnalyses code using delphes as a library).
Now Delphes is linked properly, and the Vertexing code of FCCAnalyses has been purged from all the code that had been copied.

Moreover: the vertexing code of Franco is now an updated version (see his presentation at the Physics Performance meeting of July 2022).

The FCCAnalyses method that retrieves the primary tracks has been updated - the old code would still work, but is very unefficient,
with plenty of the (new) VertexFit objects created in a recursive method. Performance recovered with this update.

Updated the vertexing examples to comply with the updated primary tracks retrieval.
…ue to meters-mm units;

Added converters between the edm4hep and delphes conventiond for track parameters and convariance matrices;
Small bugfix in get_PrimaryTracks.
…he simplifications made in the previous commit;

- added an example in examples/FCCee/tutorials/vertexing that shows how to use the VertexMore class of Franco.
The example, analysis_Bs2DsK_MCseeded.py, reconstructs the Bs vertex in Bs to Ds(KKpi)K using the tracks that are
matched to the MC-truth particles from this decay. A simple script, plots_Bs2DsK.x, makes basic validation plots.
@BrieucF BrieucF changed the title WIP: Updated vertexing: link to the code that is in Delphes Updated vertexing: link to the code that is in Delphes Mar 16, 2023
EmanuelPerez and others added 5 commits March 23, 2023 10:24
…e in this PR:

- update of XPtoPar to VertexingUtils::XPtoPar (wrapper to the code that is in delphes)
- some simplifications, making use of the conversion methods now included in VertexingUtils (Delphes2Edm4hep_TrackParam and Delphes2Edm4hep_TrackCovMatrix)
added utilities for smearing dndx and tof
@kjvbrt kjvbrt merged commit d6858e3 into HEP-FCC:master Mar 27, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants