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)
Date: 01 Apr, 2010
From: <Mike>

Thanks Peter for your suggestion. I am trying that in these days.

I have implemeted a function in G4ObBoundaryProcess.cc which needs the photon energy in eV of the scintillation photons, which is written in DetectorConstruction.cc. I tried to get the photon energy with the Function: G4MaterialPropertyVector* Rindex; PhotonenergyEW = Rindex->GetPhotonMomentum(Rindex1);

It didn't work. I got the following ERROR message during the compilation of Geant4.9.3:

src/G4OpBoundaryProcess.cc: In member function virtual G4ParticleChange* G4OpBoundaryProcess::PostStepDoIt(const G4Track&, const G4Step&): src/G4OpBoundaryProcess.cc:237: error: class G4MaterialPropertyVector has no member named GetPhotonMomentum

I looked it up and the class G4MaterialPropertyVector has this member function. I don't understand this error.

Does anyone know the origin of this error message or a easier way to access the photon energy?

Thanks

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 - 01 Apr, 2010)
(_ Question: Re: optical transmission and reflection though a layer between two materials with polished surfaces   (Mike - 03 Apr, 2010)
(_ 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