# Garfield++

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

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

---

## [Garfield ++ doesn't visualize: Aborted (core dumped)](https://root-forum.cern.ch/t/garfield-doesnt-visualize-aborted-core-dumped/58417)

<div class="topic-metadata">

**Author:** [@toygarzeki](https://root-forum.cern.ch/u/toygarzeki)\
**Replies:** 2\
**Last updated:** [March 7, 2024, 10:13am UTC](https://root-forum.cern.ch/t/garfield-doesnt-visualize-aborted-core-dumped/58417 "2024-03-07T10:13:10Z")

</div>

I use WSL (Ubuntu 20.04.6) for Root and Garfield++. The build was succesful, then I tried to run example/Gem. It gave some values but did not show up Root visualization and gave this error: terminate called after throwi…

---

## [How to access the Diffusion Coefficients calculated by Garfield to do calculations](https://root-forum.cern.ch/t/how-to-access-the-diffusion-coefficients-calculated-by-garfield-to-do-calculations/58411)

<div class="topic-metadata">

**Author:** [@Aneesha6](https://root-forum.cern.ch/u/Aneesha6)\
**Replies:** 1\
**Last updated:** [March 6, 2024, 3:24pm UTC](https://root-forum.cern.ch/t/how-to-access-the-diffusion-coefficients-calculated-by-garfield-to-do-calculations/58411 "2024-03-06T15:24:54Z")

</div>

I am running the example “~/garfiledpp/Examples/Gasfile/generate.C” to generate a gas file. I now want to retrieve the Diffusion coefficients from the gas file and use their values to calculate the electron cloud size as…

---

## [Calculation of ion mobility in gas mixture](https://root-forum.cern.ch/t/calculation-of-ion-mobility-in-gas-mixture/58385)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 7\
**Last updated:** [March 6, 2024, 7:15am UTC](https://root-forum.cern.ch/t/calculation-of-ion-mobility-in-gas-mixture/58385 "2024-03-06T07:15:19Z")

</div>

Dear experts I want to calculate the ion mobility and make mobility file of He-isobutane mixture at 90:10, I found the He+ in He mobility in the paper I got here before (H.W.Ellis 4 series papers) and the ion mobility i…

---

## [Maybe a bug in class MediumMagboltz](https://root-forum.cern.ch/t/maybe-a-bug-in-class-mediummagboltz/58359)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 6\
**Last updated:** [March 5, 2024, 6:22am UTC](https://root-forum.cern.ch/t/maybe-a-bug-in-class-mediummagboltz/58359 "2024-03-05T06:22:54Z")

</div>

When producing .gas file of mixture with 93% argon and 7% carbon dioxide, the error occured at ELECTRIC FIELD = 2002.3331 VOLTS/CM, the output on terminal is: WARNING ENERGY OUT OF RANGE,INCREASE ELECTRON ENERGY INTEG…

---

## [Maybe a bug](https://root-forum.cern.ch/t/maybe-a-bug/58358)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 4\
**Last updated:** [March 4, 2024, 1:49pm UTC](https://root-forum.cern.ch/t/maybe-a-bug/58358 "2024-03-04T13:49:07Z")

</div>

When producing .gas file of H2, at electric field 5E+5 V/cm, the program stopped. here is some output from terminal: VEL POS TIME ENERGY COUNT DIFXX DIFYY DIFZZ 54679.30 0.127D+03 0.232…

---

## [Any advice about the measurement of recoiled proton spectrum by neutron with energy of 24 keV and higher](https://root-forum.cern.ch/t/any-advice-about-the-measurement-of-recoiled-proton-spectrum-by-neutron-with-energy-of-24-kev-and-higher/58233)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 3\
**Last updated:** [February 26, 2024, 11:36am UTC](https://root-forum.cern.ch/t/any-advice-about-the-measurement-of-recoiled-proton-spectrum-by-neutron-with-energy-of-24-kev-and-higher/58233 "2024-02-26T11:36:58Z")

</div>

The devised detector is used to obtain recoiled proton spectrum by neutron with energy of 24 keV and higher, how to devise the proportional counter with lower threshold about around 10 keV?

---

## [What is the value of secondary-electron-emission coefficient when calculating the breakdown voltage for some gas?](https://root-forum.cern.ch/t/what-is-the-value-of-secondary-electron-emission-coefficient-when-calculating-the-breakdown-voltage-for-some-gas/58292)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 2\
**Last updated:** [February 26, 2024, 9:07am UTC](https://root-forum.cern.ch/t/what-is-the-value-of-secondary-electron-emission-coefficient-when-calculating-the-breakdown-voltage-for-some-gas/58292 "2024-02-26T09:07:25Z")

</div>

When calculating the breakdown voltage for some gas, the value of secondary-electron-emission coefficient is needed, how to get this value?

---

## [Root still cannot find VDT on Mac? (Building Garfield++)](https://root-forum.cern.ch/t/root-still-cannot-find-vdt-on-mac-building-garfield/58146)

<div class="topic-metadata">

**Author:** [@Shinsuke\_Ota](https://root-forum.cern.ch/u/Shinsuke_Ota)\
**Replies:** 2\
**Last updated:** [February 14, 2024, 2:42am UTC](https://root-forum.cern.ch/t/root-still-cannot-find-vdt-on-mac-building-garfield/58146 "2024-02-14T02:42:11Z")

</div>

I am trying to compile garfield++ on Mac and faced the same problem reported in the existing (and closed) topic “Error building Garfield++ on Mac using latest version of CMake”. (I cannot put the link to topic since I am…

---

## [Where can i get the coefficients of Paschen law?](https://root-forum.cern.ch/t/where-can-i-get-the-coefficients-of-paschen-law/58050)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 2\
**Last updated:** [February 4, 2024, 8:09am UTC](https://root-forum.cern.ch/t/where-can-i-get-the-coefficients-of-paschen-law/58050 "2024-02-04T08:09:31Z")

</div>

The coefficients of Paschen law for argon are listed in example Paschen, where can i get the coefficients of Paschen law for others gas?

---

## [What do the colors represent?](https://root-forum.cern.ch/t/what-do-the-colors-represent/58021)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 4\
**Last updated:** [February 2, 2024, 1:08am UTC](https://root-forum.cern.ch/t/what-do-the-colors-represent/58021 "2024-02-02T01:08:27Z")

</div>

In DriftTube example, when changing class DriftLineRKF to AvalancheMicroscopic for transporting electron, the result from class ViewDrift is: the color of electron is identified by code: driftView.SetColourElectrons(…

---

## [What is the formula of electric field in the example DriftTube?](https://root-forum.cern.ch/t/what-is-the-formula-of-electric-field-in-the-example-drifttube/58020)

<div class="topic-metadata">

**Author:** [@newconcept1979](https://root-forum.cern.ch/u/newconcept1979)\
**Replies:** 3\
**Last updated:** [February 1, 2024, 8:41am UTC](https://root-forum.cern.ch/t/what-is-the-formula-of-electric-field-in-the-example-drifttube/58020 "2024-02-01T08:41:17Z")

</div>

if the formula is: then what are the values of C and ε0? C: the capacitance of unit length; ε0: the dielectric constant of the gas. if not, What is the formula of electric field?

---

## [Error building Garfield++ on Mac using latest version of CMake](https://root-forum.cern.ch/t/error-building-garfield-on-mac-using-latest-version-of-cmake/57978)

<div class="topic-metadata">

**Author:** [@miranda](https://root-forum.cern.ch/u/miranda)\
**Replies:** 1\
**Last updated:** [January 26, 2024, 9:03pm UTC](https://root-forum.cern.ch/t/error-building-garfield-on-mac-using-latest-version-of-cmake/57978 "2024-01-26T21:03:42Z")

</div>

I am new to using Garfield, and want to simulate interactions in a small detector being used for an R&D project. I installed CMake 3.28.1, gfortran 13.2., gsl libraries, python 3.11.7, and root 6.30 all using homebrew. W…

---

## [How to run the Example "lem" to obtain the induced signal](https://root-forum.cern.ch/t/how-to-run-the-example-lem-to-obtain-the-induced-signal/57871)

<div class="topic-metadata">

**Author:** [@jiangjc-github](https://root-forum.cern.ch/u/jiangjc-github)\
**Replies:** 4\
**Last updated:** [January 18, 2024, 1:23am UTC](https://root-forum.cern.ch/t/how-to-run-the-example-lem-to-obtain-the-induced-signal/57871 "2024-01-18T01:23:59Z")

</div>

@hschindl Hi hschindl, I try to run the example “garfieldpp/Examples/Elmer/lem” to obtain the induced signal, however, the result file is always blank whatever I tried. Here are my modified lines comparing to original…

---

## [The big gap between the numbers of electrons generated and collected](https://root-forum.cern.ch/t/the-big-gap-between-the-numbers-of-electrons-generated-and-collected/57663)

<div class="topic-metadata">

**Author:** [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Replies:** 23\
**Last updated:** [January 17, 2024, 2:27am UTC](https://root-forum.cern.ch/t/the-big-gap-between-the-numbers-of-electrons-generated-and-collected/57663 "2024-01-17T02:27:16Z")

</div>

I have simulated protons passing through the gas ionization chamber , according to the result, I found that there is a big difference between the number of electrons generated by the proton and finally collected by the c…

---

## [How to use multithread computation in the Garfield++](https://root-forum.cern.ch/t/how-to-use-multithread-computation-in-the-garfield/57593)

<div class="topic-metadata">

**Author:** [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Replies:** 2\
**Last updated:** [December 26, 2023, 10:44am UTC](https://root-forum.cern.ch/t/how-to-use-multithread-computation-in-the-garfield/57593 "2023-12-26T10:44:33Z")

</div>

How to use multithread computation in the Garfield++ to improve the calculation efficiency. When the number of the particles are large enough, the calculation processing would be killed or very slow.

---

## [Guard ring around a circular electrode](https://root-forum.cern.ch/t/guard-ring-around-a-circular-electrode/57623)

<div class="topic-metadata">

**Author:** [@Sebastien](https://root-forum.cern.ch/u/Sebastien)\
**Replies:** 8\
**Last updated:** [December 22, 2023, 7:54am UTC](https://root-forum.cern.ch/t/guard-ring-around-a-circular-electrode/57623 "2023-12-22T07:54:01Z")

</div>

Hi all, I’m trying to define a guard ring around a circular electrode using Garfield and nebem, and obviously i don’t understand something. I thought this was possible by defining a series of flat cylinders representing …

---

## [How to get the number of real electrons generated and the electrons collected](https://root-forum.cern.ch/t/how-to-get-the-number-of-real-electrons-generated-and-the-electrons-collected/57144)

<div class="topic-metadata">

**Author:** [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Replies:** 19\
**Last updated:** [December 19, 2023, 1:22am UTC](https://root-forum.cern.ch/t/how-to-get-the-number-of-real-electrons-generated-and-the-electrons-collected/57144 "2023-12-19T01:22:14Z")

</div>

like what I typed in the topic, I want to get the totally number of the electrons generated after the proton passing through the gas ionization chamber ne, and in the meanwhile get the number that collected by the collec…

---

## [The relationship between uncertainty of diffusion parameters and the number of collisions](https://root-forum.cern.ch/t/the-relationship-between-uncertainty-of-diffusion-parameters-and-the-number-of-collisions/57427)

<div class="topic-metadata">

**Author:** [@jiangjc-github](https://root-forum.cern.ch/u/jiangjc-github)\
**Replies:** 9\
**Last updated:** [December 18, 2023, 1:18am UTC](https://root-forum.cern.ch/t/the-relationship-between-uncertainty-of-diffusion-parameters-and-the-number-of-collisions/57427 "2023-12-18T01:18:25Z")

</div>

@hschindl Hi hschindl, How can we estimate the relationship between uncertainty of diffusion parameters and the number of collisions? Best Regards, Jiechen

---

## [Strange electron trajectories](https://root-forum.cern.ch/t/strange-electron-trajectories/57536)

<div class="topic-metadata">

**Author:** [@keino](https://root-forum.cern.ch/u/keino)\
**Replies:** 4\
**Last updated:** [December 14, 2023, 8:53am UTC](https://root-forum.cern.ch/t/strange-electron-trajectories/57536 "2023-12-14T08:53:50Z")

</div>

Hi guys, I would like to ask a question. I want to output the electron transport trajectory, but the result is shown below, the electron trajectory is accompanied by a lot of marks like “ions”, I’m not sure why this phe…

---

## [Reference format for Garfield++ software](https://root-forum.cern.ch/t/reference-format-for-garfield-software/57492)

<div class="topic-metadata">

**Author:** [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Replies:** 3\
**Last updated:** [December 12, 2023, 4:56am UTC](https://root-forum.cern.ch/t/reference-format-for-garfield-software/57492 "2023-12-12T04:56:55Z")

</div>

hello！ In my article, I used the Garfield++ software. I would like to quote this software in the article. How do I cite it, and is there a standard format? thanks you!

---

## [Trying to use SetTopLid() using neBEM in Garfield++](https://root-forum.cern.ch/t/trying-to-use-settoplid-using-nebem-in-garfield/57184)

<div class="topic-metadata">

**Author:** [@Sebastien](https://root-forum.cern.ch/u/Sebastien)\
**Replies:** 4\
**Last updated:** [December 11, 2023, 11:44am UTC](https://root-forum.cern.ch/t/trying-to-use-settoplid-using-nebem-in-garfield/57184 "2023-12-11T11:44:30Z")

</div>

Hi, I just started to use neBEM in Garfield++, starting from the examples provided in the “neBEM” directory. Creating a SolidTube I read in the Garfield++ UserGuide that one can remove the lids, so I just wrote the follo…

---

## [ComponentComsol::ElectricField: Field map not yet initialised](https://root-forum.cern.ch/t/componentcomsol-field-map-not-yet-initialised/57431)

<div class="topic-metadata">

**Author:** [@spencer2023](https://root-forum.cern.ch/u/spencer2023)\
**Replies:** 8\
**Last updated:** [December 11, 2023, 10:24am UTC](https://root-forum.cern.ch/t/componentcomsol-field-map-not-yet-initialised/57431 "2023-12-11T10:24:04Z")

</div>

Hi, I can run the COMSOL examples from garfield++ official website. But then i try to load myself build mesh/field from COMSOL. It failed and with the error as titled.

---

## [An error about DriftLineRKF::DriftLine](https://root-forum.cern.ch/t/an-error-about-driftlinerkf-driftline/57354)

<div class="topic-metadata">

**Author:** [@wxj-imp](https://root-forum.cern.ch/u/wxj-imp)\
**Replies:** 5\
**Last updated:** [December 11, 2023, 7:07am UTC](https://root-forum.cern.ch/t/an-error-about-driftlinerkf-driftline/57354 "2023-12-11T07:07:37Z")

</div>

Dear experts I am a freshman in garfieldpp.Some questions occured when I was using DriftRKF to calculate the driftline.I searched the question in the forum,although there are some similar situations,the ways to solve th…

---

## [How to set charge/cluster density along the track manually?](https://root-forum.cern.ch/t/how-to-set-charge-cluster-density-along-the-track-manually/57422)

<div class="topic-metadata">

**Author:** [@Hua-Zhen\_Li](https://root-forum.cern.ch/u/Hua-Zhen_Li)\
**Replies:** 4\
**Last updated:** [December 7, 2023, 9:00pm UTC](https://root-forum.cern.ch/t/how-to-set-charge-cluster-density-along-the-track-manually/57422 "2023-12-07T21:00:03Z")

</div>

Dear Garfield++ experts, Hello! As described in title, what I am trying to do is setting the charge/cluster density at different positions along the track manually (I am simulating the detector response to a Two Photon…

---

## [The deviation of diffusion coefficients each run](https://root-forum.cern.ch/t/the-deviation-of-diffusion-coefficients-each-run/57415)

<div class="topic-metadata">

**Author:** [@jiangjc-github](https://root-forum.cern.ch/u/jiangjc-github)\
**Replies:** 5\
**Last updated:** [December 7, 2023, 7:26am UTC](https://root-forum.cern.ch/t/the-deviation-of-diffusion-coefficients-each-run/57415 "2023-12-07T07:26:20Z")

</div>

@hschindl Hi hschindl, in Garfield examples, the diffusion coefficients can be obtained from the scripts “~/garfiledpp/Examples/Gasfile/generate.C”, however, I found small difference of the diffusion coefficients （~2%）…

---

## [Can not build Garfield after upgrade ROOT](https://root-forum.cern.ch/t/can-not-build-garfield-after-upgrade-root/57347)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 7\
**Last updated:** [December 5, 2023, 3:20am UTC](https://root-forum.cern.ch/t/can-not-build-garfield-after-upgrade-root/57347 "2023-12-05T03:20:51Z")

</div>

Dear Experts I accidentally upgrade ROOT from 6.22.08 to 6.30.00, so I need to rebuild Garfield++. But when I try to build I got such error when I run cmake $GARFIELD\_HOME: CMake Error at /Applications/CMake.app/Conten…

---

## [How to find the electrons' deposition position coordinates on the collected copper strip](https://root-forum.cern.ch/t/how-to-find-the-electrons-deposition-position-coordinates-on-the-collected-copper-strip/56662)

<div class="topic-metadata">

**Author:** [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Replies:** 35\
**Last updated:** [November 16, 2023, 3:29am UTC](https://root-forum.cern.ch/t/how-to-find-the-electrons-deposition-position-coordinates-on-the-collected-copper-strip/56662 "2023-11-16T03:29:58Z")

</div>

There are nearly sixty copper strips in the gas ionization chamber in both X and Y directions. How should I get the accurate coordinates of the electrons collected on them for the purpose of knowing the distribution of …

---

## [Simulation process for NewTrack and TransportDeltaElectron](https://root-forum.cern.ch/t/simulation-process-for-newtrack-and-transportdeltaelectron/56884)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 7\
**Last updated:** [November 15, 2023, 10:36am UTC](https://root-forum.cern.ch/t/simulation-process-for-newtrack-and-transportdeltaelectron/56884 "2023-11-15T10:36:17Z")

</div>

Dear Experts I want to simulate the slowing down of a delta electron, but when I had a look into the source code of TrackHeed, I found they all use fly() to calculate the transportation. If Heed doesn’t calculate the sl…

---

## [Calculate the mobility of ions in a gas mixture at different atmospheric pressures (0-4MPa)](https://root-forum.cern.ch/t/calculate-the-mobility-of-ions-in-a-gas-mixture-at-different-atmospheric-pressures-0-4mpa/56969)

<div class="topic-metadata">

**Author:** [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Replies:** 5\
**Last updated:** [November 9, 2023, 7:23am UTC](https://root-forum.cern.ch/t/calculate-the-mobility-of-ions-in-a-gas-mixture-at-different-atmospheric-pressures-0-4mpa/56969 "2023-11-09T07:23:26Z")

</div>

Dear Experts Hi, I want to calculate the mobility of ions in a gas mixture at different atmospheric pressures (0-4MPa). The gas mixture is 85% argon + 15% carbon dioxide and 85% argon + 15% nitrogen. Can Garfield++ cal…

---

## [About AddWhiteNoise() not working](https://root-forum.cern.ch/t/about-addwhitenoise-not-working/56986)

<div class="topic-metadata">

**Author:** [@Hua-Zhen\_Li](https://root-forum.cern.ch/u/Hua-Zhen_Li)\
**Replies:** 2\
**Last updated:** [November 7, 2023, 1:56pm UTC](https://root-forum.cern.ch/t/about-addwhitenoise-not-working/56986 "2023-11-07T13:56:07Z")

</div>

Hi experts, I have a question about AddWhiteNoise() function. In my code I am trying to add a white noise to the induced current signal of sense wire in a diamond detector. The core code is like this: for (const auto& …

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

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