# Is the gas file inappropriate?

**URL:** <https://root-forum.cern.ch/t/is-the-gas-file-inappropriate/49826>\
**Category:** Garfield++\
**Created:** [May 3, 2022, 2:38pm UTC](https://root-forum.cern.ch/t/is-the-gas-file-inappropriate/49826 "2022-05-03T14:38:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hezhoubo](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@hezhoubo](https://root-forum.cern.ch/u/hezhoubo)\
**Post date:** [May 3, 2022, 2:38pm UTC](https://root-forum.cern.ch/t/is-the-gas-file-inappropriate/49826/1 "2022-05-03T14:38:31Z")

</div>

When running the program, the terminal displays the following statement:

MediumMagboltz::GetElectronCollisionRate:  
Rate at 213.998 eV is not included in the current table.  
Increasing energy range to 224.698 eV.  
AvalancheMicroscopic::TransportElectron: Increasing null-collision rate by 5%.

Is this because the electron energy is too high? Is the gas file data inappropriate? How to solve this problem?

---

<div class="post-metadata">

**Author:** ![hezhoubo](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@hezhoubo](https://root-forum.cern.ch/u/hezhoubo)\
**Post date:** [May 3, 2022, 2:53pm UTC](https://root-forum.cern.ch/t/is-the-gas-file-inappropriate/49826/2 "2022-05-03T14:53:09Z")

</div>

I simulate photons at 5.9keV.

---

<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 3, 2022, 2:59pm UTC](https://root-forum.cern.ch/t/is-the-gas-file-inappropriate/49826/3 "2022-05-03T14:59:29Z")

</div>

I guess @hschindl can help.

---

<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 3, 2022, 3:36pm UTC](https://root-forum.cern.ch/t/is-the-gas-file-inappropriate/49826/4 "2022-05-03T15:36:06Z")

</div>

It’s not necessary a problem. MediumMagboltz doesn’t know anything about the electric field in which the electrons will drift (and hence their energies), so it makes a default guess for the electron energy range. If an electron exceeds this range, the upper limit is increased and the cross-section table is reloaded. You can suppress/avoid this by setting the energy explicitly upfront (SetMaxElectronEnergy).

---

<div class="post-metadata">

**Author:** ![hezhoubo](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@hezhoubo](https://root-forum.cern.ch/u/hezhoubo)\
**Post date:** [May 4, 2022, 6:54am UTC](https://root-forum.cern.ch/t/is-the-gas-file-inappropriate/49826/5 "2022-05-04T06:54:50Z")

</div>

Thank 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:** [May 18, 2022, 6:55am UTC](https://root-forum.cern.ch/t/is-the-gas-file-inappropriate/49826/6 "2022-05-18T06:55:24Z")

</div>

Closed on May 18, 2022, 6:55am UTC

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