# Drift Chamber Simulation keeps getting killed

**URL:** <https://root-forum.cern.ch/t/drift-chamber-simulation-keeps-getting-killed/60199>\
**Category:** Garfield++\
**Created:** [July 14, 2024, 5:54pm UTC](https://root-forum.cern.ch/t/drift-chamber-simulation-keeps-getting-killed/60199 "2024-07-14T17:54:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![JFBW](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@JFBW](https://root-forum.cern.ch/u/JFBW)\
**Post date:** [July 15, 2024, 8:48pm UTC](https://root-forum.cern.ch/t/drift-chamber-simulation-keeps-getting-killed/60199/5 "2024-07-15T20:48:28Z")

</div>

Dear @Piet,

(1 and 2) Here is a schematic drawing of a similar chamber from [https://indico.cern.ch/event/426015/contributions/1047606/attachments/906077/1278746/DriftChamber\_ICFA2005.pdf](https://indico.cern.ch/event/426015/contributions/1047606/attachments/906077/1278746/DriftChamber_ICFA2005.pdf). In my case the anode wire is located at x=0 and the drift area is extending in negative x-direction. So it’s basically half a tube with a drift chamber with a constant drift field being the other half.  
 ![grafik](https://root-forum.cern.ch/uploads/default/original/3X/0/4/04e27dc93598c1eb5dc057992e6674ffed114b25.png)

I will try lower voltages but in the end I have to stick to the said voltages to get comparable results, but I thought about the voltages being an issue as well, because for some events I get errors like this:

```auto
DriftLineRKF::IntegrateAlpha:
    Cannot retrieve alpha at mid point or end point.
DriftLineRKF::Avalanche:
    Cannot retrieve alpha at drift line point 1669, segment 2
DriftLineRKF::Avalanche:
    Warning: Integrating the Townsend coefficients would lead to exponential overflow.
    Avalanche truncated.

```

I have read here [How is the induction signal calculated in garfield++?](https://root-forum.cern.ch/t/how-is-the-induction-signal-calculated-in-garfield/50668) that at least the exponential overflow could be caused by the voltages. I don’t know if it could be the gas file, because I checked for the large field strength near the anode wire to be covered. Do you know, where these errors could come from and if it’s ok to have a few of them for one muon event creating about 70-90 drift lines?

(3) I will have a look and see what’s possible for me to do, thank you!

---

_[View the full topic](https://root-forum.cern.ch/t/drift-chamber-simulation-keeps-getting-killed/60199)._
