Number of Sensitive detector and management of scoring

Hello to all ,

To map the doses, I created 1800 volumes. And I want to register them as a sensitive detector. But I don’t know why my simulation crashes at the 364th set of sensitive detector volumes (random number). Is there a maximum possible number of sensitive detectors created ?
Here is some informations :
(crash pic)

(Set SD)

And here is my Geometry , if you have any propositions to improve it, i’m open to your purposes :

Thank you

1 Like

You seem to assign volumes to a single sensitive detector multiple times. Most possibly, you have the last assigned volume as a sensitive detector.
Also: Check you have enough elements in the array defined, and they are not null ptr.

yes i solved my problem thank you !

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.