# Garfield++

**URL:** https://root-forum.cern.ch/c/garfieldxx/25.md?page=4

[Latest](https://root-forum.cern.ch/latest.md) · [Categories](https://root-forum.cern.ch/categories.md) · [Tags](https://root-forum.cern.ch/tags.md)

**Page:** 5

---

## [Energy Loss of a track problem](https://root-forum.cern.ch/t/energy-loss-of-a-track-problem/62367)

<div class="topic-metadata">

**Author:** [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Replies:** 1\
**Last updated:** [December 1, 2024, 7:05pm UTC](https://root-forum.cern.ch/t/energy-loss-of-a-track-problem/62367 "2024-12-01T19:05:42Z")

</div>

Hi everyone, I have some problem, I tried to get the energy loss of a track through GEM geometry (Drift chamber), when i generate 100 event it works but when i go for 10000 event its stuck even i have enough memory sp…

---

## [How to write a custom gas file to use in Geant-4 and garfield++ interface](https://root-forum.cern.ch/t/how-to-write-a-custom-gas-file-to-use-in-geant-4-and-garfield-interface/62347)

<div class="topic-metadata">

**Author:** [@Ujjwal-gh](https://root-forum.cern.ch/u/Ujjwal-gh)\
**Replies:** 1\
**Last updated:** [November 29, 2024, 9:30am UTC](https://root-forum.cern.ch/t/how-to-write-a-custom-gas-file-to-use-in-geant-4-and-garfield-interface/62347 "2024-11-29T09:30:04Z")

</div>

Hello I am modifying the Geant-4 and Garfield ++ interface example code to try and understand the workings of this interface. Now the .gas file used in this interface is ar\_70\_co2\_30\_1000mbar.gas, I want to use p10 gas …

---

## [Gain vs Voltge problem](https://root-forum.cern.ch/t/gain-vs-voltge-problem/62296)

<div class="topic-metadata">

**Author:** [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Replies:** 2\
**Last updated:** [November 23, 2024, 1:38pm UTC](https://root-forum.cern.ch/t/gain-vs-voltge-problem/62296 "2024-11-23T13:38:05Z")

</div>

hii @Piet @hschindl sir, i have successfully created and avalanche process in triple GEM detector . i want to plot between voltage and effective gain but I am being puzzled by Voltage means how i decide voltage because…

---

## [Simulate Photon transport using Heed in single layer gem detector](https://root-forum.cern.ch/t/simulate-photon-transport-using-heed-in-single-layer-gem-detector/62261)

<div class="topic-metadata">

**Author:** [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Replies:** 5\
**Last updated:** [November 18, 2024, 10:03am UTC](https://root-forum.cern.ch/t/simulate-photon-transport-using-heed-in-single-layer-gem-detector/62261 "2024-11-18T10:03:11Z")

</div>

Hii @Piet @hschindl sir, i want to simulate Photon transport using Heed in single layer gem detector. Sorry if the question is silly, or the answer is obvious… i don’t know my question is wrong or right but i want to …

---

## [Garfield++ units when importing mesh from COMSOL](https://root-forum.cern.ch/t/garfield-units-when-importing-mesh-from-comsol/62230)

<div class="topic-metadata">

**Author:** [@mole.luca](https://root-forum.cern.ch/u/mole.luca)\
**Replies:** 3\
**Last updated:** [November 18, 2024, 9:58am UTC](https://root-forum.cern.ch/t/garfield-units-when-importing-mesh-from-comsol/62230 "2024-11-18T09:58:22Z")

</div>

Hi. I am trying to import a mesh file from COMSOL into Garfield++ following the instructions in the manual here . This (43.7 KB) is the code that I am using. The mesh file has units of meters, and this is what I set w…

---

## [Avalanche problem on double layer(1st and 2nd) GEM detector](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186)

<div class="topic-metadata">

**Author:** [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Replies:** 13\
**Last updated:** [November 15, 2024, 9:40am UTC](https://root-forum.cern.ch/t/avalanche-problem-on-double-layer-1st-and-2nd-gem-detector/62186 "2024-11-15T09:40:02Z")

</div>

hii everyone, i have successfully made 2nd layer(1st and 2nd) gem detector. also calculate electric field but when i look at plot it only avalanche in 1st layer, can you please suggest me , how i avalanche in 2nd layer …

---

## [Gem example does not open vis interface](https://root-forum.cern.ch/t/gem-example-does-not-open-vis-interface/62148)

<div class="topic-metadata">

**Author:** [@Mattia\_Martelli](https://root-forum.cern.ch/u/Mattia_Martelli)\
**Replies:** 10\
**Last updated:** [November 12, 2024, 9:20am UTC](https://root-forum.cern.ch/t/gem-example-does-not-open-vis-interface/62148 "2024-11-12T09:20:02Z")

</div>

Hi everyone! This is my first post in the ROOT community and I want to thank you all for the help I get by reading the forum for years. Now I success installing Garfieldpp on Archlinux from source, then when I run the …

---

## [Garfield++ error importing field map from COMSOL](https://root-forum.cern.ch/t/garfield-error-importing-field-map-from-comsol/62164)

<div class="topic-metadata">

**Author:** [@mole.luca](https://root-forum.cern.ch/u/mole.luca)\
**Replies:** 4\
**Last updated:** [November 8, 2024, 6:22pm UTC](https://root-forum.cern.ch/t/garfield-error-importing-field-map-from-comsol/62164 "2024-11-08T18:22:44Z")

</div>

Hi. I am running Garfield++ in a Jupyter notebook in SWAN. I am trying to import a field map from COMSOL following the instructions in the manual here. It seems that the mesh and materials file are imported properly, …

---

## [neBEM-based simulation is very slow](https://root-forum.cern.ch/t/nebem-based-simulation-is-very-slow/62063)

<div class="topic-metadata">

**Author:** [@NSos](https://root-forum.cern.ch/u/NSos)\
**Replies:** 13\
**Last updated:** [November 7, 2024, 9:38am UTC](https://root-forum.cern.ch/t/nebem-based-simulation-is-very-slow/62063 "2024-11-07T09:38:49Z")

</div>

Hi, I’m trying so simulate a detector using Garfield++ on my Ubuntu install. The detector I am trying so simulate is an isobutane-filled MWPC, with two planes of wires (one going in x and one going in y directions) separ…

---

## [RootLogicalVolume with Garfield/Geant4 interface](https://root-forum.cern.ch/t/rootlogicalvolume-with-garfield-geant4-interface/62062)

<div class="topic-metadata">

**Author:** [@Khalil\_Alashy](https://root-forum.cern.ch/u/Khalil_Alashy)\
**Replies:** 5\
**Last updated:** [November 7, 2024, 9:07am UTC](https://root-forum.cern.ch/t/rootlogicalvolume-with-garfield-geant4-interface/62062 "2024-11-07T09:07:04Z")

</div>

Hello, I am working on Garfield and Geant4 Interface. I am defining a bunch of Air Cylinders enclosed in a slab of PlexiGlass. I am adding the logicVolume of the Air Cylinders as the RootLogicalVolume, and looping over…

---

## [Plotting Problems encountered while import into Garfield. i'm beginner in garfield++](https://root-forum.cern.ch/t/plotting-problems-encountered-while-import-into-garfield-im-beginner-in-garfield/62126)

<div class="topic-metadata">

**Author:** [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Replies:** 4\
**Last updated:** [November 4, 2024, 8:33pm UTC](https://root-forum.cern.ch/t/plotting-problems-encountered-while-import-into-garfield-im-beginner-in-garfield/62126 "2024-11-04T20:33:33Z")

</div>

hello sir, i have successfully created doublegemcell.geo file with just shift the z position of single GEM layer and meshed them for double GEM detector(1st and 2nd GEM) between electrode. After solving solver input fil…

---

## [Garfield++ problem](https://root-forum.cern.ch/t/garfield-problem/62050)

<div class="topic-metadata">

**Author:** [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Replies:** 3\
**Last updated:** [October 31, 2024, 6:44am UTC](https://root-forum.cern.ch/t/garfield-problem/62050 "2024-10-31T06:44:45Z")

</div>

hello sir/madam, i have successfully created Gemcell.geo file for double GEM detector between electrode and meshed them after solving solver input file and import in garfield++ i got error. can you plz check my .sif f…

---

## [Elmer solver input file problem plz someone help me! i'm beginner in Garfield++](https://root-forum.cern.ch/t/elmer-solver-input-file-problem-plz-someone-help-me-im-beginner-in-garfield/62027)

<div class="topic-metadata">

**Author:** [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Replies:** 7\
**Last updated:** [October 29, 2024, 11:35am UTC](https://root-forum.cern.ch/t/elmer-solver-input-file-problem-plz-someone-help-me-im-beginner-in-garfield/62027 "2024-10-29T11:35:08Z")

</div>

i am encountering with this type of error when i creating & running a .sif file for double layer GEM detector. ELMER SOLVER (v 9.0) STARTED AT: 2024/10/27 15:26:38 ParCommInit: Initialize #PEs: 1 MAIN: M…

---

## [Different gain values for the same code](https://root-forum.cern.ch/t/different-gain-values-for-the-same-code/62028)

<div class="topic-metadata">

**Author:** [@\_asmaa\_abdallah](https://root-forum.cern.ch/u/_asmaa_abdallah)\
**Replies:** 3\
**Last updated:** [October 29, 2024, 6:56am UTC](https://root-forum.cern.ch/t/different-gain-values-for-the-same-code/62028 "2024-10-29T06:56:49Z")

</div>

Hi, I have a problem with the detector gain simulation code, I have different values for the gain values while running the code on different devices. I made sure that the simulation code, Ansys files and gas file are…

---

## [Implementation of ion-ion recombination](https://root-forum.cern.ch/t/implementation-of-ion-ion-recombination/61853)

<div class="topic-metadata">

**Author:** [@pigerard](https://root-forum.cern.ch/u/pigerard)\
**Replies:** 5\
**Last updated:** [October 23, 2024, 4:46pm UTC](https://root-forum.cern.ch/t/implementation-of-ion-ion-recombination/61853 "2024-10-23T16:46:08Z")

</div>

Dear experts, I am working on ionization chambers and I was wondering if the implementation of ion-ion recombination could be easy to do. Hence the recombination is described, similarly to electron attachment, with a a…

---

## [To Simulate charged-particle tracks using Heed, after avalanche of the ionized electrons will be simulated in single layer GEM detector, but i getting error](https://root-forum.cern.ch/t/to-simulate-charged-particle-tracks-using-heed-after-avalanche-of-the-ionized-electrons-will-be-simulated-in-single-layer-gem-detector-but-i-getting-error/61786)

<div class="topic-metadata">

**Author:** [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Replies:** 2\
**Last updated:** [September 25, 2024, 8:55pm UTC](https://root-forum.cern.ch/t/to-simulate-charged-particle-tracks-using-heed-after-avalanche-of-the-ionized-electrons-will-be-simulated-in-single-layer-gem-detector-but-i-getting-error/61786 "2024-09-25T20:55:54Z")

</div>

Create the TrackHeed object for primary ionization track = ROOT.Garfield.TrackHeed() track.SetParticle(‘muon’) # Define the particle type (muon) track.SetEnergy(180.e9) # Set part…

---

## [How to Simulate charged-particle tracks using Heed. i have tryied many time but not getting result,](https://root-forum.cern.ch/t/how-to-simulate-charged-particle-tracks-using-heed-i-have-tryied-many-time-but-not-getting-result/61775)

<div class="topic-metadata">

**Author:** [@Dk\_ntm](https://root-forum.cern.ch/u/Dk_ntm)\
**Replies:** 7\
**Last updated:** [September 25, 2024, 9:50am UTC](https://root-forum.cern.ch/t/how-to-simulate-charged-particle-tracks-using-heed-i-have-tryied-many-time-but-not-getting-result/61775 "2024-09-25T09:50:02Z")

</div>

import ROOT import gmsh import ctypes import sys import math import numpy as np import matplotlib.pyplot as plt gmsh.initialize() Set relevant LEM parameters. LEM thickness in cm lem\_th = 0.04; copper thickness l…

---

## [Strange result for ion drift velocity in low pressure propane, missing long. diffusion coefficient](https://root-forum.cern.ch/t/strange-result-for-ion-drift-velocity-in-low-pressure-propane-missing-long-diffusion-coefficient/60453)

<div class="topic-metadata">

**Author:** [@VictorM](https://root-forum.cern.ch/u/VictorM)\
**Replies:** 21\
**Last updated:** [September 23, 2024, 2:25pm UTC](https://root-forum.cern.ch/t/strange-result-for-ion-drift-velocity-in-low-pressure-propane-missing-long-diffusion-coefficient/60453 "2024-09-23T14:25:43Z")

</div>

Hi, I would appreciate some hint here. I am simulating C3H8+ ions drifting in 1 Torr propane at 313 K. I have an ion mobility file and created a GasFile with a field range of 0.1 V/cm to 1800 V/cm, using 30 field point…

---

## [Is it a mistake in garfieldpp's source code?](https://root-forum.cern.ch/t/is-it-a-mistake-in-garfieldpps-source-code/61609)

<div class="topic-metadata">

**Author:** [@alksndr.volkov](https://root-forum.cern.ch/u/alksndr.volkov)\
**Replies:** 1\
**Last updated:** [September 8, 2024, 8:03pm UTC](https://root-forum.cern.ch/t/is-it-a-mistake-in-garfieldpps-source-code/61609 "2024-09-08T20:03:07Z")

</div>

Hello. I tried to understand how AvalancheMicroscopic works in Garfieldpp. It uses function “GetElectronEnergy” in “AvalancheMicroscopic.cc” (look at photo): I think that vx1,vx2,vx3 have dimension of velocity, becau…

---

## [Garfield ++ installation and Geant-4 interfacing](https://root-forum.cern.ch/t/garfield-installation-and-geant-4-interfacing/60594)

<div class="topic-metadata">

**Author:** [@Ujjwal-gh](https://root-forum.cern.ch/u/Ujjwal-gh)\
**Replies:** 4\
**Last updated:** [September 4, 2024, 8:19am UTC](https://root-forum.cern.ch/t/garfield-installation-and-geant-4-interfacing/60594 "2024-09-04T08:19:13Z")

</div>

Hi, i want to study the effects of Electric field and charge particle interaction on the energy deposition inside a Proportional counter, so i was suggested to use Garfield ++ on the geant4 forum. I have installed the Ga…

---

## [How to merge gas files if there are different E fields, same angles and same B fields?](https://root-forum.cern.ch/t/how-to-merge-gas-files-if-there-are-different-e-fields-same-angles-and-same-b-fields/60673)

<div class="topic-metadata">

**Author:** [@alksndr.volkov](https://root-forum.cern.ch/u/alksndr.volkov)\
**Replies:** 3\
**Last updated:** [September 2, 2024, 1:11pm UTC](https://root-forum.cern.ch/t/how-to-merge-gas-files-if-there-are-different-e-fields-same-angles-and-same-b-fields/60673 "2024-09-02T13:11:32Z")

</div>

I tried to merge two gas tables, but it did not allow me to do this, saying that no two axes are the same.

---

## [Unable to run Garfield's GemGPU example](https://root-forum.cern.ch/t/unable-to-run-garfields-gemgpu-example/60413)

<div class="topic-metadata">

**Author:** [@gabrielribcesario](https://root-forum.cern.ch/u/gabrielribcesario)\
**Replies:** 8\
**Last updated:** [August 5, 2024, 4:46pm UTC](https://root-forum.cern.ch/t/unable-to-run-garfields-gemgpu-example/60413 "2024-08-05T16:46:30Z")

</div>

Hello, For the last week I have been trying to compile the GemGPU example but to no success. Both Tensorflow and PyTorch can detect my GPU, both nvidia-smi and nvcc -V work fine and cudaGetDeviceCount() returns 1, which…

---

## [MagBoltz calculating rates at high energies](https://root-forum.cern.ch/t/magboltz-calculating-rates-at-high-energies/60337)

<div class="topic-metadata">

**Author:** [@Crush](https://root-forum.cern.ch/u/Crush)\
**Replies:** 9\
**Last updated:** [August 5, 2024, 10:22am UTC](https://root-forum.cern.ch/t/magboltz-calculating-rates-at-high-energies/60337 "2024-08-05T10:22:07Z")

</div>

Hi all, I’m currently simulating multiple gains within an amplification gap over multiple field strengths. I find for larger field strengths, rarely an avalanche occurs where magboltz has to calculate the collision rate…

---

## [Drift Chamber Simulation keeps getting killed](https://root-forum.cern.ch/t/drift-chamber-simulation-keeps-getting-killed/60199)

<div class="topic-metadata">

**Author:** [@JFBW](https://root-forum.cern.ch/u/JFBW)\
**Replies:** 8\
**Last updated:** [July 16, 2024, 3:24pm UTC](https://root-forum.cern.ch/t/drift-chamber-simulation-keeps-getting-killed/60199 "2024-07-16T15:24:35Z")

</div>

Hi, I’m simulating a Drift Chamber and use Comsol as a field solver and adapted the Comsol example. 100 muons passing through the chamber at different distances from the anode wire and I want to collect all the data fro…

---

## [Doping Concentration in Silicon](https://root-forum.cern.ch/t/doping-concentration-in-silicon/60210)

<div class="topic-metadata">

**Author:** [@Khalil\_Alashy](https://root-forum.cern.ch/u/Khalil_Alashy)\
**Replies:** 4\
**Last updated:** [July 15, 2024, 4:49pm UTC](https://root-forum.cern.ch/t/doping-concentration-in-silicon/60210 "2024-07-15T16:49:27Z")

</div>

Hello All, I hope you have been well. I have simulated a basic silicon - pixel detector to retrieve the current and charge collection on the pixel. I am trying to implement a more intricate geometry for with doping con…

---

## [Trouble plotting signal](https://root-forum.cern.ch/t/trouble-plotting-signal/59775)

<div class="topic-metadata">

**Author:** [@Crush](https://root-forum.cern.ch/u/Crush)\
**Replies:** 29\
**Last updated:** [July 12, 2024, 2:23am UTC](https://root-forum.cern.ch/t/trouble-plotting-signal/59775 "2024-07-12T02:23:36Z")

</div>

Hello, I’ve been trying to plot the signal induced on a readout strip within a Micromegas detector due to an avalanche. I’m able to plot the drift lines, however when I begin to plot the signal the debugging section con…

---

## [Warning: present gas table has no ionisation rates](https://root-forum.cern.ch/t/warning-present-gas-table-has-no-ionisation-rates/60163)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 1\
**Last updated:** [July 11, 2024, 4:36am UTC](https://root-forum.cern.ch/t/warning-present-gas-table-has-no-ionisation-rates/60163 "2024-07-11T04:36:12Z")

</div>

Dear experts I’m using TrackHeed::TransportDeltaElectron() and TrackHeed::TransportPhoton() to simulate gas chamber, but got this warning: MediumMagboltz::EnablePenningTransfer: Warning: present gas table has no io…

---

## [Will the original electron saved in e- bank after TrackHeed::TransportDeltaElectron()?](https://root-forum.cern.ch/t/will-the-original-electron-saved-in-e-bank-after-trackheed-transportdeltaelectron/60151)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 4\
**Last updated:** [July 10, 2024, 9:40am UTC](https://root-forum.cern.ch/t/will-the-original-electron-saved-in-e-bank-after-trackheed-transportdeltaelectron/60151 "2024-07-10T09:40:34Z")

</div>

Dear Experts I want to simulate some delta electrons that energy are low, and then retrieve all of them for the drift simulation. I wonder if the original one also included in the bank so that I don’t miss any ionized …

---

## [Sensor in Negative Ion Garfield++](https://root-forum.cern.ch/t/sensor-in-negative-ion-garfield/59673)

<div class="topic-metadata">

**Author:** [@KAUSHIK\_GUPTA](https://root-forum.cern.ch/u/KAUSHIK_GUPTA)\
**Replies:** 5\
**Last updated:** [June 25, 2024, 11:32am UTC](https://root-forum.cern.ch/t/sensor-in-negative-ion-garfield/59673 "2024-06-25T11:32:04Z")

</div>

I’m running a simulation of single GEM gain with one electron with negative ion drift, now i’m trying to put a sensor just below the GEM. I have few doubts. Do we need to add Electric fields of the sensor, if not, how …

---

## [Simscale cloud tool for mesh and electric field production. Integration in Garfield++](https://root-forum.cern.ch/t/simscale-cloud-tool-for-mesh-and-electric-field-production-integration-in-garfield/60044)

<div class="topic-metadata">

**Author:** [@mole.luca](https://root-forum.cern.ch/u/mole.luca)\
**Replies:** 4\
**Last updated:** [July 1, 2024, 11:51am UTC](https://root-forum.cern.ch/t/simscale-cloud-tool-for-mesh-and-electric-field-production-integration-in-garfield/60044 "2024-07-01T11:51:14Z")

</div>

Hi. I found that Simscale is a great online tool for producing meshes and electric field finite element solutions. the biggest advantage to me is that it is naturally integrated with onshape. Both of them are online and…

[Previous page](https://root-forum.cern.ch/c/garfieldxx/25.md?page=3)

[Next page](https://root-forum.cern.ch/c/garfieldxx/25.md?page=5)
