# Questions about SRIM

**URL:** <https://root-forum.cern.ch/t/questions-about-srim/48165>\
**Category:** Garfield++\
**Created:** [December 23, 2021, 1:12pm UTC](https://root-forum.cern.ch/t/questions-about-srim/48165 "2021-12-23T13:12:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [December 23, 2021, 1:13pm UTC](https://root-forum.cern.ch/t/questions-about-srim/48165/1 "2021-12-23T13:13:00Z")

</div>

I have read an example Srim.c, and there are some questions confused me a lot.

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/3/d/3d1e0e416d281cad4c2b06e0e12789a936f7ab46.png)  
1,what’s the meaning of kinetic energy of the particle (in eV)? if the particle’s energy is 100MeV, then what’s the kinetic energy value of it?  
 ![image](https://root-forum.cern.ch/uploads/default/original/3X/2/6/26956fcb2d8fd771a79bd3c6b8ee81d927355f8d.png)  
2,what’s the meaning of workfunction?  
 ![image](https://root-forum.cern.ch/uploads/default/original/3X/8/5/85ccf6563c8ed3c96c091d398992a0f9579b7030.png)  
3,what does the checkhwf() function mean in the code?  
 ![image](https://root-forum.cern.ch/uploads/default/original/3X/2/7/27e8d1525b0420c1cefec35c3980f8c6aa24331b.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:** [December 28, 2021, 10:26am UTC](https://root-forum.cern.ch/t/questions-about-srim/48165/2 "2021-12-28T10:26:15Z")

</div>

> [@](#):
>
> What’s the meaning of kinetic energy of the particle (in eV)? if the particle’s energy is 100MeV, then what’s the kinetic energy value of it?

It depends on the mass of the particle (total energy = rest energy + kinetic energy). For the purposes of the SRIM/TRIM examples, it’s only the kinetic energy that matters though.

> [@](#):
>
> 1. What’s the meaning of work function?

Average energy needed to create an electron-ion pair in the gas.

> [@](#):
>
> 1. What does the checkhwf() function mean in the code?

It’s just to test that the algorithm used for sampling the number of electron/ion pairs for a given energy deposit does reproduce the requested W value and Fano factor. You can ignore it.

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [December 28, 2021, 2:58pm UTC](https://root-forum.cern.ch/t/questions-about-srim/48165/3 "2021-12-28T14:58:10Z")

</div>

HI,  
Thanks a lot for your detail explanations.  
I understand it now.

---

<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:** [January 11, 2022, 2:58pm UTC](https://root-forum.cern.ch/t/questions-about-srim/48165/4 "2022-01-11T14:58:52Z")

</div>

Closed on January 11, 2022, 2:58pm UTC

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