# How to get the EXYZ.txt file

**URL:** <https://root-forum.cern.ch/t/how-to-get-the-exyz-txt-file/48240>\
**Category:** Garfield++\
**Created:** [January 2, 2022, 8:56am UTC](https://root-forum.cern.ch/t/how-to-get-the-exyz-txt-file/48240 "2022-01-02T08:56:57Z")\
**Posts on this page:** 7\
**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:** [January 2, 2022, 8:56am UTC](https://root-forum.cern.ch/t/how-to-get-the-exyz-txt-file/48240/1 "2022-01-02T08:56:57Z")

</div>

I want to use the TRIM to generate the EXYZ.txt file and then import it to the Garfield++. However I found two problems, one is after running I don’t know where to save or find the EXYZ.txt file, the other is when I set the proton energy is 100Mev, the TRIM results would be empty, but if I set the proton energy bigger like 10GeV, then the result would be got.

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/7/b/7bbb2c00064905dd1a0deae172f1c2726b619fb1.jpeg)  
 ![image](https://root-forum.cern.ch/uploads/default/original/3X/2/a/2a4cedc50084fa296ad0d7075be443565493e0c9.png)

---

<div class="post-metadata">

**Author:** ![etejedor](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@etejedor](https://root-forum.cern.ch/u/etejedor)\
**Post date:** [January 2, 2022, 5:50pm UTC](https://root-forum.cern.ch/t/how-to-get-the-exyz-txt-file/48240/2 "2022-01-02T17:50:50Z")

</div>

Hello,  
Pinging @hschindl in case he’d like to answer.

---

<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:** [January 2, 2022, 9:19pm UTC](https://root-forum.cern.ch/t/how-to-get-the-exyz-txt-file/48240/3 "2022-01-02T21:19:29Z")

</div>

I’m not at all a SRIM/TRIM expert, but (as mentioned in a previous thread) you can find some pointers on this page:

[https://garfieldpp.web.cern.ch/garfieldpp/examples/trim/](https://garfieldpp.web.cern.ch/garfieldpp/examples/trim/)

- The `EXYZ.txt` output file is normally saved in the directory `SRIM Outputs`.
- You need to specify the energy interval at which you want TRIM to save the ion’s position to the `EXYZ.txt` file.

---

<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:** [January 3, 2022, 1:10am UTC](https://root-forum.cern.ch/t/how-to-get-the-exyz-txt-file/48240/4 "2022-01-03T01:10:23Z")

</div>

Hi,  
Thanks a lot for your reply and help.  
does the trim result mean the “event displays” of the proton tracks?

---

<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:** [January 3, 2022, 1:21am UTC](https://root-forum.cern.ch/t/how-to-get-the-exyz-txt-file/48240/5 "2022-01-03T01:21:20Z")

</div>

I have set the energy interval to 1000ev, but the result is still empty.

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/4/f/4f1e0b668cb184592f06f897e03ea734368a0180.png)

---

<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:** [January 3, 2022, 1:57am UTC](https://root-forum.cern.ch/t/how-to-get-the-exyz-txt-file/48240/6 "2022-01-03T01:57:52Z")

</div>

Hi,  
I have solved the problem now, just modify the Max target depth, thanks a lot for your help again.

---

<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 17, 2022, 1:58am UTC](https://root-forum.cern.ch/t/how-to-get-the-exyz-txt-file/48240/7 "2022-01-17T01:58:31Z")

</div>

Closed on January 17, 2022, 1:58am UTC

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