# Garfield++

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

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

---

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

<div class="topic-metadata">

**Author:** [@xdoll](https://root-forum.cern.ch/u/xdoll)\
**Replies:** 6\
**Last updated:** [June 23, 2020, 11:47am UTC](https://root-forum.cern.ch/t/garfield-examples/39953 "2020-06-23T11:47:01Z")

</div>

Hi, I’m new to Garfield++ and I’m trying to run the first examples (like the gem or the drift tube one). I tried to follow these instructions http://garfieldpp.web.cern.ch/garfieldpp/examples/tube/ but after the first…

---

## [Fatal error when trying to run the Gem example](https://root-forum.cern.ch/t/fatal-error-when-trying-to-run-the-gem-example/39995)

<div class="topic-metadata">

**Author:** [@Khang\_Pham](https://root-forum.cern.ch/u/Khang_Pham)\
**Replies:** 7\
**Last updated:** [June 21, 2020, 3:12am UTC](https://root-forum.cern.ch/t/fatal-error-when-trying-to-run-the-gem-example/39995 "2020-06-21T03:12:09Z")

</div>

I have just finished installing Garfield++ by following the instructions from: http://garfieldpp.web.cern.ch/garfieldpp/getting-started/. When I try to build and run a given example following the instructions from the sa…

---

## [Building and running an application in a cluster](https://root-forum.cern.ch/t/building-and-running-an-application-in-a-cluster/39866)

<div class="topic-metadata">

**Author:** [@Christian](https://root-forum.cern.ch/u/Christian)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 6:19pm UTC](https://root-forum.cern.ch/t/building-and-running-an-application-in-a-cluster/39866 "2020-06-10T18:19:56Z")

</div>

Hi, I’m trying to run an application of mine in a cluster from my University. Since I don’t know the Garfield’s Library path there, I guess the best strategy would be to compile there. And again as I don’t know the Libr…

---

## [Trying to make a TPC with a D2 type symmetry](https://root-forum.cern.ch/t/trying-to-make-a-tpc-with-a-d2-type-symmetry/39850)

<div class="topic-metadata">

**Author:** [@Bugs\_Bunny](https://root-forum.cern.ch/u/Bugs_Bunny)\
**Replies:** 5\
**Last updated:** [June 10, 2020, 3:36pm UTC](https://root-forum.cern.ch/t/trying-to-make-a-tpc-with-a-d2-type-symmetry/39850 "2020-06-10T15:36:16Z")

</div>

I’m currently trying to simulate a TPC which has concentrically placed wires inside a grounded tube. From what I can see this corresponds to the D2 type symmetry in the Garfield++ documentation. I have tried to use the S…

---

## [Change voltage on IC, but gain remains the same](https://root-forum.cern.ch/t/change-voltage-on-ic-but-gain-remains-the-same/38382)

<div class="topic-metadata">

**Author:** [@CharlesXie](https://root-forum.cern.ch/u/CharlesXie)\
**Replies:** 4\
**Last updated:** [March 14, 2020, 7:58am UTC](https://root-forum.cern.ch/t/change-voltage-on-ic-but-gain-remains-the-same/38382 "2020-03-14T07:58:46Z")

</div>

I use Garfield++ to simulate the free air ionization chamber. The high voltage between the two plates is 1000V, while the distance between two plates is 6mm,the incoming particles are protons, the gain is about 120. As i…

---

## [Track plotting in garfield](https://root-forum.cern.ch/t/track-plotting-in-garfield/38040)

<div class="topic-metadata">

**Author:** [@AmirBH69](https://root-forum.cern.ch/u/AmirBH69)\
**Replies:** 0\
**Last updated:** [February 18, 2020, 10:04pm UTC](https://root-forum.cern.ch/t/track-plotting-in-garfield/38040 "2020-02-18T22:04:04Z")

</div>

Hi everyone, I have an electron produced in a cell filled with high pressure gas under electric field and I need to create a plot of its trajectory. anyone can help on how to use the these functions taken from the manu…

---

## [Plotting gas properties](https://root-forum.cern.ch/t/plotting-gas-properties/38347)

<div class="topic-metadata">

**Author:** [@1119](https://root-forum.cern.ch/u/1119)\
**Replies:** 2\
**Last updated:** [September 23, 2018, 6:04am UTC](https://root-forum.cern.ch/t/plotting-gas-properties/38347 "2018-09-23T06:04:41Z")

</div>

---

## [Garfield+Elmer Electric Field visualization](https://root-forum.cern.ch/t/garfield-elmer-electric-field-visualization/37270)

<div class="topic-metadata">

**Author:** [@Sabrina\_M](https://root-forum.cern.ch/u/Sabrina_M)\
**Replies:** 3\
**Last updated:** [December 20, 2019, 10:08am UTC](https://root-forum.cern.ch/t/garfield-elmer-electric-field-visualization/37270 "2019-12-20T10:08:53Z")

</div>

Dear All, I have used Elmer to solve the electrostatic’s field equations, and I have succesfully imported it on Garfield with the “ComponentElmer” class. I was also able to plot the equipotential surfaces with ViewField…

---

## [Plotting isochronous curve/equi dritft-time lines](https://root-forum.cern.ch/t/plotting-isochronous-curve-equi-dritft-time-lines/36582)

<div class="topic-metadata">

**Author:** [@Lucien\_Causse](https://root-forum.cern.ch/u/Lucien_Causse)\
**Replies:** 1\
**Last updated:** [October 30, 2019, 10:53am UTC](https://root-forum.cern.ch/t/plotting-isochronous-curve-equi-dritft-time-lines/36582 "2019-10-30T10:53:41Z")

</div>

Hello! First of all, thanks a lot for this very powerful soft. I am curently trying to parameterize isochronous curves in order to calibrate a wire chamber. I heard that it was possible to get it (at least to plot it)…

---

## [Segmentation Fault in Garfield++ using ROOT v6.16/00](https://root-forum.cern.ch/t/segmentation-fault-in-garfield-using-root-v6-16-00/34859)

<div class="topic-metadata">

**Author:** [@Aritra](https://root-forum.cern.ch/u/Aritra)\
**Replies:** 5\
**Last updated:** [July 1, 2019, 3:10pm UTC](https://root-forum.cern.ch/t/segmentation-fault-in-garfield-using-root-v6-16-00/34859 "2019-07-01T15:10:10Z")

</div>

Hello everyone, I am using garfield++ and it uses ROOT for plotting. The portion of the simulation that doesn’t use ROOT completes just fine, but whenever I try to call any ROOT method for plotting, here’s the error I …

---

## [ComponentVoxel : How to have access to the values of the magnetic field](https://root-forum.cern.ch/t/componentvoxel-how-to-have-access-to-the-values-of-the-magnetic-field/34896)

<div class="topic-metadata">

**Author:** [@Kali95](https://root-forum.cern.ch/u/Kali95)\
**Replies:** 1\
**Last updated:** [June 28, 2019, 8:20am UTC](https://root-forum.cern.ch/t/componentvoxel-how-to-have-access-to-the-values-of-the-magnetic-field/34896 "2019-06-28T08:20:24Z")

</div>

Hello everyone, I created a parallelepipd magnetic field and now I try to have access to the magnetic field in a random point inside my magnetic volume (after interpolation). However, I cannot find any function for that…

---

## [ViewField() - Error "ComponentVoxel::ElectricField : Field is not available for interpolation"](https://root-forum.cern.ch/t/viewfield-error-componentvoxel-electricfield-field-is-not-available-for-interpolation/34873)

<div class="topic-metadata">

**Author:** [@Kali95](https://root-forum.cern.ch/u/Kali95)\
**Replies:** 0\
**Last updated:** [June 27, 2019, 11:37am UTC](https://root-forum.cern.ch/t/viewfield-error-componentvoxel-electricfield-field-is-not-available-for-interpolation/34873 "2019-06-27T11:37:30Z")

</div>

Hello, I wrote a macro to set a magnetic Field in a parallelepiped and do interpolation. I take the values of the magnetic field from a txt file. So, it is convenient to use the ComponentVoxel of garfield. The macro rea…

---

## [Plotting issues](https://root-forum.cern.ch/t/plotting-issues/34411)

<div class="topic-metadata">

**Author:** [@Laurent\_Audouin](https://root-forum.cern.ch/u/Laurent_Audouin)\
**Replies:** 3\
**Last updated:** [June 4, 2019, 2:55pm UTC](https://root-forum.cern.ch/t/plotting-issues/34411 "2019-06-04T14:55:09Z")

</div>

I’m running garfield++ with last version of root on Ubuntu 18 (and on a WSL + XMing + Debian 9, but this setup is kinda exotic so I don’t consider it a priority). When running simple examples (like Read in the GasFile s…

---

## [Option to hide RandomEngineRoot output](https://root-forum.cern.ch/t/option-to-hide-randomengineroot-output/33139)

<div class="topic-metadata">

**Author:** [@Javier\_Galan](https://root-forum.cern.ch/u/Javier_Galan)\
**Replies:** 3\
**Last updated:** [March 21, 2019, 5:21pm UTC](https://root-forum.cern.ch/t/option-to-hide-randomengineroot-output/33139 "2019-03-21T17:21:47Z")

</div>

Hi there, each time we link Garfield++ libraries and we load them in ROOT we get an output message coming from RandomEngineRoot::RandomEngineRoot(). We would like to set this output message to be disabled by default in …

---

## [Magboltz Gas Work function calculation](https://root-forum.cern.ch/t/magboltz-gas-work-function-calculation/32063)

<div class="topic-metadata">

**Author:** [@Javier\_Galan](https://root-forum.cern.ch/u/Javier_Galan)\
**Replies:** 1\
**Last updated:** [December 19, 2018, 9:03am UTC](https://root-forum.cern.ch/t/magboltz-gas-work-function-calculation/32063 "2018-12-19T09:03:03Z")

</div>

Hi, when launching the gas generation in Garfield++, I define a given mixture, number of collisions, max electron energy, pressure, temperature, etc. Then, I call MediumMagboltz::GenerateGasTable( collisions, true); …

---

## [Plot of drift velocity in gasses](https://root-forum.cern.ch/t/plot-of-drift-velocity-in-gasses/30630)

<div class="topic-metadata">

**Author:** [@1119](https://root-forum.cern.ch/u/1119)\
**Replies:** 2\
**Last updated:** [September 12, 2018, 8:36am UTC](https://root-forum.cern.ch/t/plot-of-drift-velocity-in-gasses/30630 "2018-09-12T08:36:58Z")

</div>

ROOT Version: Not Provided Platform: Not Provided Compiler: Not Provided i have gas files that i get from garfieldpp for different gas mixtures. now i want to make a plot for gas proprties( drift velocity, diffusion…

---

## [Error on TRandom3 while executing a Garfield++ program using mpiicc INTEL compiler for parallel simulations](https://root-forum.cern.ch/t/error-on-trandom3-while-executing-a-garfield-program-using-mpiicc-intel-compiler-for-parallel-simulations/29785)

<div class="topic-metadata">

**Author:** [@gcroci-CERN](https://root-forum.cern.ch/u/gcroci-CERN)\
**Replies:** 1\
**Last updated:** [July 17, 2018, 9:34am UTC](https://root-forum.cern.ch/t/error-on-trandom3-while-executing-a-garfield-program-using-mpiicc-intel-compiler-for-parallel-simulations/29785 "2018-07-17T09:34:38Z")

</div>

Dear responsible, I am trying to run a simulation using parallel garfield. I am using root 5.34.36 compiled with mpiicc INTEL compiler. Also parallel garfield is compiled using the same one as well as the the example I …

---

## [Garfroot Compilation Problem](https://root-forum.cern.ch/t/garfroot-compilation-problem/16764)

<div class="topic-metadata">

**Author:** [@vale\_gala](https://root-forum.cern.ch/u/vale_gala)\
**Replies:** 0\
**Last updated:** [October 16, 2013, 10:15am UTC](https://root-forum.cern.ch/t/garfroot-compilation-problem/16764 "2013-10-16T10:15:02Z")

</div>

Dear root-friends, I’m having some problem in compiling Garfroot I successfully installed Garfield but when I tried to compile garfroot I had many problems I initially used the makefile in the Garfield HomePage garf…

---

## [Garfield code problem with geometry](https://root-forum.cern.ch/t/garfield-code-problem-with-geometry/29372)

<div class="topic-metadata">

**Author:** [@Mihaela\_Parvu](https://root-forum.cern.ch/u/Mihaela_Parvu)\
**Replies:** 4\
**Last updated:** [June 21, 2018, 8:56am UTC](https://root-forum.cern.ch/t/garfield-code-problem-with-geometry/29372 "2018-06-21T08:56:00Z")

</div>

Hello, I have problems using Garfield code. I can run an example, but I really do not understand how to create an object with its geometry. Can you please help me?

---

## [Root +garfield installation by cmake](https://root-forum.cern.ch/t/root-garfield-installation-by-cmake/28617)

<div class="topic-metadata">

**Author:** [@yiyunli](https://root-forum.cern.ch/u/yiyunli)\
**Replies:** 1\
**Last updated:** [April 9, 2018, 5:01pm UTC](https://root-forum.cern.ch/t/root-garfield-installation-by-cmake/28617 "2018-04-09T17:01:03Z")

</div>

I’m installing Garfield by the guidance: http://garfieldpp.web.cern.ch/garfieldpp/getting-started/ I face one problem, libGarfield seems not be generated when I installed it by cmake collect2: error: ld returned 1 exi…

---

## [Segmentation Break](https://root-forum.cern.ch/t/segmentation-break/23693)

<div class="topic-metadata">

**Author:** [@muzamilramzan](https://root-forum.cern.ch/u/muzamilramzan)\
**Replies:** 2\
**Last updated:** [November 29, 2017, 7:33am UTC](https://root-forum.cern.ch/t/segmentation-break/23693 "2017-11-29T07:33:56Z")

</div>

Hi All, I am running a program in Garfield++. On compilation it shows me error like this There was a crash. This is the entire stack trace of all threads: #0 0x00007f5c70a2eb4c in \_\_libc\_waitpid (pid=4795, stat\_loc=…

---

## [Segmentation Violation using Garfield++](https://root-forum.cern.ch/t/segmentation-violation-using-garfield/19832)

<div class="topic-metadata">

**Author:** [@elia](https://root-forum.cern.ch/u/elia)\
**Replies:** 3\
**Last updated:** [November 29, 2017, 7:32am UTC](https://root-forum.cern.ch/t/segmentation-violation-using-garfield/19832 "2017-11-29T07:32:47Z")

</div>

Hello evereyone, I’m trying to run the following code, but even if I don’t receive any error in compilation, when I run the program I got this error: \*\*\* Break \*\*\* segmentation violation =============================…

---

## [Garfroot problem](https://root-forum.cern.ch/t/garfroot-problem/26117)

<div class="topic-metadata">

**Author:** [@Rin](https://root-forum.cern.ch/u/Rin)\
**Replies:** 2\
**Last updated:** [September 7, 2017, 8:04am UTC](https://root-forum.cern.ch/t/garfroot-problem/26117 "2017-09-07T08:04:25Z")

</div>

Hello, I successed in compiling Garfiled++ and garfroot on Scientific Linux release 7.3 (Nitrogen) and ROOT v6-10-02. When I type “garfroot” in command prompt, it started up successfully and following messages came o…

---

## [Makefile Garfield](https://root-forum.cern.ch/t/makefile-garfield/17475)

<div class="topic-metadata">

**Author:** [@aliolfateh](https://root-forum.cern.ch/u/aliolfateh)\
**Replies:** 3\
**Last updated:** [January 31, 2017, 11:43am UTC](https://root-forum.cern.ch/t/makefile-garfield/17475 "2017-01-31T11:43:06Z")

</div>

Hi I want to compile a code with Garfield++(simulation application). When i make it with this makefile: gemseq1: gemseq1.C g++ -c -O3 root-config --cflags -I$(GARFIELD\_HOME)/Include gemseq1.C g++ root-config --glibs …

---

## [Garfield Compilation](https://root-forum.cern.ch/t/garfield-compilation/23636)

<div class="topic-metadata">

**Author:** [@muzamilramzan](https://root-forum.cern.ch/u/muzamilramzan)\
**Replies:** 1\
**Last updated:** [January 31, 2017, 9:41am UTC](https://root-forum.cern.ch/t/garfield-compilation/23636 "2017-01-31T09:41:15Z")

</div>

I am new to Garfield. I am compiling an example in Garfield using make file as gastable: gastable.C g++ -c -O3 root-config --cflags -I$(GARFIELD\_HOME)/Include gastable.C g++ root-config --glibs -lgfortran -lm -o gast…

---

## [Remove TRandom3 output message. RandomEngineRoot](https://root-forum.cern.ch/t/remove-trandom3-output-message-randomengineroot/23562)

<div class="topic-metadata">

**Author:** [@jagalan](https://root-forum.cern.ch/u/jagalan)\
**Replies:** 4\
**Last updated:** [January 20, 2017, 9:44am UTC](https://root-forum.cern.ch/t/remove-trandom3-output-message-randomengineroot/23562 "2017-01-20T09:44:24Z")

</div>

Hi, I am using ROOT 5.24/32 I have been trying to find out how to remove the following ROOT output message without sucess. RandomEngineRoot: Generator type: TRandom3 Seed: 809911139 This message appears when I load…

---

## [Segmentation violation - Garfield example](https://root-forum.cern.ch/t/segmentation-violation-garfield-example/22035)

<div class="topic-metadata">

**Author:** [@Mounia\_LAASSIRI](https://root-forum.cern.ch/u/Mounia_LAASSIRI)\
**Replies:** 5\
**Last updated:** [October 17, 2016, 3:01pm UTC](https://root-forum.cern.ch/t/segmentation-violation-garfield-example/22035 "2016-10-17T15:01:23Z")

</div>

Dear all ; I was wondering if I could get some help in finding out why the errors below are occuring. I am trying to execute this example « garfieldpp.web.cern.ch/garfieldp … nergypion/ » But it gives me this error. C…

---

## [Error while compiling garfroot.C](https://root-forum.cern.ch/t/error-while-compiling-garfroot-c/21955)

<div class="topic-metadata">

**Author:** [@B.Bijay](https://root-forum.cern.ch/u/B.Bijay)\
**Replies:** 8\
**Last updated:** [September 29, 2016, 9:30am UTC](https://root-forum.cern.ch/t/error-while-compiling-garfroot-c/21955 "2016-09-29T09:30:36Z")

</div>

Hi. I am trying to compile garfroot.C in order to use the Garfield++ classes interactively from within the ROOT shell. When I type “$ make garfroot” in command prompt, the following errors come out and the compilation st…

---

## [Read .rz file in ROOT 5 series](https://root-forum.cern.ch/t/read-rz-file-in-root-5-series/20735)

<div class="topic-metadata">

**Author:** [@rjseen](https://root-forum.cern.ch/u/rjseen)\
**Replies:** 13\
**Last updated:** [March 4, 2016, 3:21pm UTC](https://root-forum.cern.ch/t/read-rz-file-in-root-5-series/20735 "2016-03-04T15:21:33Z")

</div>

Hi, I have a .rz file containing a histogram from Garfield that I want to import to ROOT 5.34. How would I go about this? Is it at all possible? I can’t seem to find anything on the subject. Any help appreciated. Bes…

---

## [Link ROOT libraries in Garfield++](https://root-forum.cern.ch/t/link-root-libraries-in-garfield/19895)

<div class="topic-metadata">

**Author:** [@elia](https://root-forum.cern.ch/u/elia)\
**Replies:** 4\
**Last updated:** [September 24, 2015, 5:22pm UTC](https://root-forum.cern.ch/t/link-root-libraries-in-garfield/19895 "2015-09-24T17:22:05Z")

</div>

Hi, I’m using Garfield++ to get a plot of the electric field inside a drift chamber. Garfield++ call some ROOT graphic libraries to do that, and I receive the following errors when I try to compile: /home/roberto/garfi…

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

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