Sum scores for multiple runs

I want to count the dose deposited per pixel in the detector (400×400 pixels), so I modify the code of exampleB1 and use command-based scoring. I need to run 1,000 “run” at one time and to calculate the final total dose. I found that my code ended up output 400×400×1000 data, which means it outputs 400×400 data after each run . Is there any way to directly output the total dose of 1000 runs ? Thanks for your help.

Hi @lmqmeiqi,

How come you need to perform multiple runs? Why can you not have one run which includes many events/particles? I think if we better understand your needs we will be able to address your question better.

Best,

Joseph