Commit 98fbe360 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

TransientPropagation: add tests for impact ionization

parent 462a4f9b
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
# SPDX-FileCopyrightText: 2023 CERN and the Allpix Squared authors
# SPDX-License-Identifier: MIT

#DESC tests functionality of impact ionizations in high-field regions
[Allpix]
detectors_file = "detector.conf"
number_of_events = 1
random_seed = 0

[DepositionPointCharge]
model = "fixed"
source_type = "point"
position = 445um 220um 50um
number_of_charges = 1

# We use a custom field here to not trigger the warning about linear fields being inappropriate
[ElectricFieldReader]
model = "custom"
field_function = "[0]*z + [1]"
field_parameters = -30kV/cm/cm, -170kV/cm

[WeightingPotentialReader]
model = pad

[TransientPropagation]
log_level = DEBUG
temperature = 293K
charge_per_step = 1

timestep = 1ps
multiplication_model = "okuto"
multiplication_threshold = 100kV/cm

#PASS Calculated gain of 1.49596 for step of 106.418nm from field of 170.6kV/cm to 170.6kV/cm
 No newline at end of file
+33 −0
Original line number Diff line number Diff line
# SPDX-FileCopyrightText: 2023 CERN and the Allpix Squared authors
# SPDX-License-Identifier: MIT

#DESC checks that a warning is printed in cases the timestep is too coarse for impact ionization
[Allpix]
detectors_file = "detector.conf"
number_of_events = 0
random_seed = 0

[DepositionPointCharge]
model = "fixed"
source_type = "point"
position = 445um 220um 50um
number_of_charges = 1

# We use a custom field here to not trigger the warning about linear fields being inappropriate
[ElectricFieldReader]
model = "custom"
field_function = "[0]*z + [1]"
field_parameters = -110kV/cm/cm, -1000V/cm

[WeightingPotentialReader]
model = pad

[TransientPropagation]
log_level = DEBUG
temperature = 293K
charge_per_step = 1

multiplication_model = "okuto"
multiplication_threshold = 100kV/cm

#PASS (WARNING) [I:TransientPropagation:mydetector] Charge multiplication enabled with maximum timestep larger than 1ps\nThis might lead to unphysical gain values.
+34 −0
Original line number Diff line number Diff line
# SPDX-FileCopyrightText: 2023 CERN and the Allpix Squared authors
# SPDX-License-Identifier: MIT

#DESC tests generation of impact ionization charge carriers of opposite type
[Allpix]
detectors_file = "detector.conf"
number_of_events = 1
random_seed = 0

[DepositionPointCharge]
model = "fixed"
source_type = "point"
position = 445um 220um 50um
number_of_charges = 1

# We use a custom field here to not trigger the warning about linear fields being inappropriate
[ElectricFieldReader]
model = "custom"
field_function = "[0]*z + [1]"
field_parameters = -30kV/cm/cm, -190kV/cm

[WeightingPotentialReader]
model = pad

[TransientPropagation]
log_level = DEBUG
temperature = 293K
charge_per_step = 1

timestep = 1ps
multiplication_model = "okuto"
multiplication_threshold = 100kV/cm

#PASS Set of charge carriers ("h") from gain on (445.764um,219.457um,98.845um)