# Warning about AvalancheMC

**URL:** <https://root-forum.cern.ch/t/warning-about-avalanchemc/62951>\
**Category:** Garfield++\
**Created:** [February 15, 2025, 1:26pm UTC](https://root-forum.cern.ch/t/warning-about-avalanchemc/62951 "2025-02-15T13:26:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedro](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pedro/32/37605_2.png) [@pedro](https://root-forum.cern.ch/u/pedro)\
**Post date:** [February 15, 2025, 1:26pm UTC](https://root-forum.cern.ch/t/warning-about-avalanchemc/62951/1 "2025-02-15T13:26:05Z")

</div>

May I ask why these warnings appear in the calculation process?

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/e/9/e99fd6186947a9a61321d5ae78395ce045c79baa.png)

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [February 15, 2025, 2:44pm UTC](https://root-forum.cern.ch/t/warning-about-avalanchemc/62951/2 "2025-02-15T14:44:12Z")

</div>

Dear Pedro,

Let me put in the loop @hschindl .

Cheers,  
D

---

<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:** [February 15, 2025, 4:20pm UTC](https://root-forum.cern.ch/t/warning-about-avalanchemc/62951/3 "2025-02-15T16:20:04Z")

</div>

The warning comes from the function that integrates the Townsend coefficient (and attachment coefficient) over a drift line step. It means that one of the probe points along the step is not inside a valid drift medium. Which should be very rare, but it might be possible if your geometry has sharp features.  
What type of detector are you simulating?

---

<div class="post-metadata">

**Author:** ![pedro](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pedro/32/37605_2.png) [@pedro](https://root-forum.cern.ch/u/pedro)\
**Post date:** [February 24, 2025, 3:31am UTC](https://root-forum.cern.ch/t/warning-about-avalanchemc/62951/4 "2025-02-24T03:31:31Z")

</div>

In a boron-coated neutron detector, some of the plate edges are not rounded. In the electric field diagram, the electric field near the plate edges is relatively dense. Could this be the reason?

---

<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:** [March 10, 2025, 3:31am UTC](https://root-forum.cern.ch/t/warning-about-avalanchemc/62951/5 "2025-03-10T03:31:58Z")

</div>

Closed on March 10, 2025, 3:31am UTC

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