Hi everyone!
I’m working on a Garfield++ simulation to count the number of electrons in different regions of a triple GEM. I’m noticing some strange behavior in my simulations. I tried to attach my minimal working copy, but it says new users can’t attach uploads-- my Github user is bkmcco, and I have uploaded everything necessary to a repository titled “garfield_question”.
-
For some reason, I can’t get the avalanche plot (attached under “avanlanche.png”) to shade in the metal layers on the top and bottom of the GEM. I’ve tried using SetColor with the material number of the metal (1), but it’s not doing the trick.
-
The electrons are exhibiting strange behavior near the holes. There seems to be some sort of flat blockade around z = -0.1005, and the electron appears to be travelling through the GEM layer. I’m wondering if this is just because the GEM is a 3D structure – perhaps the avalanche is travelling through a hole at a different y-position-- but am still not sure why the flat cutoff at z=-0.1005. There are some images attached showing this.
-
In my code, I build a list of every electron with an endpoint with a z-coordinate less than -0.1 (meaning, the electrons that are lost near the bottom of GEM 1). After one run, the list has 450 entries. It seems to me that it is counting every single electron as having an endpoint with z < -0.1?
Thanks everyone for your help!!!