# Questions about Geant4GarfieldInterface/GarfieldPhysics.cc

**URL:** <https://root-forum.cern.ch/t/questions-about-geant4garfieldinterface-garfieldphysics-cc/53727>\
**Category:** Garfield++\
**Created:** [February 22, 2023, 8:43am UTC](https://root-forum.cern.ch/t/questions-about-geant4garfieldinterface-garfieldphysics-cc/53727 "2023-02-22T08:43:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [February 27, 2023, 5:14pm UTC](https://root-forum.cern.ch/t/questions-about-geant4garfieldinterface-garfieldphysics-cc/53727/2 "2023-02-27T17:14:00Z")

</div>

> [@Question about Geant4GarfieldInterface](https://root-forum.cern.ch/t/question-about-geant4garfieldinterface/53796):
>
> Hello！experts! The codes below are from Geant4GarfieldInterface/GarfieldPhysics.cc and I have some questions: ① Can you explain in detail about SetDistanceSteps()? ② What does ’ nsum ’ mean here ( nsum++;) ③ How does the W value in TrackHeed come from ? Is it from the gas file ? (fTrackHeed-\>GetW() ④ Why ze, xe, ye multiplied by 10：FillH3(1, ze \* 10, xe \* 10, ye \* 10); ⑤ What do ’ newtime ’ and ’ time ’ mean here？： double newTime = te; if (newTime \< time){newTime += time;} ⑥ If the positi…

---

_[View the full topic](https://root-forum.cern.ch/t/questions-about-geant4garfieldinterface-garfieldphysics-cc/53727)._
