Message: Re: Problems with the G4OpticalSurfaces Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Problems with the G4OpticalSurfaces 

Keywords: Problems with implementing G4OpticalSurface for multiple tubes.
Forum: Processes Involving Optical Photons
Re: None Re: Problems with the G4OpticalSurfaces (Gumplinger Peter)
Date: 28 Jul, 2003
From: Meiling Yu <>

I met almost the same problem though the volumes are positioned by G4PVPlacement. when I place these volumes in a loop, i.e.

for(int j=0;j<19;j++)
trapePhys=new G4PVPlacement(0,G4ThreeVector(posX,-posY,0.*m),

the surface won't reflect, but if I place these volumes seperately, then it works. I don't know why. Maybe it's because that every volume at different position has to have its own logical volume, however, when I do the above loop, all of these volumes have the same logical volume. Is it Geant4 designed to be or is there bug in my program? I'm not sure.


Meiling Yu

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

1 Disagree: Re: Problems with the G4OpticalSurfaces   (Peter Gumplinger - 28 Jul, 2003)
(_ None: Re: Problems with the G4OpticalSurfaces   (Meiling Yu - 28 Jul, 2003)
 Add Message Add Message
to: "Re: Problems with the G4OpticalSurfaces"

 Subscribe Subscribe

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