# GeantGarfieldInterface

**URL:** <https://root-forum.cern.ch/t/geantgarfieldinterface/53717>\
**Category:** Garfield++\
**Created:** [February 21, 2023, 1:16pm UTC](https://root-forum.cern.ch/t/geantgarfieldinterface/53717 "2023-02-21T13:16:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zql21](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/zql21/32/33487_2.png) [@zql21](https://root-forum.cern.ch/u/zql21)\
**Post date:** [February 21, 2023, 1:16pm UTC](https://root-forum.cern.ch/t/geantgarfieldinterface/53717/1 "2023-02-21T13:16:01Z")

</div>

Dear experts  
I’m learning example/Geant4GarfieldInterface recently. I have some questions below.

1. I want to know how Geant4 transfers electrons generated by ionization to Garfield + +, and how Garfield + + transfers electron information to Geant4 after drifting and avalanches. Can you explain it based on the code in Geant4GarfieldInterface?  
2.what role G4FastTrack and G4FastStep play in the interface between Garfield and Geant4.  
3.I want to know that G4FastSimulationModel is used for the ionization of primary particles in Geant4,or for electron ionization ( heed ), drift and avalanche in Garfield + + ?  
Thanks!

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [February 21, 2023, 2:55pm UTC](https://root-forum.cern.ch/t/geantgarfieldinterface/53717/2 "2023-02-21T14:55:52Z")

</div>

Hello @zql21 ,

@hschindl should be able to help, let’s ping him 🙂

Cheers,  
Enrico

---

<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 21, 2023, 6:05pm UTC](https://root-forum.cern.ch/t/geantgarfieldinterface/53717/3 "2023-02-21T18:05:27Z")

</div>

Hi,  
did you have a look at the explanation on the website?

[https://garfieldpp.web.cern.ch/garfieldpp/examples/geant4-interface/](https://garfieldpp.web.cern.ch/garfieldpp/examples/geant4-interface/)

---

<div class="post-metadata">

**Author:** ![zql21](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/zql21/32/33487_2.png) [@zql21](https://root-forum.cern.ch/u/zql21)\
**Post date:** [February 22, 2023, 1:06am UTC](https://root-forum.cern.ch/t/geantgarfieldinterface/53717/4 "2023-02-22T01:06:28Z")

</div>

Oh, I didn 't notice the explanation before.I have read the explanation, but I am still confused about the third question.Which process does G4FastSimulationModel use ?For the ionization of primary particles in Geant4,or for electron ionization ( heed ), drift and avalanche in Garfield + + ?

---

<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 8, 2023, 1:06am UTC](https://root-forum.cern.ch/t/geantgarfieldinterface/53717/5 "2023-03-08T01:06:38Z")

</div>

Closed on March 8, 2023, 1:06am UTC

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