# Avalanche problem on double layer(1st and 2nd) GEM detector

**URL:** <https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186>\
**Category:** Garfield++\
**Created:** [November 9, 2024, 8:24am UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186 "2024-11-09T08:24:32Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dk\_ntm](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Post date:** [November 9, 2024, 8:24am UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/1 "2024-11-09T08:24:32Z")

</div>

hii everyone, i have successfully made 2nd layer(1st and 2nd) gem detector. also calculate electric field but when i look at plot it only avalanche in 1st layer, can you please suggest me , how i avalanche in 2nd layer using endpoints of 1st layer avalanche electron. you can also check my code

 ![Screenshot from 2024-11-09 13-42-11](https://root-forum.cern.ch/uploads/default/original/3X/c/6/c68267e00b8c651487970a5cadaa371fd56a3c36.png)

 ![Screenshot from 2024-11-09 13-44-14](https://root-forum.cern.ch/uploads/default/original/3X/8/9/89ffbebed355f89e60c79f686699a5028826f010.png)

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [November 9, 2024, 9:29am UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/2 "2024-11-09T09:29:17Z")

</div>

Hi,  
looking at the plot, the electrons do seem to be transported also through the second GEM layer, no? To get (more) multiplication in the second GEM, you’ll probably need to change the voltage settings.  
PS: the two GEM layers seem unusually close to each other; is that intentional?

---

<div class="post-metadata">

**Author:** ![Dk\_ntm](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Post date:** [November 9, 2024, 9:54am UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/3 "2024-11-09T09:54:07Z")

</div>

yes @hschindl sir,  
the two GEM layers seem unusually close to each other and that is intentional, means the upper electrode t0to 1st GEM layer 0.3cm and distance b/w 1st and 2nd GEM layers is 0.02cm and lower 2nd lower gem to lower electrode is 0.2cm. Is distance b/w GEMs layer (1st and 2nd) need to change? While GEM parameters is

# GEM thickness in cm

lem\_th = 0.04;

# copper thickness

lem\_cpth = 0.0035;

# GEM pitch in cm

lem\_pitch = 0.07;

# X-width of drift simulation will cover between +/- axis\_x

axis\_x = 0.1;

# Y-width of drift simulation will cover between +/- axis\_y

axis\_y = 0.1;  
axis\_z = 0.15 + (lem\_th / 2) + lem\_cpth;  
or need any correction in parameters section?  
and i have attached my doublegemcell.sif can you check this?  
[doublegemcell.sif.txt](https://root-forum.cern.ch/uploads/short-url/pYegwsoV1nTwspYpoUZQFjKo0JF.txt) (3.5 KB)

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [November 10, 2024, 9:41pm UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/4 "2024-11-10T21:41:27Z")

</div>

Looking at the screenshot in your previous post, it seems that this is indeed the geometry that you implemented. But why do you put the two GEM layers so close together?

---

<div class="post-metadata">

**Author:** ![Dk\_ntm](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Post date:** [November 12, 2024, 9:18am UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/5 "2024-11-12T09:18:00Z")

</div>

Continuing the discussion from [Avalanche problem on double layer(1st and 2nd) GEM detector](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/4):

Hlw @hschindl Sir, i increased the distance between both layer but in 2nd layer avalanche is not happening. can you tell me my avalanche setup is correct or need to any requirement. Is me require to avalanche setup in 2nd GEM for avalanche in 2nd GEM  
 ![Screenshot from 2024-11-12 14-39-46](https://root-forum.cern.ch/uploads/default/original/3X/6/4/649dd025a07232f04e76be533d2a666d283860da.png)  
please give some suggestions how avalanche in 2nd GEM using coming from 1st GEM electron.

---

<div class="post-metadata">

**Author:** ![Piet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/piet/32/12536_2.png) [@Piet](https://root-forum.cern.ch/u/Piet)\
**Post date:** [November 12, 2024, 10:29am UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/6 "2024-11-12T10:29:18Z")

</div>

Dear @Dk_ntm

I see from your sif file that you have 850V of potential difference on your 2nd Thick-GEM and 1250V difference on your 1st Thick-GEM. From your figure I deduce your GEM thickness is 0.5mm, this would lead to a field of 17kV/cm in your 2nd GEM and 25kV/cm in your 1st GEM. In Ar:CO2 70:30 this would be enough to see amplification in both GEMs. Moreover if you have defined the active area of your sensor correctly (it comprises both GEMs plus all gaps), then the avalanche will be calculated in the entire active area, no need to pass ‘manually’ from one GEM to another.

Few questions:

- Can you run more than one event? Maybe repeat 10 times. Because 1 event is not statistically significant to make those claims. As a next step can you eventually count the number of electrons at the end of GEM1 and at the end of GEM2 and make a histogram?
- Can you make a plot of your potential map and your electric field map in the sensor?

greets  
Piet

---

<div class="post-metadata">

**Author:** ![Dk\_ntm](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Post date:** [November 12, 2024, 12:36pm UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/7 "2024-11-12T12:36:21Z")

</div>

dear @Piet sir, each GEM dielectric thickness 0.4mm = 0.04cm and this distance between GEM both GEMs is 0.5mm =0.05cm . Sir, can you plz explain me why are not happen avalanche in 2nd GEM. According to your, i need to change in active area? can you suggest some examples

Thank you sir!

My double layer GEM detector value is  
BOUNDING BOX  
X-coordinate: [0 , 0.07]  
Y-coordinate: [0 , 0.0606218]  
Z-coordinate: [-0.3205 , 0.5235]

---

<div class="post-metadata">

**Author:** ![Piet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/piet/32/12536_2.png) [@Piet](https://root-forum.cern.ch/u/Piet)\
**Post date:** [November 12, 2024, 1:46pm UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/8 "2024-11-12T13:46:55Z")

</div>

First, tell me how many avalanches have you generated? As this is a statistical process it can happen that you are unlucky and you have a downward fluctuation if you run only 1 avalanche. Did you run 10 avalanches and all were without amplification in the 2nd Gem?

If that is the case, then we need to be sure about the electric field. Please make the potential and electric field map in your detector, to make sure you have a field that is high enough for multiplication.

---

<div class="post-metadata">

**Author:** ![Dk\_ntm](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Post date:** [November 13, 2024, 8:44am UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/9 "2024-11-13T08:44:57Z")

</div>

dear @Piet , @hschindl sir, When i change the sensor(SetArea) according to BOUNDING BOX of double layer gem geometry  
X-coordinate: [0 , 0.07]  
Y-coordinate: [0 , 0.0606218]  
Z-coordinate: [-0.3205 , 0.5235]

it works means i found that both gem performing with minimum avalanche, when single electron randomly initiate into double layer thick gem with 0 energy. i have attached the screenshot. can you suggest me how perform more avalanche. please check my code particularly sensor area and avalanche setup, Is i correctly define sensor area and avalanche setup parameters for both gem.

Thank you for your support and understanding 🙏

 ![Screenshot from 2024-11-13 13-51-52](https://root-forum.cern.ch/uploads/default/original/3X/f/0/f0d04839c55cdc5db60aee07152ac1c019e6908a.png)  
 ![Screenshot from 2024-11-13 13-52-29](https://root-forum.cern.ch/uploads/default/original/3X/d/2/d2238ef28f0635a75a50ca5cad230421722182e4.png)  
 ![Screenshot from 2024-11-13 13-54-03](https://root-forum.cern.ch/uploads/default/original/3X/a/3/a3d35de407ef50a6094861c3e30e77b82c4bb6b7.png)  
 ![Screenshot from 2024-11-13 13-54-22](https://root-forum.cern.ch/uploads/default/original/3X/3/d/3d700143ef440b80f1dbca1d489bcd53cd1cc2d5.png)

---

<div class="post-metadata">

**Author:** ![Piet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/piet/32/12536_2.png) [@Piet](https://root-forum.cern.ch/u/Piet)\
**Post date:** [November 13, 2024, 4:00pm UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/10 "2024-11-13T16:00:10Z")

</div>

Dear @Dk_ntm your sensor area should correspond to the entire volume you would like to simulate the charge transport. As you have defined these values in the beginning of your code, you should adopt these also here:

```auto
sensor.SetArea(-axis_x, -axis_y, -axis_z, axis_x, axis_y, axis_z)

```

I do not understand what you mean with your “BOUNDING BOX”. Probably it does not matter as long as you set correctly the area/volume of your sensor.

For what concerns your question

> can you suggest me how perform more avalanche.

You would need to change (increase) the voltage difference between the top and bottom of the GEM foils to obtain a higher gain in your detector.

---

<div class="post-metadata">

**Author:** ![Dk\_ntm](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Post date:** [November 13, 2024, 7:30pm UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/11 "2024-11-13T19:30:00Z")

</div>

dear @Piet when adopt these lines

```auto
sensor.SetArea(-axis_x, -axis_y, -axis_z, axis_x, axis_y, axis_z)

```

avalanche performing in 1st Gem but not happening in 2nd Gem.

 ![Screenshot from 2024-11-09 13-44-14](https://root-forum.cern.ch/uploads/default/original/3X/8/9/89ffbebed355f89e60c79f686699a5028826f010.png)

can you tell me how i choose sensor active area for both Gem, basically i’m beginner in this field sir.

Thank you for your precious time and support. i’m always grateful to you.

---

<div class="post-metadata">

**Author:** ![Piet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/piet/32/12536_2.png) [@Piet](https://root-forum.cern.ch/u/Piet)\
**Post date:** [November 14, 2024, 5:17pm UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/12 "2024-11-14T17:17:21Z")

</div>

Sorry, I can’t see where you have defined `axis_x, axis_y, axis_z`. Can you give me their values?

---

<div class="post-metadata">

**Author:** ![Dk\_ntm](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Post date:** [November 14, 2024, 5:36pm UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/13 "2024-11-14T17:36:19Z")

</div>

These are the values sir!  
 ![Screenshot from 2024-11-14 23-04-33](https://root-forum.cern.ch/uploads/default/original/3X/d/8/d8ae823c63f960dddc746e56fcbcb3c2cc6a764b.png)

---

<div class="post-metadata">

**Author:** ![Dk\_ntm](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Post date:** [November 15, 2024, 9:40am UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/14 "2024-11-15T09:40:02Z")

</div>

Thank you @Piet sir it’s working. i’m always grateful to you 🙏

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [November 29, 2024, 9:40am UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186/15 "2024-11-29T09:40:12Z")

</div>

Closed on November 29, 2024, 9:40am UTC

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