Closed Hiitsaso closed 1 year ago
I suspect the bug comes from an error in xenon_pt
itself that we found while refactoring your code.
Do you have the latest version of your code uploaded somewhere?
You can find the code here. To reproduce the error just run just run 1000
.
The issue was resolved by updating the nain4 version to v0.1.8.
I have gammas going through a volume with
mesh_mat
material. When addingG4OpticalPhysics
to the physics list I get the following error:It seems that it is failing to find some (optical?) properties of the
mesh_mat
material. I have traced the error to this section of the code:and I suspect that it comes from the
.copy_form
and/or.copy_NEW_from
attributes.