Energy Loss of a track problem

Hi everyone, I have some problem, I tried to get the energy loss of a track through GEM geometry (Drift chamber), when i generate 100 event it works but when i go for 10000 event its stuck even i have enough memory space, means process is either stuck. Can you please suggest me.
i have attach some screenshot of that , i have wait for this event generate around 12 hour but it didn’t generate event to plot energy loss or number of electrons. Is i’m Calculating in wrong way (code error), sorry if my question is silly



energyloss.txt (2.8 KB)

Hi,
I don’t see anything obviously wrong with your code. Can you add some print out so see where it stalls? To start with, can you perhaps just comment out the line # if i % 1000 == 0: print i, "/", nEvents?

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