Commit 71077a30 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

DepositionGeant4: add test case for record_all_tracks

parent 98bb91d6
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
# SPDX-FileCopyrightText: 2017-2022 CERN and the Allpix Squared authors
# SPDX-License-Identifier: MIT

#DESC runs a single Geant4 event and retrieves all tracks from the event, including those without connection to the sensor volume.
[Allpix]
detectors_file = "detector_scattering.conf"
number_of_events = 1
random_seed = 1

[GeometryBuilderGeant4]
world_material = "air"

[DepositionGeant4]
log_level = DEBUG
particle_type = "e-"
number_of_particles = 1
source_energy = 12GeV
source_position = 0um 0um -200mm
beam_size = 0
beam_direction = 0 0 1
record_all_tracks = true

[ElectricFieldReader]
model = "linear"
bias_voltage = 100V
depletion_voltage = 150V

[ProjectionPropagation]
temperature = 293K
propagate_holes = true

#PASS MCTrack originates at: (-2.19um,4.985um,-3.47689mm) and terminates at: (-2.711um,10.562um,-3.47454mm)
+14 −0
Original line number Diff line number Diff line
[block_of_stuff]
type = "box"
role = "passive"
size = 10mm 10mm 10mm
position = 0um 0um 0um
orientation_mode = "xyz"
orientation = 0 0 0
material = "aluminum"

[telescope0]
type = "timepix"
position = 0um 0um 20mm
orientation_mode = "xyz"
orientation = 0 0 0