# Residual kinetic energy of Li7 from TrackSrim in Garfield++

**URL:** <https://root-forum.cern.ch/t/residual-kinetic-energy-of-li7-from-tracksrim-in-garfield/64839>\
**Category:** Garfield++\
**Created:** [May 12, 2026, 1:37pm UTC](https://root-forum.cern.ch/t/residual-kinetic-energy-of-li7-from-tracksrim-in-garfield/64839 "2026-05-12T13:37:15Z")\
**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:** [May 12, 2026, 1:37pm UTC](https://root-forum.cern.ch/t/residual-kinetic-energy-of-li7-from-tracksrim-in-garfield/64839/1 "2026-05-12T13:37:16Z")

</div>

@hschindl I’m using Tracksrim in garfield++ to simulate detector response. When Li7 particles propagate in the He/N2 gas volume, I noticed that clusters.back().kinetic always leaves 5–30 keV kinetic energy that is not converted into electron clusters. Is there a setting (physics list, cuts, ion parameters) I need to adjust?

---

<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:** [May 14, 2026, 7:24pm UTC](https://root-forum.cern.ch/t/residual-kinetic-energy-of-li7-from-tracksrim-in-garfield/64839/2 "2026-05-14T19:24:03Z")

</div>

@hschindl ?

---

<div class="post-metadata">

**Author:** ![Piet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/piet/32/12536_2.png) [@Piet](https://root-forum.cern.ch/u/Piet)\
**Post date:** [May 15, 2026, 6:36pm UTC](https://root-forum.cern.ch/t/residual-kinetic-energy-of-li7-from-tracksrim-in-garfield/64839/3 "2026-05-15T18:36:07Z")

</div>

@pedro

Can you please post some (compiling) code that illustrates your issue?

Thanks  
Piet

---

<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:** [May 16, 2026, 8:41am UTC](https://root-forum.cern.ch/t/residual-kinetic-energy-of-li7-from-tracksrim-in-garfield/64839/4 "2026-05-16T08:41:39Z")

</div>

[detector2.cc](https://root-forum.cern.ch/uploads/short-url/6uUwgh2dN99ecYd9iIyKr1lDPwf.cc) (3.8 KB)  
Sorry for the unclear example in my previous message. I tested two initial kinetic energies.

For 20 keV Li7:

```auto

Summary
Initial Li7 kinetic energy: 2.000000e+04 eV
Total energy converted into clusters: 8.645992e+03 eV
Total number of electron-ion pairs: 205
Mean cluster energy per electron-ion pair: 4.217557e+01 eV/pair
Last cluster position z: 6.001000e-01 cm
Last cluster kinetic energy: 2.000000e+04 eV
Last cluster kinetic energy minus last cluster.energy: 1.135401e+04 eV

```

For 60 keV Li7:

```auto
Summary
Initial Li7 kinetic energy: 6.000000e+04 eV
Total energy converted into clusters: 4.284853e+04 eV
Total number of electron-ion pairs: 1056
Mean cluster energy per electron-ion pair: 4.057626e+01 eV/pair
Last cluster position z: 6.568598e-01 cm
Last cluster kinetic energy: 1.706826e+04 eV
Last cluster kinetic energy minus last cluster.energy: 1.024627e+04 eV

```

There is always some residual kinetic energy that is not converted into electron-ion clusters. Is this expected behavior related to the way TrackSrim handles the end of the ion track?  
Thank you very much for your help.@hschindl @Piet

---

<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 30, 2026, 8:42am UTC](https://root-forum.cern.ch/t/residual-kinetic-energy-of-li7-from-tracksrim-in-garfield/64839/5 "2026-05-30T08:42:06Z")

</div>

Closed on May 30, 2026, 8:42am UTC

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