New Module: DepositionPointCharge
From README.md
:
Module which deposits a defined number of charge carriers at a specific point within the active volume the detector. The number of charge carriers to be deposited can be specified in the configuration.
This module supports three different deposition models:
- In the
point
model, charge carriers are always deposited at the exact same position, specified via theposition
parameter, in every event of the simulation. This model ist mostly interesting for development of new charge transport algorithms, where the initial position of charge carriers should be known exactly. - In the
scan
model, the position where charge carriers are deposited changes with every event. The scanning positions are distributed such, that the volume of one pixel cell is homogeneously scanned. The total number of positions is taken from the total number of events configured for the simulation. If this number doesn't allow for a full illumination, a warning is printed, suggesting a different number of events. The pixel volume to be scanned is always placed at the center of the active sensor area. The scan model can be used to generate sensor response templates for fast simulations by generating a lookup table from the final simulation results. - The
mip
model allows to deposit charge carriers along a straight line through the sensor, perpendicular to its surface. Charge carriers are deposited linearly along this line with 80 electron-hole pairs per micrometer. The number of steps through the sensor can be configured using thenumber_of_steps
parameter.
Monte Carlo particles are generated at the respective positions, bearing a particle ID of -1. All charge carriers are deposited at time zero, i.e. at the beginning of the event.
Parameters
-
number_of_charges
: Number of charges to deposit inside the sensor. Defaults to 1. Only used for modelspoint
andscan
. -
number_of_steps
: Number of steps over the full sensor thickness at which charge carriers are deposited. Only used formip
model. Defaults to 100. -
model
: Model according to which charge carriers are deposited. Forpoint
, charge carriers are deposited at a specific point for every event. Forscan
, the point where charge carriers are deposited changes for every event. Formip
, charge carriers are deposited along a line through the full sensor thickness. Defaults topoint
. -
position
: Position in local coordinates of the sensor, where charge carriers should be deposited. Expects three values for local-x, local-y and local-z position in the sensor volume and defaults to0um 0um 0um
, i.e. the center of first (lower left) pixel. Only used for thepoint
andmip
models, the latter only uses the x and y coordinates.