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

Draw from flat distribution of the SPE charge. #20

Open
fschlueter opened this issue Jan 8, 2024 · 1 comment
Open

Draw from flat distribution of the SPE charge. #20

fschlueter opened this issue Jan 8, 2024 · 1 comment

Comments

@fschlueter
Copy link
Contributor

As far as I understand this is an approximation (also indicated by the comment)

                    # ToDo: figure out actual chage distribution of pulses!
                    pulse_charges = self.random_service.uniform(
                        0.25, 1.75, size=num_pe)
@mhuen
Copy link
Collaborator

mhuen commented Jan 15, 2024

Yes. If you really want more accurate simulations with egenerator, then one might consider to train a model to simulate MCPE instead of reco pulses. The above would then simply be 1 photon and detector simulation would handle things afterwards.

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

No branches or pull requests

2 participants