# What does rewinding mean?

**URL:** <https://root-forum.cern.ch/t/what-does-rewinding-mean/48989>\
**Category:** Garfield++\
**Created:** [March 1, 2022, 1:01pm UTC](https://root-forum.cern.ch/t/what-does-rewinding-mean/48989 "2022-03-01T13:01:17Z")\
**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:** [March 1, 2022, 1:01pm UTC](https://root-forum.cern.ch/t/what-does-rewinding-mean/48989/1 "2022-03-01T13:01:18Z")

</div>

![image](https://root-forum.cern.ch/uploads/default/original/3X/f/0/f0b3e37a1f0ce093c16067858e1f7b80c812a266.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:** [March 1, 2022, 1:58pm UTC](https://root-forum.cern.ch/t/what-does-rewinding-mean/48989/2 "2022-03-01T13:58:34Z")

</div>

In your program you read 500 tracks from the TRIM output file. After having simulated 500 tracks, `TrackTrim` will go back (rewind) and re-start from the first track. You can increase the number of tracks you read from the TRIM output file to avoid this (second argument of the function `ReadFile`). The default (if you don’t specify this argument) is to read all tracks in the 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:** [March 1, 2022, 10:54pm UTC](https://root-forum.cern.ch/t/what-does-rewinding-mean/48989/3 "2022-03-01T22:54:50Z")

</div>

Hi,  
Thanks a lot for your reply  
I get it know.

---

<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:** [March 15, 2022, 10:55pm UTC](https://root-forum.cern.ch/t/what-does-rewinding-mean/48989/4 "2022-03-15T22:55:23Z")

</div>

Closed on March 15, 2022, 10:55pm UTC

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