Skip to content

Commit

Permalink
correct the wavelength range for optical photons in hpDIRC (#19)
Browse files Browse the repository at this point in the history
### 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?
  • Loading branch information
niwgit authored Mar 18, 2024
1 parent 49cc8c6 commit c3bde04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dd4pod/python/npsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c3bde04

Please sign in to comment.