lucabaldini / hexsample

Solid-state hybrid detectors with hexagonal sampling.
https://lucabaldini.github.io/hexsample/
GNU General Public License v3.0
2 stars 0 forks source link

Adding beam options in hxsim #55

Open chiaratomaiuolo opened 5 months ago

chiaratomaiuolo commented 5 months ago

In hxsim.py, the test beam is generated inside the simulation as a GaussianBeam. It would be useful to add an option for choosing between different types of beams, such as a UniformBeam (to be implemented, useful for the hardware simulation of the custom readout chip) or a PointBeam(this is less interesting, it can be simulated using a narrow GaussianBeam), useful for testing.

chiaratomaiuolo commented 5 months ago

The UniformBeam has been implemented roughly defining the square containing the whole readout hexagonal grid. Now it is the right thing to do because every event that we generate should trigger. This should be modified when issue #49 will be closed and the MC structure changed.