# Question: AvalancheMC class seems not available to simulate Avalanche breakdown

**URL:** <https://root-forum.cern.ch/t/question-avalanchemc-class-seems-not-available-to-simulate-avalanche-breakdown/50112>\
**Category:** Garfield++\
**Created:** [May 25, 2022, 8:40am UTC](https://root-forum.cern.ch/t/question-avalanchemc-class-seems-not-available-to-simulate-avalanche-breakdown/50112 "2022-05-25T08:40:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SCplayer1](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/scplayer1/32/30421_2.png) [@SCplayer1](https://root-forum.cern.ch/u/SCplayer1)\
**Post date:** [May 25, 2022, 8:40am UTC](https://root-forum.cern.ch/t/question-avalanchemc-class-seems-not-available-to-simulate-avalanche-breakdown/50112/1 "2022-05-25T08:40:27Z")

</div>

As everyone know, we have silicon example at garfield example

In order to check whether Avalanche MC class can describe avalanche multiplication, I changed voltage parameter to tremendous value to make field strong enough to make breakdown but there were no enough gain at system

I checked that when i use DriftLineRKF class, system goes under breakdown at same voltage but not at AvalancheMC class.

Can someone answer this question? I am new user so system didn’t permit to attach code but it will be enough just fix random seed and change voltage value at garfield silicon example to 100000V.

With Class Avalanche MC, even though i give high voltage, Avalanche MC didn’t show breakdown

How can i solve this problem?

Thanks for your answer

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 25, 2022, 8:48am UTC](https://root-forum.cern.ch/t/question-avalanchemc-class-seems-not-available-to-simulate-avalanche-breakdown/50112/2 "2022-05-25T08:48:00Z")

</div>

I guess @hschindl can help you.

---

<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:** [May 25, 2022, 8:59am UTC](https://root-forum.cern.ch/t/question-avalanchemc-class-seems-not-available-to-simulate-avalanche-breakdown/50112/3 "2022-05-25T08:59:11Z")

</div>

Hi,  
you are referring to [this example](https://gitlab.cern.ch/garfield/garfieldpp/-/blob/master/Examples/Silicon/planar.C), right? In addition to increasing the bias voltage, you will also need to replace the line

```auto
drift.DriftElectron(xe, ye, ze, te);

```

by

```auto
drift.AvalancheElectron(xe, ye, ze, te);

```

The function `DriftElectron` simulates the drift line of a single electron, but not the secondaries produced in the avalanche.

---

<div class="post-metadata">

**Author:** ![SCplayer1](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/scplayer1/32/30421_2.png) [@SCplayer1](https://root-forum.cern.ch/u/SCplayer1)\
**Post date:** [May 25, 2022, 9:51am UTC](https://root-forum.cern.ch/t/question-avalanchemc-class-seems-not-available-to-simulate-avalanche-breakdown/50112/4 "2022-05-25T09:51:22Z")

</div>

Ah i noticed difference now. Thanks for your reply

---

<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:** [June 8, 2022, 9:52am UTC](https://root-forum.cern.ch/t/question-avalanchemc-class-seems-not-available-to-simulate-avalanche-breakdown/50112/5 "2022-06-08T09:52:16Z")

</div>

Closed on June 8, 2022, 9:52am UTC

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