-
Notifications
You must be signed in to change notification settings - Fork 498
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
PWGHF: Ds-h correlation, effciency processes modified #7089
Conversation
Error while checking build/O2Physics/o2 for 74cc15c at 2024-07-31 14:50:
Full log here. |
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 @scattaru, apart from some minor comments, I have a substantial one about the logic of your implementation. You first loop over reconstructed collisions, you get the corresponding MC collision and then you loop over the generated particles associated to the MC collision. However, in case of split vertices you will have double counts (because you will have multiple times the same MC collision and hence you will loop multiple times on the same generated particles). I would rather reverse the logic and loop over the MC collisions, check if they have at least a reco collision, and in this case loop over generated collisions.
Co-authored-by: Fabrizio <[email protected]>
Co-authored-by: Fabrizio <[email protected]>
Co-authored-by: Fabrizio <[email protected]>
Co-authored-by: Fabrizio <[email protected]>
Co-authored-by: Fabrizio <[email protected]>
Hi @fgrosa, thanks a lot for the suggestions! You are right, I have not considered this case of the split vertices. I have reversed the logic in order to loop on the generated collision and then take the reconstructed collision. I have defined a configurable |
Thanks @scattaru! |
) * Efficiency process modified * Efficiency processes modification * Fixed If statement had no body * Fixed warning messages * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Implement suggestion on the logic --------- Co-authored-by: Fabrizio <[email protected]>
) * Efficiency process modified * Efficiency processes modification * Fixed If statement had no body * Fixed warning messages * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Implement suggestion on the logic --------- Co-authored-by: Fabrizio <[email protected]>
) * Efficiency process modified * Efficiency processes modification * Fixed If statement had no body * Fixed warning messages * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Update PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx Co-authored-by: Fabrizio <[email protected]> * Implement suggestion on the logic --------- Co-authored-by: Fabrizio <[email protected]>
Dear all,
I have modified the processes for evaluating both the candidate and associated particle efficiencies in order to consider at the kinematic level only those collisions which are reconstructed with the same selections applied on data.
Let me know for any comments,
Cheers,
Samuele