# Garfield++

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

[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:** 6

---

## [Defining Solid Medium in Garfield++](https://root-forum.cern.ch/t/defining-solid-medium-in-garfield/59763)

<div class="topic-metadata">

**Author:** [@Khalil\_Alashy](https://root-forum.cern.ch/u/Khalil_Alashy)\
**Replies:** 3\
**Last updated:** [June 24, 2024, 10:01am UTC](https://root-forum.cern.ch/t/defining-solid-medium-in-garfield/59763 "2024-06-24T10:01:57Z")

</div>

Hello Everyone, I am simulating an ion chamber in Garfield++ to get the drift lines and signal generated at the Strips. The detector’s geometry will be concentric air cylinders drilled in a Solid PMMA(PlexiGlass, C5O2H…

---

## [Simulation of Fe55 source on a parallel plate detector](https://root-forum.cern.ch/t/simulation-of-fe55-source-on-a-parallel-plate-detector/59290)

<div class="topic-metadata">

**Author:** [@gtsileda](https://root-forum.cern.ch/u/gtsileda)\
**Replies:** 21\
**Last updated:** [June 18, 2024, 6:43am UTC](https://root-forum.cern.ch/t/simulation-of-fe55-source-on-a-parallel-plate-detector/59290 "2024-06-18T06:43:10Z")

</div>

Dear Garfield experts, I am using the fe55.C example modified in order to simulate the response of a micromegas detector on a point Fe55 iron X-ray source. Then I track the electrons from the photon absorption and calcu…

---

## [Inclusion of thermal effects in Garfield++](https://root-forum.cern.ch/t/inclusion-of-thermal-effects-in-garfield/59455)

<div class="topic-metadata">

**Author:** [@Aneesha6](https://root-forum.cern.ch/u/Aneesha6)\
**Replies:** 6\
**Last updated:** [June 6, 2024, 4:31pm UTC](https://root-forum.cern.ch/t/inclusion-of-thermal-effects-in-garfield/59455 "2024-06-06T16:31:12Z")

</div>

I am using Garfield++ to generate gas tables. I set the gas temperature to 20 degrees centigrade and let the code run, but I notice the following in the terminal output- THERMAL MOTION OF GAS NOT INCLUDED I looked at…

---

## [Accessing Latest Garfield++ updates through cvmfs](https://root-forum.cern.ch/t/accessing-latest-garfield-updates-through-cvmfs/59478)

<div class="topic-metadata">

**Author:** [@Khalil\_Alashy](https://root-forum.cern.ch/u/Khalil_Alashy)\
**Replies:** 2\
**Last updated:** [May 27, 2024, 4:03pm UTC](https://root-forum.cern.ch/t/accessing-latest-garfield-updates-through-cvmfs/59478 "2024-05-27T16:03:19Z")

</div>

Hello all, I am running Garfield++ jobs on my university cluster that has access to cvmfs. I am using these two lines to source Garfiled++: source /cvmfs/sft.cern.ch/lcg/views/LCG\_101/x86\_64-centos7-gcc11-opt/setup.sh…

---

## [Total ionization and free electron fraction (FEF)](https://root-forum.cern.ch/t/total-ionization-and-free-electron-fraction-fef/59115)

<div class="topic-metadata">

**Author:** [@pigerard](https://root-forum.cern.ch/u/pigerard)\
**Replies:** 22\
**Last updated:** [May 24, 2024, 12:02pm UTC](https://root-forum.cern.ch/t/total-ionization-and-free-electron-fraction-fef/59115 "2024-05-24T12:02:37Z")

</div>

Dear experts, I’m trying to validate what Garfield output by comparing to some experimental values by 2 ways. First one, I’m trying to get the correct number of total electrons from a ionizing particle (proton) at MIP…

---

## [No ion signal](https://root-forum.cern.ch/t/no-ion-signal/59271)

<div class="topic-metadata">

**Author:** [@pigerard](https://root-forum.cern.ch/u/pigerard)\
**Replies:** 8\
**Last updated:** [May 16, 2024, 5:29pm UTC](https://root-forum.cern.ch/t/no-ion-signal/59271 "2024-05-16T17:29:52Z")

</div>

Dear experts, I’m facing a problem of ion signal. I’m in air filled a plane parallel geometry (the gap between the electrodes is 1 mm and the voltage is at 500 V.) trying to get the induced curent by the electron, anion…

---

## [Periodical electrodes and drift area definition using field map of one pixel](https://root-forum.cern.ch/t/periodical-electrodes-and-drift-area-definition-using-field-map-of-one-pixel/59276)

<div class="topic-metadata">

**Author:** [@Hua-Zhen\_Li](https://root-forum.cern.ch/u/Hua-Zhen_Li)\
**Replies:** 1\
**Last updated:** [May 9, 2024, 4:20pm UTC](https://root-forum.cern.ch/t/periodical-electrodes-and-drift-area-definition-using-field-map-of-one-pixel/59276 "2024-05-09T16:20:10Z")

</div>

Dear experts, Sorry of interrupting you during holiday. I have a question about defining an electrode array using field maps of one pixel. What I have is 1 pixel’s field map and weighting field map from TCAD. Now I wan…

---

## [Drift lines problem with trackheed](https://root-forum.cern.ch/t/drift-lines-problem-with-trackheed/59160)

<div class="topic-metadata">

**Author:** [@pigerard](https://root-forum.cern.ch/u/pigerard)\
**Replies:** 4\
**Last updated:** [May 8, 2024, 1:02pm UTC](https://root-forum.cern.ch/t/drift-lines-problem-with-trackheed/59160 "2024-05-08T13:02:53Z")

</div>

Dear experts, I’m currently working on protons crossing a plane parallel ionisation chamber geometry and studying the attachment. I have some problems when i try to understand the visualization of the drift lines. Why…

---

## [Gain of a plane parallel geometry](https://root-forum.cern.ch/t/gain-of-a-plane-parallel-geometry/59230)

<div class="topic-metadata">

**Author:** [@pigerard](https://root-forum.cern.ch/u/pigerard)\
**Replies:** 2\
**Last updated:** [May 8, 2024, 9:14am UTC](https://root-forum.cern.ch/t/gain-of-a-plane-parallel-geometry/59230 "2024-05-08T09:14:03Z")

</div>

Hi experts, I’m curently simulating a plane parrallel ionization chamber geometry filled with air in order to get the gain of the IC. I’m at low field (5000 V/cm) so no multiplication. The gain should then be the total …

---

## [How can I impalement only gases file like Ar , CO2 or N2](https://root-forum.cern.ch/t/how-can-i-impalement-only-gases-file-like-ar-co2-or-n2/59144)

<div class="topic-metadata">

**Author:** [@Asmmaa\_Muhammeed](https://root-forum.cern.ch/u/Asmmaa_Muhammeed)\
**Replies:** 10\
**Last updated:** [May 7, 2024, 1:36pm UTC](https://root-forum.cern.ch/t/how-can-i-impalement-only-gases-file-like-ar-co2-or-n2/59144 "2024-05-07T13:36:11Z")

</div>

how can I impalement only gases file like Ar , CO2 or N2 ? how can I get induced electric field ?

---

## [How to define a portion of cylinder in Garfield/neBEM?](https://root-forum.cern.ch/t/how-to-define-a-portion-of-cylinder-in-garfield-nebem/59162)

<div class="topic-metadata">

**Author:** [@Sebastien](https://root-forum.cern.ch/u/Sebastien)\
**Replies:** 2\
**Last updated:** [April 30, 2024, 7:32am UTC](https://root-forum.cern.ch/t/how-to-define-a-portion-of-cylinder-in-garfield-nebem/59162 "2024-04-30T07:32:26Z")

</div>

Hi! I’m wondering if/how one can define a portion of a cylinder using Garfield geometry. Right now I’m using SolidTube to define a cylinder, but there is no parameters like phi1, phi2 to define just a portion (arc). I wa…

---

## [No current signal by ion](https://root-forum.cern.ch/t/no-current-signal-by-ion/59158)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 5\
**Last updated:** [April 30, 2024, 5:35am UTC](https://root-forum.cern.ch/t/no-current-signal-by-ion/59158 "2024-04-30T05:35:39Z")

</div>

The current in a parallel plate chamber was calculated, the result is: but the classic current signal from a parallel plate chamber is: so why no current signal by ion?

---

## [The wrong result when calculating using multiple threads](https://root-forum.cern.ch/t/the-wrong-result-when-calculating-using-multiple-threads/59159)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 2\
**Last updated:** [April 28, 2024, 5:31am UTC](https://root-forum.cern.ch/t/the-wrong-result-when-calculating-using-multiple-threads/59159 "2024-04-28T05:31:41Z")

</div>

The gas gain was calculated by single thread and multiple threads. The mean gain by 1000 events from single thread is 315, but, the mean gain is 23 from multiple threads. the key codes are: #pragma omp parallel for…

---

## [Simulate alpha particle incidence to induce and output electrical signals, but with "No valid medium at initial position."](https://root-forum.cern.ch/t/simulate-alpha-particle-incidence-to-induce-and-output-electrical-signals-but-with-no-valid-medium-at-initial-position/59085)

<div class="topic-metadata">

**Author:** [@Migu](https://root-forum.cern.ch/u/Migu)\
**Replies:** 6\
**Last updated:** [April 24, 2024, 12:39am UTC](https://root-forum.cern.ch/t/simulate-alpha-particle-incidence-to-induce-and-output-electrical-signals-but-with-no-valid-medium-at-initial-position/59085 "2024-04-24T00:39:09Z")

</div>

Hi! I am trying to simulate the current signal caused by the alpha particle incident on a gas medium sensor, and I have generated gas files for 85% Ar and 15% CO2 through the generate.c. The TrackSrim file I imported…

---

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

<div class="topic-metadata">

**Author:** [@elisa\_gabbrielli](https://root-forum.cern.ch/u/elisa_gabbrielli)\
**Replies:** 7\
**Last updated:** [April 20, 2024, 3:52pm UTC](https://root-forum.cern.ch/t/garfield-arm64-architecture-problem/59023 "2024-04-20T15:52:20Z")

</div>

Hello everyone, I am trying to install Garfield++ on my M1 MacBook Air running MacOS version Sonoma 14.4.1. I followed the Cern guide and, after the download, when the terminal processes the command ’ make -j 4 ’ in th…

---

## [Is it right for getting the gas gain?](https://root-forum.cern.ch/t/is-it-right-for-getting-the-gas-gain/59045)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 6\
**Last updated:** [April 19, 2024, 7:23am UTC](https://root-forum.cern.ch/t/is-it-right-for-getting-the-gas-gain/59045 "2024-04-19T07:23:42Z")

</div>

The key codes are: int ElectronNumber=0; aval.AddElectron(0.3,0.3,0,0,1.); if(!aval.GetElectrons().empty()) { aval.ResumeAvalanche(); for(const auto& electron:aval.GetElectrons()) { …

---

## [How to distinguish every electron produced in the avalanche or ionization?](https://root-forum.cern.ch/t/how-to-distinguish-every-electron-produced-in-the-avalanche-or-ionization/59002)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 6\
**Last updated:** [April 17, 2024, 12:22am UTC](https://root-forum.cern.ch/t/how-to-distinguish-every-electron-produced-in-the-avalanche-or-ionization/59002 "2024-04-17T00:22:25Z")

</div>

Is there some identity to these electron like TrackID in Geant4?

---

## [When using neBEM to calculate the electric field, can the drift line be plotted superimposed on the geometry?](https://root-forum.cern.ch/t/when-using-nebem-to-calculate-the-electric-field-can-the-drift-line-be-plotted-superimposed-on-the-geometry/58948)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 4\
**Last updated:** [April 16, 2024, 12:20am UTC](https://root-forum.cern.ch/t/when-using-nebem-to-calculate-the-electric-field-can-the-drift-line-be-plotted-superimposed-on-the-geometry/58948 "2024-04-16T00:20:27Z")

</div>

when using neBEM to calculate the electric field, can the drift line be plotted superimposed on the geometry?

---

## [Gas Electron Multiplier (GEM) detector spatial and time resolutions](https://root-forum.cern.ch/t/gas-electron-multiplier-gem-detector-spatial-and-time-resolutions/58964)

<div class="topic-metadata">

**Author:** [@Abdelrahman](https://root-forum.cern.ch/u/Abdelrahman)\
**Replies:** 2\
**Last updated:** [April 12, 2024, 8:39am UTC](https://root-forum.cern.ch/t/gas-electron-multiplier-gem-detector-spatial-and-time-resolutions/58964 "2024-04-12T08:39:24Z")

</div>

Hi, I am a newbie to GARFIELD++ and I need to calculate both the spatial resolution and the time resolution but I cannot find any direct class to calculate them, is there anyway to calculate them for the GEMs and re-do i…

---

## [Problems encountered while installing](https://root-forum.cern.ch/t/problems-encountered-while-installing/58874)

<div class="topic-metadata">

**Author:** [@MRlong](https://root-forum.cern.ch/u/MRlong)\
**Replies:** 1\
**Last updated:** [April 6, 2024, 9:09am UTC](https://root-forum.cern.ch/t/problems-encountered-while-installing/58874 "2024-04-06T09:09:08Z")

</div>

I refer to the readme file in the folder, but I keep getting stuck at the make step, can a friend help me see what’s going on?

---

## [The gas table is not necessary for the producing the electron drift line?](https://root-forum.cern.ch/t/the-gas-table-is-not-necessary-for-the-producing-the-electron-drift-line/58755)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 3\
**Last updated:** [March 28, 2024, 6:55am UTC](https://root-forum.cern.ch/t/the-gas-table-is-not-necessary-for-the-producing-the-electron-drift-line/58755 "2024-03-28T06:55:10Z")

</div>

In the example “Examples/GemMovie”, the electron drift line is produced, but no gas table is used? The gas table is not necessary for the producing the electron drift line?

---

## [The geometry plotting was not work when using class ComponentComsol?](https://root-forum.cern.ch/t/the-geometry-plotting-was-not-work-when-using-class-componentcomsol/58741)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 2\
**Last updated:** [March 27, 2024, 7:04am UTC](https://root-forum.cern.ch/t/the-geometry-plotting-was-not-work-when-using-class-componentcomsol/58741 "2024-03-27T07:04:35Z")

</div>

My application was to produce a movie like the example from /Examples/GemMovie, in the application, the Component was produced by program Comsol, everything worked well but The geometry plotting was not work, The geom…

---

## [Example "Comsol" does not show the component](https://root-forum.cern.ch/t/example-comsol-does-not-show-the-component/58687)

<div class="topic-metadata">

**Author:** [@jiangjc-github](https://root-forum.cern.ch/u/jiangjc-github)\
**Replies:** 10\
**Last updated:** [March 25, 2024, 12:49pm UTC](https://root-forum.cern.ch/t/example-comsol-does-not-show-the-component/58687 "2024-03-25T12:49:59Z")

</div>

@ hschindl Hi, hschindl, I found the component gem does not show in the Example “Comsol”, I tried to install the Garfield++ again, but the situation is the same, I don’t know the reason, could you please help me? Than…

---

## [Get Error after using TrackHeed::TransportDeltaElectron()](https://root-forum.cern.ch/t/get-error-after-using-trackheed-transportdeltaelectron/58602)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 16\
**Last updated:** [March 21, 2024, 4:22pm UTC](https://root-forum.cern.ch/t/get-error-after-using-trackheed-transportdeltaelectron/58602 "2024-03-21T16:22:10Z")

</div>

Dear experts I used TrackHeed::TraansportDeltaElectron() to simulated many delta electrons, but after I simulated all particles and try to save them (didn’t use Garfield++ here) I got error: void AtomPhotoAbsCS::remove…

---

## [What are the effects of positive ion backflow?](https://root-forum.cern.ch/t/what-are-the-effects-of-positive-ion-backflow/58566)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 5\
**Last updated:** [March 18, 2024, 1:26pm UTC](https://root-forum.cern.ch/t/what-are-the-effects-of-positive-ion-backflow/58566 "2024-03-18T13:26:25Z")

</div>

Maybe that positive ion backflow disturbs the electric field, any other effects?

---

## [Why the negative potentials are used in Gem TPC?](https://root-forum.cern.ch/t/why-the-negative-potentials-are-used-in-gem-tpc/58567)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 3\
**Last updated:** [March 18, 2024, 8:09am UTC](https://root-forum.cern.ch/t/why-the-negative-potentials-are-used-in-gem-tpc/58567 "2024-03-18T08:09:49Z")

</div>

In Gem TPC, usually the zero potential is added on readout electrode, and the potentials on Gem and drift electrodes are negative, why? when the zero potential is added on drift electrode, and the potentials on Gem and …

---

## [Can the electric field be treated as Logarithmic plot?](https://root-forum.cern.ch/t/can-the-electric-field-be-treated-as-logarithmic-plot/58570)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 2\
**Last updated:** [March 18, 2024, 8:03am UTC](https://root-forum.cern.ch/t/can-the-electric-field-be-treated-as-logarithmic-plot/58570 "2024-03-18T08:03:52Z")

</div>

In a GEM TPC application, the electric field was plotted, the result was shown below: obviously, only the electric field in the GEM region was plotted, in the drift region and the induction region, the electric fiel…

---

## [TrackSrim::RndmEnergyLoss: Input parameters not valid](https://root-forum.cern.ch/t/tracksrim-input-parameters-not-valid/58536)

<div class="topic-metadata">

**Author:** [@ufofist](https://root-forum.cern.ch/u/ufofist)\
**Replies:** 2\
**Last updated:** [March 16, 2024, 9:37am UTC](https://root-forum.cern.ch/t/tracksrim-input-parameters-not-valid/58536 "2024-03-16T09:37:46Z")

</div>

Hi, I am a newbie for Garfield++, and I tried to simulate an alpha track in the diamond. I’ve input the result from SRIM into Garfield++. But I get the error message : TrackSrim::RndmEnergyLoss: Input parameters are not…

---

## [Multiple GEM Simulation](https://root-forum.cern.ch/t/multiple-gem-simulation/58542)

<div class="topic-metadata">

**Author:** [@toygarzeki](https://root-forum.cern.ch/u/toygarzeki)\
**Replies:** 4\
**Last updated:** [March 14, 2024, 6:57pm UTC](https://root-forum.cern.ch/t/multiple-gem-simulation/58542 "2024-03-14T18:57:00Z")

</div>

Hi. I want to simulate a triple-GEM Structure in Garfield++. Searched it but couldn’t find anything. Can anyone help?

---

## [Can not read database file of Heed++](https://root-forum.cern.ch/t/can-not-read-database-file-of-heed/58529)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 6:34am UTC](https://root-forum.cern.ch/t/can-not-read-database-file-of-heed/58529 "2024-03-14T06:34:00Z")

</div>

Dear experts I want to simulate the particle transportation in gas using TrackHeed::TransportPhoton() and TrackHeed::TransportDeltaElectron(), but I got error below: MediumMagboltz::LoadMobility: Read 22 values fro…

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

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