mc — Monte Carlo facilities#
Module documentation#
Monte Carlo facilities.
- class hexsample.mc.MonteCarloEvent(timestamp: float, energy: float, absx: float, absy: float, absz: float, num_pairs: int)[source]#
Descriptor for the ground truth of a simulated event.
Arguments#
- timestampfloat
The timestamp for the event in s.
- energyfloat
The energy of the event in eV.
- xfloat
The x coordinate of the photon absorption point in cm.
- yfloat
The y coordinate of the photon absorption point in cm.
- zfloat
The z coordinate of the photon absorption point in cm.
- num_pairsint
The number of electron-hole pairs created in the detector active volume.
- timestamp: float#
- energy: float#
- absx: float#
- absy: float#
- absz: float#
- num_pairs: int#