Commit 32607ee6 authored by Daniil Rastorguev's avatar Daniil Rastorguev
Browse files

Laser: added configuration for tests

parent 00cfc947
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -38,5 +38,8 @@ ADD_DEFINITIONS(-DALLPIX_LASER_DATA_DIRECTORY="${LASER_DATA_DIRECTORY}")
# Add source files to library
ALLPIX_MODULE_SOURCES(${MODULE_NAME} DepositionLaserModule.cpp)

# Register module tests
ALLPIX_MODULE_TESTS(${MODULE_NAME} "tests")

# Provide standard install target
ALLPIX_MODULE_INSTALL(${MODULE_NAME})
+19 −0
Original line number Diff line number Diff line
# SPDX-FileCopyrightText: 2022 CERN and the Allpix Squared authors
# SPDX-License-Identifier: MIT

#DESC tests reading of physical constants from the datafile

[Allpix]
detectors_file = "geometry_basic.conf"
number_of_events = 1

[DepositionLaser]
log_level = "DEBUG"
beam_geometry = "cylindrical"
number_of_photons = 1
source_position = 0 0 0
beam_direction = 0 0 1
wavelength = 1064nm


#PASS Wavelength = 1064nm, absorption length: 1.04054mm, refractive index: 3.5498
+6 −0
Original line number Diff line number Diff line
type = "monolithic"
geometry = "pixel"

number_of_pixels = 1 1
pixel_size = 1mm 1mm
sensor_thickness = 500um
+4 −0
Original line number Diff line number Diff line
[d1]
type = "cube_1mm"
position = 0 0 3mm
orientation = 0deg 0deg 0deg