-
Notifications
You must be signed in to change notification settings - Fork 30
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
Realistic BTOF digitization #1635
base: main
Are you sure you want to change the base?
Conversation
Update BTOFHitDigi.cc
Update BTOFHitDigi.h
Update BTOFHitDigi.cc
… distance relative to the center of the center cell. Now it's changed so spread is calculated relative to the true hit location.
…ighbors when cell ID from BitFieldDecoder for cellID is negative.
…ith dead spaces implemented.
…ion-clusterization
Capybara summary for PR 1635
|
Okay, last comment from me! The capybara report makes it seems like there's a few cases where a |
This is expected for 64 bit values. We often have upper 32 bit split into x and y coordinates that are non-zero and produce an overall large cellID. |
Ahhhhh gotcha! I see! |
Sorry I did not update this request for a month. Unfortunately I am having significant difficulty with my work visa so I am legally forbidden from performing any research related work at the moment. I will return to this request once I worked out my visa situation. |
No worries! We completely understand given the situation! Just let us know if you need help, and we'll be happy to jump in! |
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.
From what I see, all of my comments are addressed. I'm happy with the state of this, but let's keep this pending for others to have time to comment. We probably can use some time from the upcoming digi-in-tracking discussion, if there is a contention.
I have resolved my visa issue and resumed working. Since @veprbl changed the interface for LGADPulseGenerator (thank you for doing it), I believe all outstanding issues are resolved. I see that @ruse-traveler has requested changes but I don't see the request itself. @ruse-traveler can you restate your request please? I will have that resolved. Hopefully, this pull request is mature enough to be accepted. |
Those should be old requests! My requests have all been addressed, and I'm quite happy with this PR as-is! |
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.
This is a huge step! Thank you for all of the hard work on this!
Pulling this out of the merge queue for a second: were we going to wait until the tracking digitization discussion for any further comments? |
I am fine with one final discussion, but even if we don't, it shouldn't affect any other part of the simulation because the simulated ADC and TDC value are not used by any other class downstream, they are just dangling there. What I plan to do next is to submit another pull request soon after this one is approved, which consist of using these simulated ADC and TDC value to reconstruct hit location, and feed it to track reconstruction algorithm downstream. When that happen, it will definitely affect track reconstruction quality and we will have another round of discussion to test. If you mean by "tracking digitization discussion" that you want to study the effect of digitization on track reconstruction, it would be more appropriate to discuss it in the next pull request. With that being said, if you have any more issues that you want to discuss before the merge, I am happy to. Please let me know if you have any concerns. |
Let me clarify. There is no plan to have a target discussion of this PR. We are putting some time between approval and merge to let people comment on immediate concerns. The discussion will be on getting timing aspects of digitization right in the existing codes (prompted by discussion regarding digi simulation for MPGD/MAPS trackers). We will follow up with plan of changes after that. |
Okay got it. We shell wait for the responses. |
…alidity of a cellID when finding neighbor. m_converter throws runtime_error and not invalid_argument exception.
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.
Still good
Briefly, what does this PR introduce?
It's an attempt to make LGAD sensor response for Barrel TOF more realistic by doing the following,
Noise, edge correction and time talk correction will be developed in the future.
What kind of change does this PR introduce?
Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
Does this PR change default behavior?
It replaces the content of "TOFBarrelRecHit" with results of this new clusterization. It was originally just geant point + random smearing. I have communicated to the reconstruction group and they advise that I submit this pull request so they can study the effect of having this new digitization/clusterization algorithm. They will decide if I should save the data in a new branch or replace the origin content.