AddDNARegion is error

Hello,

When I want to build a box with water and recompose the world with galactic in the example of “dnaphysics”. The visual interface is shown in the following figure.


The side length of the world is 100 micrometer and the box is 90 micrometer. I want to set the box to dna region and using the “DNA_opt2” physics process to simulate it. But the results shows that the “DNA_opt” is not used in this region. What’s the reason for this?
微信图片_20230423181847

Best wishes.

Dear,

In this case, you need to define G4Region(“Phantom”) in DetectorConstruction class.

I hope this helps you,
Batmunkh.

Dear Sir,
Thank you for taking time to answer my questions. I really appreciate your help.
Best wishes.

1 Like

You’re welcome, happy to have been able to provide answer.