From c3bde047048b2d62e00844daafeda10bb020fa3e Mon Sep 17 00:00:00 2001 From: Nilanga Wickramaarachchi Date: Mon, 18 Mar 2024 14:30:15 -0400 Subject: [PATCH] correct the wavelength range for optical photons in hpDIRC (#19) ### Briefly, what does this PR introduce? Currently the efficiency map in stacking action for optical photons in hpDIRC uses the wavelength range 200 - 700 nm. This PR changes the range to 180 - 678 nm to match with the range used in standalone DIRC simulation. ### What kind of change does this PR introduce? - [x ] Bug fix (issue #__) - [ ] New feature (issue #__) - [ ] Documentation update - [ ] Other: __ ### Please check if this PR fulfills the following: - [ ] Tests for the changes have been added - [ ] Documentation has been added / updated - [ ] Changes have been communicated to collaborators ### Does this PR introduce breaking changes? What changes might users need to make to their code? ### Does this PR change default behavior? --- src/dd4pod/python/npsim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dd4pod/python/npsim.py b/src/dd4pod/python/npsim.py index 25ea0b9..611ecf5 100755 --- a/src/dd4pod/python/npsim.py +++ b/src/dd4pod/python/npsim.py @@ -64,8 +64,8 @@ def setupCerenkov(kernel): { "name": "OpticalPhotonEfficiencyStackingAction", "parameter": { - "LambdaMin": "200*nm", - "LambdaMax": "700*nm", + "LambdaMin": "180*nm", + "LambdaMax": "678*nm", "LogicalVolume": "bar_vol", "Efficiency": [e/100. for e in [ 0, 0, 14.0, 14.8, 14.5, 14.9, 14.4, 14.2, 13.9, 14.6, 15.2, 15.7, 16.4, 16.9, 17.5,