# Garfield++

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

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

---

## [RPC simulation using stripreadout](https://root-forum.cern.ch/t/rpc-simulation-using-stripreadout/63927)

<div class="topic-metadata">

**Author:** [@feiyuyu](https://root-forum.cern.ch/u/feiyuyu)\
**Replies:** 3\
**Last updated:** [July 22, 2025, 1:35pm UTC](https://root-forum.cern.ch/t/rpc-simulation-using-stripreadout/63927 "2025-07-22T13:35:10Z")

</div>

Hello everyone, I’ve been using Garfield++ for RPC simulations. When I directly run the RPC example, it executes quickly and produces results. However, after changing the plane readout (RPC-\>AddPlane(label)) in the exam…

---

## [Proportional Counter in Garfield++](https://root-forum.cern.ch/t/proportional-counter-in-garfield/63760)

<div class="topic-metadata">

**Author:** [@bardiel](https://root-forum.cern.ch/u/bardiel)\
**Replies:** 3\
**Last updated:** [July 1, 2025, 11:08am UTC](https://root-forum.cern.ch/t/proportional-counter-in-garfield/63760 "2025-07-01T11:08:30Z")

</div>

ROOT Version: 6.32.12 Platform: wsl2 Ubuntu 24.04.1 Hi. I am a physics undergrad, and I am learning Garfield++ as part of my Summer Project. I am building a proportional counter and I would like to “visualize” the ele…

---

## [Question about signal function arguments](https://root-forum.cern.ch/t/question-about-signal-function-arguments/63786)

<div class="topic-metadata">

**Author:** [@carored](https://root-forum.cern.ch/u/carored)\
**Replies:** 5\
**Last updated:** [July 1, 2025, 9:21am UTC](https://root-forum.cern.ch/t/question-about-signal-function-arguments/63786 "2025-07-01T09:21:37Z")

</div>

Hi! I’m fairly new to Garfield++. I’ve been working with some previously written code, but haven’t been able to find much documentation on what arguments are used in these two functions, (sensor.ComputeThresholdCrossings…

---

## [How the calculation of drift velocity for ions worked?](https://root-forum.cern.ch/t/how-the-calculation-of-drift-velocity-for-ions-worked/63789)

<div class="topic-metadata">

**Author:** [@dm-leo](https://root-forum.cern.ch/u/dm-leo)\
**Replies:** 3\
**Last updated:** [June 24, 2025, 6:20pm UTC](https://root-forum.cern.ch/t/how-the-calculation-of-drift-velocity-for-ions-worked/63789 "2025-06-24T18:20:13Z")

</div>

Hi, all I tried to simulate the induced charge for drifting ions. The field map was calculated by COMSOL. But I found that the calculation of ion drift velocity is a bit larger than the estimation with uniform electric …

---

## [Time to generate .gas file using Magboltz](https://root-forum.cern.ch/t/time-to-generate-gas-file-using-magboltz/63729)

<div class="topic-metadata">

**Author:** [@wjsdms0721](https://root-forum.cern.ch/u/wjsdms0721)\
**Replies:** 10\
**Last updated:** [June 22, 2025, 2:12am UTC](https://root-forum.cern.ch/t/time-to-generate-gas-file-using-magboltz/63729 "2025-06-22T02:12:43Z")

</div>

Hi. I am generating gas file using ./generate in example in Geant4GarfieldInterface. I have some issue making Xe 100% 10 bar 173 Kelvin gas file with 440 kV/cm E field. It is generating now but there is no ionisation r…

---

## [Thread safety of the ComponentAnalyticField and ComponentConstant classes](https://root-forum.cern.ch/t/thread-safety-of-the-componentanalyticfield-and-componentconstant-classes/63768)

<div class="topic-metadata">

**Author:** [@gabrielribcesario](https://root-forum.cern.ch/u/gabrielribcesario)\
**Replies:** 2\
**Last updated:** [June 20, 2025, 1:59pm UTC](https://root-forum.cern.ch/t/thread-safety-of-the-componentanalyticfield-and-componentconstant-classes/63768 "2025-06-20T13:59:51Z")

</div>

Hello, I faintly remember both ComponentAnalyticField and ComponentConstant being thread safe once, but I could be mistaken. Running a sequential job on the drift of electrons with attachment turned off yields the expec…

---

## [Multithreading Magboltz Gas File Generation](https://root-forum.cern.ch/t/multithreading-magboltz-gas-file-generation/63734)

<div class="topic-metadata">

**Author:** [@CLR\_123](https://root-forum.cern.ch/u/CLR_123)\
**Replies:** 3\
**Last updated:** [June 19, 2025, 9:43pm UTC](https://root-forum.cern.ch/t/multithreading-magboltz-gas-file-generation/63734 "2025-06-19T21:43:11Z")

</div>

Hello all, I’m trying to multithread the generation of gas files from Magboltz by splitting the field grid in different sections. In my program, each std::thread() creates a Garfield::MediumMagboltz object that generate…

---

## [Problems about plot signal in Garfield++](https://root-forum.cern.ch/t/problems-about-plot-signal-in-garfield/63746)

<div class="topic-metadata">

**Author:** [@wxj-imp](https://root-forum.cern.ch/u/wxj-imp)\
**Replies:** 2\
**Last updated:** [June 18, 2025, 6:43am UTC](https://root-forum.cern.ch/t/problems-about-plot-signal-in-garfield/63746 "2025-06-18T06:43:25Z")

</div>

Dear experts I am a freshman about Garfield++.I have meet some problems in simulating a parallel-plate ion chamber.In my code,I simulated the drift of electrons successfully.But when I try to plot the induced signal,it …

---

## [Addition of oxygen with not substantial effect on a 2 ll plate detector](https://root-forum.cern.ch/t/addition-of-oxygen-with-not-substantial-effect-on-a-2-ll-plate-detector/63315)

<div class="topic-metadata">

**Author:** [@gtsileda](https://root-forum.cern.ch/u/gtsileda)\
**Replies:** 22\
**Last updated:** [June 16, 2025, 9:17am UTC](https://root-forum.cern.ch/t/addition-of-oxygen-with-not-substantial-effect-on-a-2-ll-plate-detector/63315 "2025-06-16T09:17:46Z")

</div>

Dear experts, As a continuation of the topic discussed in Simulation of Fe55 source on a parallel plate detector a 2 parallel plate detector is built operated with Ar-Isobutane (95/5)% (simplified geometry for a microm…

---

## [Cannot run the TrackDegrade example](https://root-forum.cern.ch/t/cannot-run-the-trackdegrade-example/63647)

<div class="topic-metadata">

**Author:** [@gabrielribcesario](https://root-forum.cern.ch/u/gabrielribcesario)\
**Replies:** 13\
**Last updated:** [June 15, 2025, 1:46pm UTC](https://root-forum.cern.ch/t/cannot-run-the-trackdegrade-example/63647 "2025-06-15T13:46:07Z")

</div>

Hello, Pretty much what the title says: I can’t run the TrackDegrade related examples (mip.C and plotdedx.C). Whenever I try to run them I get the following stack trace: Any help is appreciated. Sincerely, Gabriel …

---

## [No match between different garfield++ versions: /Heed/fe55.C example(?)](https://root-forum.cern.ch/t/no-match-between-different-garfield-versions-heed-fe55-c-example/63693)

<div class="topic-metadata">

**Author:** [@gtsileda](https://root-forum.cern.ch/u/gtsileda)\
**Replies:** 4\
**Last updated:** [June 15, 2025, 10:38am UTC](https://root-forum.cern.ch/t/no-match-between-different-garfield-versions-heed-fe55-c-example/63693 "2025-06-15T10:38:33Z")

</div>

Dear experts, I run the same example /Examples/Heed/fe55.C with a version back in February 2024 and with the latest one available from today via git clone garfield / garfieldpp · GitLab Unfortunately the results impl…

---

## [Primary and Secondary Ionization/Clusters](https://root-forum.cern.ch/t/primary-and-secondary-ionization-clusters/63689)

<div class="topic-metadata">

**Author:** [@can\_suslu](https://root-forum.cern.ch/u/can_suslu)\
**Replies:** 4\
**Last updated:** [June 11, 2025, 8:33pm UTC](https://root-forum.cern.ch/t/primary-and-secondary-ionization-clusters/63689 "2025-06-11T20:33:47Z")

</div>

Dear experts, I am currently working on simulating cluster formation in sMDT tubes and am particularly interested in distinguishing primary from secondary ionization clusters. From my understanding, using DisableDeltaE…

---

## [What is the unit of the result of GetSignal()?](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695)

<div class="topic-metadata">

**Author:** [@miniqin](https://root-forum.cern.ch/u/miniqin)\
**Replies:** 6\
**Last updated:** [June 8, 2025, 9:09am UTC](https://root-forum.cern.ch/t/what-is-the-unit-of-the-result-of-getsignal/63695 "2025-06-08T09:09:12Z")

</div>

Is is fC/ns? Or just fC? Besides,how can I get the induced current on the electrode?Is it the result of GetSignal() divided by the timebin? @hschindl I’m looking forward for anyone’s help.Thank you.

---

## [DriftNegativeIon hangs at certain point even in valid region](https://root-forum.cern.ch/t/driftnegativeion-hangs-at-certain-point-even-in-valid-region/63575)

<div class="topic-metadata">

**Author:** [@dm-leo](https://root-forum.cern.ch/u/dm-leo)\
**Replies:** 13\
**Last updated:** [June 5, 2025, 4:26am UTC](https://root-forum.cern.ch/t/driftnegativeion-hangs-at-certain-point-even-in-valid-region/63575 "2025-06-05T04:26:13Z")

</div>

Dear all, I’m currently simulating negative ion drift using AvalancheMC::DriftNegativeIon with a field map from COMSOL (ComponentComsol). The simulation generally works well, but for certain starting points, the drift a…

---

## [Q Garfield++ Example/RPC: Issues with Small Avalanche Size and Single Gas Gap Avalanche](https://root-forum.cern.ch/t/q-garfield-example-rpc-issues-with-small-avalanche-size-and-single-gas-gap-avalanche/63661)

<div class="topic-metadata">

**Author:** [@KaiSun](https://root-forum.cern.ch/u/KaiSun)\
**Replies:** 2\
**Last updated:** [June 5, 2025, 4:25am UTC](https://root-forum.cern.ch/t/q-garfield-example-rpc-issues-with-small-avalanche-size-and-single-gas-gap-avalanche/63661 "2025-06-05T04:25:52Z")

</div>

Dear Garfield++ Community, I am working on the Garfield++ Example/RPC and encountered an issue while running the simulation. Initially, I got the following error: TrackHeed::NewTrack: No ionisable medium at initial…

---

## [Caculate the number of electron at time step under space charge](https://root-forum.cern.ch/t/caculate-the-number-of-electron-at-time-step-under-space-charge/63651)

<div class="topic-metadata">

**Author:** [@Asmmaa\_Muhammeed](https://root-forum.cern.ch/u/Asmmaa_Muhammeed)\
**Replies:** 4\
**Last updated:** [June 2, 2025, 3:03pm UTC](https://root-forum.cern.ch/t/caculate-the-number-of-electron-at-time-step-under-space-charge/63651 "2025-06-02T15:03:20Z")

</div>

Hello, I hope you are doing well I was wonder if my code gives me the right information … i just want to compare number of electrons in time with and without space charge effect and what is the importance of the membe…

---

## [Example RPCSpaceCharge](https://root-forum.cern.ch/t/example-rpcspacecharge/63624)

<div class="topic-metadata">

**Author:** [@Asmmaa\_Muhammeed](https://root-forum.cern.ch/u/Asmmaa_Muhammeed)\
**Replies:** 2\
**Last updated:** [May 28, 2025, 6:35pm UTC](https://root-forum.cern.ch/t/example-rpcspacecharge/63624 "2025-05-28T18:35:23Z")

</div>

Hello I hope you are doing well when i run example RPCSpaceCharge it crashes Start RPC Space Charge Example MediumMagboltz::LoadGasFile: Reading file CO2\_C2H2F4\_isoC4H10\_SF6\_30\_64.5\_4.5\_1\_T\_293\_P\_723.8.gas. V…

---

## [Using multiple dynamic weighting potentials/fields from TCAD](https://root-forum.cern.ch/t/using-multiple-dynamic-weighting-potentials-fields-from-tcad/63577)

<div class="topic-metadata">

**Author:** [@Hua-Zhen\_Li](https://root-forum.cern.ch/u/Hua-Zhen_Li)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 8:23am UTC](https://root-forum.cern.ch/t/using-multiple-dynamic-weighting-potentials-fields-from-tcad/63577 "2025-05-20T08:23:16Z")

</div>

Dear experts, Hi, recently we are trying to simulate the current response of a 3D diamond detector, in which the electrodes’ resistance matters and we need to introduce a series of weighting fields at different time poi…

---

## [How to deal with huge model in garfieldpp](https://root-forum.cern.ch/t/how-to-deal-with-huge-model-in-garfieldpp/63566)

<div class="topic-metadata">

**Author:** [@dm-leo](https://root-forum.cern.ch/u/dm-leo)\
**Replies:** 2\
**Last updated:** [May 17, 2025, 3:20pm UTC](https://root-forum.cern.ch/t/how-to-deal-with-huge-model-in-garfieldpp/63566 "2025-05-17T15:20:23Z")

</div>

Dear all, I have built a huge model of TPC with 225 m, but the anode is consists of 10 k pixels with radius 0.5 mm. So if the distance step was set to 1e-6, it’s too slow. I have tried that std::vector\<d…

---

## [What is the difference between Geant4 PAIPhot and Heed in Gardield++](https://root-forum.cern.ch/t/what-is-the-difference-between-geant4-paiphot-and-heed-in-gardield/63567)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 1\
**Last updated:** [May 17, 2025, 3:14pm UTC](https://root-forum.cern.ch/t/what-is-the-difference-between-geant4-paiphot-and-heed-in-gardield/63567 "2025-05-17T15:14:57Z")

</div>

Dear experts I wonder what is the rough difference between PAIPhot model in Geant4 and Heed model in Garfield++ I heard that Heed consider the binding energy of electron where PAIPhot doesn’t, is that the only differen…

---

## [Garfield++ simulation taking a lot longer to finish after update](https://root-forum.cern.ch/t/garfield-simulation-taking-a-lot-longer-to-finish-after-update/63508)

<div class="topic-metadata">

**Author:** [@gabrielribcesario](https://root-forum.cern.ch/u/gabrielribcesario)\
**Replies:** 10\
**Last updated:** [May 12, 2025, 8:48pm UTC](https://root-forum.cern.ch/t/garfield-simulation-taking-a-lot-longer-to-finish-after-update/63508 "2025-05-12T20:48:13Z")

</div>

Hello, I’ve recently pulled the most recent Garfield++ version from the gitlab repository and I noticed that my DriftLineRKF simulations using COMSOL field maps are now taking noticeably longer. An individual event that…

---

## [Signal question](https://root-forum.cern.ch/t/signal-question/63443)

<div class="topic-metadata">

**Author:** [@Migu](https://root-forum.cern.ch/u/Migu)\
**Replies:** 15\
**Last updated:** [May 9, 2025, 1:23pm UTC](https://root-forum.cern.ch/t/signal-question/63443 "2025-05-09T13:23:45Z")

</div>

I simulated the current signal of a proportional counter tube at a working voltage of 1100V, and the results are as follows: The signal has two peaks generated by ions and electrons, respectively. The peak value of i…

---

## [Will Garfield++ consider quenching effect in gas](https://root-forum.cern.ch/t/will-garfield-consider-quenching-effect-in-gas/63521)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 5\
**Last updated:** [May 8, 2025, 11:07am UTC](https://root-forum.cern.ch/t/will-garfield-consider-quenching-effect-in-gas/63521 "2025-05-08T11:07:43Z")

</div>

Dear experts I want to simulate particles ionize in gas mixture where is He:iC4H10, 90:10. I would like to consider pair production and multiple scattering by Geant4, meanwhile I want to consider about quenching effect …

---

## [Electron endpoints in GEM structure](https://root-forum.cern.ch/t/electron-endpoints-in-gem-structure/63496)

<div class="topic-metadata">

**Author:** [@bmcconne](https://root-forum.cern.ch/u/bmcconne)\
**Replies:** 3\
**Last updated:** [May 4, 2025, 3:33am UTC](https://root-forum.cern.ch/t/electron-endpoints-in-gem-structure/63496 "2025-05-04T03:33:18Z")

</div>

Hi everyone! I’m working on a Garfield++ simulation to count the number of electrons in different regions of a triple GEM. I’m noticing some strange behavior in my simulations. I tried to attach my minimal working copy,…

---

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

<div class="topic-metadata">

**Author:** [@hohshita](https://root-forum.cern.ch/u/hohshita)\
**Replies:** 3\
**Last updated:** [April 16, 2025, 1:39pm UTC](https://root-forum.cern.ch/t/garfield-version/63399 "2025-04-16T13:39:18Z")

</div>

Dear Garfield++ experts, Can you please tell me how to find out the version of Garfield++? Best regards, Hide

---

## [Help:A strange signal](https://root-forum.cern.ch/t/help-a-strange-signal/63272)

<div class="topic-metadata">

**Author:** [@kaka](https://root-forum.cern.ch/u/kaka)\
**Replies:** 5\
**Last updated:** [April 15, 2025, 6:15pm UTC](https://root-forum.cern.ch/t/help-a-strange-signal/63272 "2025-04-15T18:15:13Z")

</div>

I used the ComponentTcad2d and TrackHeed classes in the simulation,but the result was a very strange signal curve.The first figure is the signal of cathode,and the next one is the signal of anode,I want to know why there…

---

## [Help: Garfield++ :: AvalancheMicroscopic and TrackHeed](https://root-forum.cern.ch/t/help-garfield-avalanchemicroscopic-and-trackheed/63262)

<div class="topic-metadata">

**Author:** [@Christina\_Antoniadou](https://root-forum.cern.ch/u/Christina_Antoniadou)\
**Replies:** 2\
**Last updated:** [April 1, 2025, 8:21am UTC](https://root-forum.cern.ch/t/help-garfield-avalanchemicroscopic-and-trackheed/63262 "2025-04-01T08:21:35Z")

</div>

Hello everyone, I am working on a simulation with Garfield++ where I want to analyze the microscopic details of the ionization process, particularly focusing on the secondary ionization generated during the avalanche…

---

## [Problems with DriftLineRKF and AvalancheMicroscopic](https://root-forum.cern.ch/t/problems-with-driftlinerkf-and-avalanchemicroscopic/63230)

<div class="topic-metadata">

**Author:** [@VictorM](https://root-forum.cern.ch/u/VictorM)\
**Replies:** 8\
**Last updated:** [March 31, 2025, 8:25pm UTC](https://root-forum.cern.ch/t/problems-with-driftlinerkf-and-avalanchemicroscopic/63230 "2025-03-31T20:25:47Z")

</div>

Hello, I have two problems when simulating electron avalanches in my geometry: The avalanche size is very different from DriftLineRKF (~10^5) to AvalancheMicroscopic (~10^2). When I enhance the field (boundary con…

---

## [Fail to plot electric field lines in a neBEM geometry](https://root-forum.cern.ch/t/fail-to-plot-electric-field-lines-in-a-nebem-geometry/63174)

<div class="topic-metadata">

**Author:** [@gtsileda](https://root-forum.cern.ch/u/gtsileda)\
**Replies:** 3\
**Last updated:** [March 27, 2025, 6:11pm UTC](https://root-forum.cern.ch/t/fail-to-plot-electric-field-lines-in-a-nebem-geometry/63174 "2025-03-27T18:11:44Z")

</div>

microb2.C (3.7 KB) Dear experts, Please have a look at the attached code and picture. I built a neBEM example in garfield++ that I used in past with the standalone version. The left and top central plot are obtaine…

---

## [How to simulate ion signal induced charge for SeF6](https://root-forum.cern.ch/t/how-to-simulate-ion-signal-induced-charge-for-sef6/63164)

<div class="topic-metadata">

**Author:** [@dm-leo](https://root-forum.cern.ch/u/dm-leo)\
**Replies:** 12\
**Last updated:** [March 21, 2025, 1:18am UTC](https://root-forum.cern.ch/t/how-to-simulate-ion-signal-induced-charge-for-sef6/63164 "2025-03-21T01:18:34Z")

</div>

Dear all, I want to simulate induced signal for SeF5- fly in SeF6. Following the suggestion, I use SF6 instead. My first question is that is it necessary to build gas file using Magboltz if the gas had been defined? I t…

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

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