-
Notifications
You must be signed in to change notification settings - Fork 157
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
feat: Introduce vertex performance writer #776
feat: Introduce vertex performance writer #776
Conversation
Since you took the time to collect these commands, may I ask you to integrate them into the (I think we already have a Pythia8 job, which could be adapted to your needs, but the other examples are not covered yet) |
Codecov Report
@@ Coverage Diff @@
## main #776 +/- ##
=======================================
Coverage 48.64% 48.64%
=======================================
Files 328 328
Lines 16898 16898
Branches 7934 7934
=======================================
Hits 8220 8220
Misses 3080 3080
Partials 5598 5598 Continue to review full report at Codecov.
|
Hi, so currently there's still some problems with running some of these example (see e.g. #774 ) and especially the truth tracking part would sometimes just segfault. I guess this should be fixed before adding it to the CI script, right? But I agree that it would be nice to have it in there |
4f27924
to
027c5b9
Compare
…t vertex performance
…ctor acceptance and acceptance+tracking efficiency number of vertices
027c5b9
to
a6941f1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @baschlag , the PR looks nice to me. I have some naming suggestions. Also, for the Root based writer and reader, I find it's always helpful to add some description of what is exactly read in or written out, in particular what one entry in the tree represents.
Examples/Io/Root/include/ActsExamples/Io/Root/RootTrajectoryParametersWriter.hpp
Outdated
Show resolved
Hide resolved
Examples/Io/Root/include/ActsExamples/Io/Root/RootVertexPerformanceWriter.hpp
Show resolved
Hide resolved
Examples/Io/Root/include/ActsExamples/Io/Root/RootVertexPerformanceWriter.hpp
Outdated
Show resolved
Hide resolved
Examples/Io/Root/include/ActsExamples/Io/Root/RootVertexPerformanceWriter.hpp
Outdated
Show resolved
Hide resolved
…umber of entries in vertex performance writer
Hi @XiaocongAi, thanks for your comments! I've addressed all of them and I hope the PR is now good to go in. Cheers, Bastian |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @baschlag , thank you for the update. I have a few minor follow-up comments which should be easy to address.
Examples/Io/Root/include/ActsExamples/Io/Root/RootTrajectoryParametersWriter.hpp
Show resolved
Hide resolved
Examples/Io/Root/include/ActsExamples/Io/Root/RootTrajectoryParametersReader.hpp
Outdated
Show resolved
Hide resolved
Examples/Io/Root/include/ActsExamples/Io/Root/RootTrajectoryParametersReader.hpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @XiaocongAi, thanks again for your comments. All of them have been addressed. Please have a look again, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I will approve.
This PR introduces a vertex performance writer to the examples which enables a full reconstruction chain (with truth tracking) from event generation to vertex reconstruction including vertexing performance writing at the very end.
The changes include:
Barcode
s to theParticle
class.//edit: A more sophisticated reco/true vertex match scheme has been added for the position resolution plots. True and reco vertices are now matched if at least 50% (default) of their tracks coincide.
A full reco chain could e.g. look like this: