icecube / event-generator

IceCube event generator
GNU General Public License v3.0
1 stars 2 forks source link

Draw from flat distribution of the SPE charge. #20

Open fschlueter opened 8 months ago

fschlueter commented 8 months ago

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 commented 8 months ago

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.