forked from rat-pac/rat-pac
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add r11780 pmt, load surfaces from db, various fixes
* Modify "sphere" geometry to match "challenge" requirements * Add model for Hamamatsu R11780 HQE PMT * Load optical surfaces dynamically from DB rather than hard-coding in Materials.cc * Fix a failure to sample the PMT charge and write the front-end time, which was an oversight while sanitizing RAT for public use.
- Loading branch information
Showing
17 changed files
with
372 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Default is for zero cable delay, zero transit time | ||
// TODO: Index this by PMT type | ||
{ | ||
name: "PMTTRANSIT", | ||
valid_begin : [0, 0], | ||
valid_end : [0, 0], | ||
cable_delay: 0.0d, | ||
x: [ -0.001, 0.0, 0.001, ], | ||
y: [ 0.0d, 1.0d, 0.0d, ], | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// This is from the R11780 HQE | ||
{ | ||
name: "PMTTRANSIT", | ||
valid_begin : [0, 0], | ||
valid_end : [0, 0], | ||
cable_delay: 0.0d, | ||
x: [ -24.5196 , -23.5188 , -22.518 , -21.5172 , -20.5164 , -19.5156 , -18.5148 , -17.514 , -16.5132 , -15.5124 , -14.5116 , -13.5108 , -12.51 , -11.5092 , -10.5084 , -9.5076 , -8.5068 , -7.506 , -6.5052 , -5.5044 , -4.5036 , -3.5028 , -2.502 , -1.5012 , -0.5004 , 0.5004 , 1.5012 , 2.502 , 3.5028 , 4.5036 , 5.5044 , 6.5052 , 7.506 , 8.5068 , 9.5076 , 10.5084 , 11.5092 , 12.51 , 13.5108 , 14.5116 , 15.5124 , 16.5132 , 17.514 , 18.5148 , 19.5156 , 20.5164 , 21.5172 , 22.518 , 23.5188 , 24.5196 , 25.5204 , 26.5212 , 27.522 , 28.5228 , 29.5236 , 30.5244 , 31.5252 , 32.526 , 33.5268 , 34.5276 , 35.5284 , 36.5292 , 37.53 , 38.5308 , 39.5316 , 40.5324 , 41.5332 , 42.534 , 43.5348 , 44.5356 , 45.5364 , 46.5372 , 47.538 , 48.5388 , 49.5396 , 50.5404 , 51.5412 , 52.542 , 53.5428 , 54.5436 , 55.5444 , 56.5452 , 57.546 , 58.5468 , 59.5476 , 60.5484 , 61.5492 , 62.55 , 63.5508 , 64.5516 ] , | ||
y: [ 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0d , 0.00134046 , 0.00409797 , 0.0136918 , 0.0482947 , 0.149978 , 0.377568 , 0.670669 , 0.838628 , 0.894295 , 0.913406 , 0.922483 , 0.928094 , 0.931024 , 0.933609 , 0.935237 , 0.936673 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.937956 , 0.939143 , 0.940331 , 0.941709 , 0.942992 , 0.944792 , 0.94619 , 0.947492 , 0.948795 , 0.950365 , 0.951954 , 0.953524 , 0.954922 , 0.956722 , 0.958656 , 0.960208 , 0.962122 , 0.96375 , 0.965416 , 0.966833 , 0.968423 , 0.970395 , 0.97208 , 0.973516 , 0.975508 , 0.977346 , 0.979146 , 0.981329 , 0.983589 , 0.986098 , 0.988549 , 0.991517 , 0.995021 , 0.998085 , 1.0d ] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.