Message: Boundary absorption or transmission? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Boundary absorption or transmission? 

Forum: Processes Involving Optical Photons
Date: 25 Mar, 2010
From: <icx719>

Hi,

I am simulating light transportation in scintillators wrapped by diffuse
reflectors with different reflective coefficients RC. One problem I met is, 
too many optical photons are directly absorbed on dielectrc_dielectric 
surface but not transmitted through it if the RC is set to be small. 
So I looked the code in G4OpBoundaryProcess.cc and found the following 
statements:


418	else if (type == dielectric_dielectric) {
419
420	  if ( theFinish == polishedfrontpainted ||
421	       theFinish == groundfrontpainted ) {
422	          if( !G4BooleanRand(theReflectivity) ) {
423		    DoAbsorption();
424		  }
425	          else {
426		    if ( theFinish == groundfrontpainted )
427					theStatus = LambertianReflection;
428		    DoReflection();
429		  }
430	  }
431	  else {
432               if( !G4BooleanRand(theReflectivity) ) {
433                 DoAbsorption();
434               }
435               else {
436                 DielectricDielectric();
437               }
438	  }
439	}

for an optical surface with theFinish == groundbackpainted, the code will 
first judge whether the photon should be absorbed or not according to the 
given reflectivity, and then choose reflection or refraction by calling 
DielectricDielectric(). Is it not wrong? Shouldn't it be first judged if 
transmission of reflection happens? 

Thanks for advices!

Yong

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

1 Feedback: Re: Boundary absorption or transmission?   (Gumplinger Peter - 25 Mar, 2010)
 Add Message Add Message
to: "Boundary absorption or transmission?"

 Subscribe Subscribe

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