Skip to content

Commit

Permalink
Adapt LegendGeSim to changes in [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
fhagemann committed Nov 11, 2024
1 parent 6229eb1 commit 09a0292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Random123 = "1.2"
RecipesBase = "1"
Requires = "0.5, 1"
SignalAnalysis = "0.4, 0.5, 0.6, 0.7, 0.8, 0.9"
SolidStateDetectors = "0.9.4 - 0.10"
SolidStateDetectors = "0.10.3"
StaticArrays = "0.12, 1"
Statistics = "1"
StatsBase = "0.32, 0.33, 0.34"
Expand Down
2 changes: 1 addition & 1 deletion src/legend_detector_to_ssd.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function LEGEND_SolidStateDetector(::Type{T}, meta::PropDict, env::Environment,
# "old" semiconductor
sc = detector.semiconductor
# new semiconductor with our temperature
semiconductor = SolidStateDetectors.Semiconductor(temperature, sc.material, sc.impurity_density_model, sc.charge_drift_model, sc.geometry)
semiconductor = SolidStateDetectors.Semiconductor(temperature, sc.material, sc.impurity_density_model, sc.charge_drift_model, sc.geometry, sc.charge_trapping_model)
# new detector with new semiconductor
detector = SolidStateDetector{T}(detector.name, semiconductor, detector.contacts, detector.passives, detector.virtual_drift_volumes)

Expand Down

0 comments on commit 09a0292

Please sign in to comment.