Commit 81b8544b authored by Chad Lantz's avatar Chad Lantz
Browse files

Set units for photon energy, fixing the problem of creating too many photons in the fibers

parent c7e063d1
......@@ -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};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment