Problem 1799

Summary: Parallel world and optical physics
Product: Bugzilla Reporter: whit
Component: generalAssignee: Koichi Murakami <Koichi.Murakami>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P5    
Version: other   
Hardware: All   
OS: Linux   

Description whit 2015-11-17 23:09:54 CET
There is a bug when optical physics is included along with a parallel world. The optical surfaces are only associated with the "real" world and the parallel world volumes do not overlap with any of the relevent optical photon surfaces. 

Whenever the parallel world process is registered (second line of code below) with the modular physics list, the mirror reflections are messed up. The photons don't see the first surface (which is an elliptical mirror). They only see the back, then they bounce off the back from inside the mirror volume and internally reflect, getting trapped inside. They bounce around inside of the mirror instead of being reflected from the front surface.

    G4VModularPhysicsList * physicsList =  factory.GetReferencePhysList("QGSP_BIC_LIV");
    physicsList->RegisterPhysics(new G4ParallelWorldPhysics(paraWorldName,/*layered_mass=*/true));

However, when I do not register the G4ParallelWorldPhysics with the physics list, the optics work just as expect!
That is, if I comment out the second line above in my main() function, the optics behave but, of course, the parallel world is not seen.

Any help in resolving this bug is greatly appreciated.
Comment 1 Gabriele Cosmo 2015-11-18 08:59:35 CET

*** This problem has been marked as a duplicate of problem 1800 ***