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

Uniform random picking of points on detector surfaces for noise studies #1335

Open
wdconinc opened this issue Oct 17, 2024 · 2 comments
Open
Labels

Comments

@wdconinc
Copy link
Contributor

Is there a functionality in DD4hep to pick uniformly distributed random points on a detector surface? We have one of our collaborators working on implementing random tracking pixels firing (shot noise) in addition to the simulated physics events, to study impact on track reconstruction efficiency.

I was looking at the DDRec::Surface class but don't see such functionality, but this may be implemented elsewhere. I was also looking at the DDDigi subtree (including DigiPoissonNoise) but I was not able to discern how to adapt that to this use case.

@MarkusFrankATcernch
Copy link
Contributor

No there is not.
This problem is highly linked to #1297
and #580 .
A even only half way efficient generic solution is close to impossible to implement.
The impossibility of such an implementation effectively stopped generic noise handling in DDDigi.

Possible solutions are only possible if a segmentation allows to enumerate easily it's cells like rectangular wafers etc.
If you can come up with a sound idea, I am happy to implement!

@wdconinc
Copy link
Contributor Author

Would a non-generic solution be acceptable, e.g. only certain surfaces or certain shapes at first, but with a return value that makes it clear when the request failed?

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

No branches or pull requests

2 participants