Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Riccardo Longo
JZCaPA
Commits
81b8544b
Commit
81b8544b
authored
Nov 12, 2021
by
Chad Lantz
Browse files
Set units for photon energy, fixing the problem of creating too many photons in the fibers
parent
c7e063d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
MonteCarlo/src/Materials.cc
100644 → 100755
View file @
81b8544b
...
...
@@ -108,7 +108,7 @@ void Materials::DefineOpticalProperties(void){
// 2 eV == 620 nm
// 3.5 eV == 354 nm
// in nm: {650, 600, 500, 400, 300}
G4double
photonEnergy_UI
[
nEntries_UI
]
=
{
1.91
,
2.07
,
2.48
,
3.1
,
4.13
};
G4double
photonEnergy_UI
[
nEntries_UI
]
=
{
1.91
*
eV
,
2.07
*
eV
,
2.48
*
eV
,
3.1
*
eV
,
4.13
*
eV
};
G4double
silica_RIND_UI
[
nEntries_UI
]
=
{
1.6
,
1.6
,
1.6
,
1.6
,
1.6
};
G4double
silica_ABSL_UI
[
nEntries_UI
]
=
{
5329.
*
cm
,
3525.
*
cm
,
2322.
*
cm
,
885.
*
cm
,
271.
*
cm
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment