Has anyone successfully detected an optical photon in 10.7 or higher?
I define a G4LogicalSkinSurface that I attach to a logical volume, which is also designated as a sensitive detector. I correctly define the efficiency (100%) and reflectivity (0%) settings. My code works just fine in 10.6.2.
But after upgrading to 10.7, I’ve not been able to tally a “detection” event for an optical photon. Through the GUI I can see optical photons being absorbed by the sensitive detector, and yet no hits are collected. Even stranger, if I increase the reflectivity from 0% to something like 50%, all of a sudden the sensitive detector will register reflections as hits. It seems like “detection” events where a photon is absorbed go unnoticed. The patch for 10.7 does not fix the issue, but I find it interesting that the patch does fix an issue with GDML material property definitions.
I ran the optical/WLS example in the 10.7 directory and at the end of its runtime it recorded zero optical photon detections, even though an efficiency value is clearly specified in its detector construction.
Any ideas? Maybe there’s a new way to define an optical photon detection surface that I’m not aware of? But like I said, the code works in 10.6.2.