Message: Re: optical transmission and reflection though a layer between two materials with polished surfaces Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: optical transmission and reflection though a layer between two materials with polished surfaces 

Forum: Processes Involving Optical Photons
Re: Question optical transmission and reflection though a layer between two materials with polished surfaces
Re: Feedback Re: optical transmission and reflection though a layer between two materials with polished surfaces (Gumplinger Peter)
Re: Question Re: optical transmission and reflection though a layer between two materials with polished surfaces
Re: Feedback Re: optical transmission and reflection though a layer between two materials with polished surfaces (Gumplinger Peter)
Date: 03 Apr, 2010
From: <Mike>

Thanks Peter for the fast answer.

Yes I mean a optical photon (generated by the scintillation process) which is being tracked and is at the boundary. I need the energy of that photon. This photonenergy is written in DetectorConstruction.cc:

const G4int NUMENTRIES = 32;

G4double photonenergy[NUMENTRIES] = {2.034*eV, ......, 4.136*eV}; G4double rindex[NUMENTRIES] = {1.3435, ......, 1.3608}; G4double absorption[NUMENTRIES] = {344.8*cm, ......, 1450.0*cm];

G4MaterialPropertiesTable *MPT = new G4MaterialPropertiesTable();

MPT -> AddConstProperty("SCINTILLATIONYIELD",100./MeV);

MPT -> AddProperty("RINDEX",photonenergy,rindex,NUMENTRIES}; MPT -> AddProperty("ABSLENGTH",photonenergy,absorption,NUMENTRIES};

scintillator -> SetMaterialPropertiesTable(MPT);

I need the energy, e.g. 2.034, which is read by a function, which I wrote and placed in G4OpBoundaryProcess.cc to search a LUT, take the values from the LUT and calculate the new MomentumDirection.

I tried: G4double G4MaterialPropertyVector* Rindex; photonenergy = Rindex->GetPhotonEnergy(Rindex1) but got totally different values, e.g. 5E-6, and not one of these {2.034, ......, 4.136};

I also tried: G4double photonenergy=OldMomentum/eV; But OldMomentum/eV is a vector and not a double, which I should have known before.

I would be glad if someone can help me.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: optical transmission and reflection though a layer between two materials with polished surfaces   (Gumplinger Peter - 13 Apr, 2010)
(_ Feedback: Re: optical transmission and reflection though a layer between two materials with polished surfaces   (Mike - 20 May, 2010)
 Add Message Add Message
to: "Re: optical transmission and reflection though a layer between two materials with polished surfaces"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews