GDML icon indicating copy to clipboard operation
GDML copied to clipboard

Adding sensitive detector to part causes duplicates in gdml output

Open eleonar opened this issue 9 months ago • 0 comments

Adding a sensitive detector to a part using the Set SensDet button successfully adds a sensitive detector to the part. Once the GDML is exported it creates 2 duplicate lines such as in the code snippet below

<volume name="Daughter_Item">
    <materialref ref="G4_Al"/>
    <solidref ref="inner"/>
    <auxiliary auxtype="SensDet" auxvalue="Daughter_Item"/>
    <auxiliary auxtype="SensDet" auxvalue="Daughter_Item"/>
</volume>

eleonar avatar May 09 '24 22:05 eleonar