# Garfield++

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

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

---

## [Saturation Effect of Delta Response of Readout Electronics](https://root-forum.cern.ch/t/saturation-effect-of-delta-response-of-readout-electronics/50888)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 2\
**Last updated:** [July 21, 2022, 3:57pm UTC](https://root-forum.cern.ch/t/saturation-effect-of-delta-response-of-readout-electronics/50888 "2022-07-21T15:57:17Z")

</div>

Dear Experts I saw in the manual the electronic signal will be calculated by convoluting the induced charge by a delta response function. But as we all know if the voltage of an amplifier exceed the Vcc (5V for typical …

---

## [Difference Between GetAvalancheSize() and GetNumberOfElectronEndpoints()](https://root-forum.cern.ch/t/difference-between-getavalanchesize-and-getnumberofelectronendpoints/50834)

<div class="topic-metadata">

**Author:** [@Weston\_Cadena](https://root-forum.cern.ch/u/Weston_Cadena)\
**Replies:** 1\
**Last updated:** [July 17, 2022, 1:27pm UTC](https://root-forum.cern.ch/t/difference-between-getavalanchesize-and-getnumberofelectronendpoints/50834 "2022-07-17T13:27:32Z")

</div>

I was going through a gem example, and I was wondering why aval-\>GetAvalancheSize(ne, ni) and aval-\>GetNumberOfElectronEndpoints() from Avalanche Microscopic return two difference amounts of electrons? In the Avalanche …

---

## [How is the induction signal calculated in garfield++?](https://root-forum.cern.ch/t/how-is-the-induction-signal-calculated-in-garfield/50668)

<div class="topic-metadata">

**Author:** [@yinxiaohao](https://root-forum.cern.ch/u/yinxiaohao)\
**Replies:** 14\
**Last updated:** [July 11, 2022, 11:52am UTC](https://root-forum.cern.ch/t/how-is-the-induction-signal-calculated-in-garfield/50668 "2022-07-11T11:52:46Z")

</div>

hello I used AvalancheMC() to simulate an electron amplifying in an avalanche region and get its sensed signal at a specific electrode. I found that when I did not simulate the drift line of the avalanche electron ion (…

---

## [How to Get track trajectories in Heed+ or ViewDrift](https://root-forum.cern.ch/t/how-to-get-track-trajectories-in-heed-or-viewdrift/50755)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 5\
**Last updated:** [July 11, 2022, 11:48am UTC](https://root-forum.cern.ch/t/how-to-get-track-trajectories-in-heed-or-viewdrift/50755 "2022-07-11T11:48:40Z")

</div>

Dear experts I want to calculate the Distance of Closest Approach between track and sense wire, so the trajectory of track is needed in the magnetic field. I found in the source code of ViewDrift there is a container of…

---

## [Electrons generated inside anode wire during avalanche](https://root-forum.cern.ch/t/electrons-generated-inside-anode-wire-during-avalanche/50644)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 9\
**Last updated:** [July 11, 2022, 3:34am UTC](https://root-forum.cern.ch/t/electrons-generated-inside-anode-wire-during-avalanche/50644 "2022-07-11T03:34:15Z")

</div>

Dear experts I tried to simulate particle passing drift chamber, using AvalancheMC::AvalancheElectrons(). Part of my codes are: //Setup GeometrySimple(box with gas) and AnalyticField(wires) and sensor... void simXT::M…

---

## [MPI Parallelization of Heed](https://root-forum.cern.ch/t/mpi-parallelization-of-heed/50595)

<div class="topic-metadata">

**Author:** [@Weston\_Cadena](https://root-forum.cern.ch/u/Weston_Cadena)\
**Replies:** 4\
**Last updated:** [July 7, 2022, 10:00am UTC](https://root-forum.cern.ch/t/mpi-parallelization-of-heed/50595 "2022-07-07T10:00:47Z")

</div>

Hi I was writing a program to simulate multiple particle tracks avalanches by running each track in parallel on its own process. When doing so, I end up getting a segmentation fault whenever I try to initialize a new tra…

---

## [How to use the AddWhiteNoise() function to input your own expected noise?](https://root-forum.cern.ch/t/how-to-use-the-addwhitenoise-function-to-input-your-own-expected-noise/50635)

<div class="topic-metadata">

**Author:** [@yinxiaohao](https://root-forum.cern.ch/u/yinxiaohao)\
**Replies:** 2\
**Last updated:** [July 5, 2022, 9:04am UTC](https://root-forum.cern.ch/t/how-to-use-the-addwhitenoise-function-to-input-your-own-expected-noise/50635 "2022-07-05T09:04:55Z")

</div>

Hello, I have a question, does the magnitude of the equivalent noise charge (ENC), the first parameter in the AddWhiteNoise() function, have an effect on the magnitude and frequency of the noise we input?

---

## [Why use diameter instead of radius in ComponentAnalyticField::AddWire()](https://root-forum.cern.ch/t/why-use-diameter-instead-of-radius-in-componentanalyticfield-addwire/50640)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 1\
**Last updated:** [July 4, 2022, 6:02am UTC](https://root-forum.cern.ch/t/why-use-diameter-instead-of-radius-in-componentanalyticfield-addwire/50640 "2022-07-04T06:02:14Z")

</div>

Dear experts I found that the ComponentAnalyticField::AddWire() require the diameter of the wire, where AddTube(), SolidWire(), SolidTube require the radius. Why only the AddWire() require diameter?

---

## [What will Sensor::GetSignal() give if multiple wires have same label](https://root-forum.cern.ch/t/what-will-sensor-getsignal-give-if-multiple-wires-have-same-label/50602)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 7\
**Last updated:** [July 1, 2022, 6:07am UTC](https://root-forum.cern.ch/t/what-will-sensor-getsignal-give-if-multiple-wires-have-same-label/50602 "2022-07-01T06:07:21Z")

</div>

Hi, I was trying to use AvalancheMC to simulate signal on a sense wire, I set up 9 cells with 9 sense wires, and add them to Sensor with the same label “sense”. Sensor::Addwire(some properties, "sense") Sensor:Addwire(s…

---

## [Memory leak of Garfield++?](https://root-forum.cern.ch/t/memory-leak-of-garfield/50624)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 5\
**Last updated:** [July 1, 2022, 5:19am UTC](https://root-forum.cern.ch/t/memory-leak-of-garfield/50624 "2022-07-01T05:19:56Z")

</div>

Dear experts I simulated ~10k tracks using Heed+ and drift using AvalancheMC, but the job was killed on server because of insufficient memory. Then I tried to run the DriftTube example on my local PC to monitor memory …

---

## [What is the momentum range of Heed+](https://root-forum.cern.ch/t/what-is-the-momentum-range-of-heed/50616)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 4\
**Last updated:** [July 1, 2022, 4:21am UTC](https://root-forum.cern.ch/t/what-is-the-momentum-range-of-heed/50616 "2022-07-01T04:21:42Z")

</div>

Dear experts I wonder what is the range of momentum (minimum momentum) because I tried 1eV muon but it didn’t work, then I tried 1 keV electron it still didn’t work. And if the momentum should larger than a certain val…

---

## [Compilation warning when use Garfield++](https://root-forum.cern.ch/t/compilation-warning-when-use-garfield/50615)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 3\
**Last updated:** [July 1, 2022, 1:49am UTC](https://root-forum.cern.ch/t/compilation-warning-when-use-garfield/50615 "2022-07-01T01:49:07Z")

</div>

Dear experts I always get the same warning when compile with garfield++, which is ld: warning: dylib (/Users/siyuan/Physics/garfield/install/lib/libmagboltz.11.dylib) was built for newer macOS version (12.3) than being…

---

## [AvalancheMC doesn't take magnetic field](https://root-forum.cern.ch/t/avalanchemc-doesnt-take-magnetic-field/50588)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 4\
**Last updated:** [June 30, 2022, 2:08am UTC](https://root-forum.cern.ch/t/avalanchemc-doesnt-take-magnetic-field/50588 "2022-06-30T02:08:43Z")

</div>

Dear experts I tried to simulate drift lines in a cell, using AvalancheMC method. I set magnetic field to 1T for z+, but seems it doesn’t work to drift process. I confirmed that it works to track trajectory calculation.…

---

## [Magboltz::SetW() doesn't work](https://root-forum.cern.ch/t/magboltz-setw-doesnt-work/50329)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 2\
**Last updated:** [June 9, 2022, 1:39pm UTC](https://root-forum.cern.ch/t/magboltz-setw-doesnt-work/50329 "2022-06-09T13:39:40Z")

</div>

Dear experts I tried to set W value of the gas mixture, I use 90/10 He/iC4H10 which gives W value of 39.51 eV, where 30.02eV is calculated from PDG values. So I try to set the W value to 100 (just to see if it works) an…

---

## [How to get Energy Loss of a track](https://root-forum.cern.ch/t/how-to-get-energy-loss-of-a-track/50328)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 1\
**Last updated:** [June 9, 2022, 1:01pm UTC](https://root-forum.cern.ch/t/how-to-get-energy-loss-of-a-track/50328 "2022-06-09T13:01:08Z")

</div>

Dear Experts I tried to get the energy loss of a track in drift chamber, but didn’t found such function, so I summed up the energies deposited of clusters in that track, is this method correct? Should I add binding ener…

---

## [Will precision of gas table affect the simulation result?](https://root-forum.cern.ch/t/will-precision-of-gas-table-affect-the-simulation-result/50297)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 4\
**Last updated:** [June 8, 2022, 1:28pm UTC](https://root-forum.cern.ch/t/will-precision-of-gas-table-affect-the-simulation-result/50297 "2022-06-08T13:28:22Z")

</div>

Dear experts, I used two different gas files for 1 track simulation in a drift chamber, they are: 20 steps of grid between 100-400000 V/cm and nColl = 10 100 steps of grid between 10-500000 V/cm and nColl = 12 The qu…

---

## [What is the meaning of Sensor](https://root-forum.cern.ch/t/what-is-the-meaning-of-sensor/50298)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 4\
**Last updated:** [June 8, 2022, 1:24pm UTC](https://root-forum.cern.ch/t/what-is-the-meaning-of-sensor/50298 "2022-06-08T13:24:35Z")

</div>

Hi experts, I read the doxygen and tutorial of Garfield++, but I just didn’t get understand what is the “Sensor” class and what I need to used it. I mean, I setup the gas and geometry and the E field (i.e. use Magbolrz…

---

## [How to get electrons of a cluster in TrackPAI model](https://root-forum.cern.ch/t/how-to-get-electrons-of-a-cluster-in-trackpai-model/50315)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 1\
**Last updated:** [June 8, 2022, 1:24pm UTC](https://root-forum.cern.ch/t/how-to-get-electrons-of-a-cluster-in-trackpai-model/50315 "2022-06-08T13:24:20Z")

</div>

Dear Experts I tried to used the same method of TrackHeed to GetElectron() for TrackPAI but found there is no such function. Is there any function to reach the same motivation? Or did I misunderstood the basic adea…?

---

## [Typo in Garfield++ ViewField.cc?](https://root-forum.cern.ch/t/typo-in-garfield-viewfield-cc/50264)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 1\
**Last updated:** [June 4, 2022, 1:18pm UTC](https://root-forum.cern.ch/t/typo-in-garfield-viewfield-cc/50264 "2022-06-04T13:18:21Z")

</div>

I was looking into source code of Garfield++ and found there is some comparison in the function ViewField::PlotFieldLines(), which is: void ViewField::PlotFieldLines(const std::vector\<double\>& x0, …

---

## [Simulation takes forever](https://root-forum.cern.ch/t/simulation-takes-forever/50249)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 2\
**Last updated:** [June 3, 2022, 5:22am UTC](https://root-forum.cern.ch/t/simulation-takes-forever/50249 "2022-06-03T05:22:22Z")

</div>

Dear experts I wrote a program to simulate the drift of muon in a gas chamber, but the NewTrack never finish… here are my codes: #include "xt\_simulation.hxx" simXT::simXT(int HV, int nevents, int fileId, std::string…

---

## [What is the difference between 2 methods to add medium gas](https://root-forum.cern.ch/t/what-is-the-difference-between-2-methods-to-add-medium-gas/50246)

<div class="topic-metadata">

**Author:** [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Replies:** 1\
**Last updated:** [June 2, 2022, 8:00pm UTC](https://root-forum.cern.ch/t/what-is-the-difference-between-2-methods-to-add-medium-gas/50246 "2022-06-02T20:00:52Z")

</div>

Dear experts, I used GeometrySimple::Addsolid(box, gas) to add the medium gas but I got complain from TrackHeed::NewTrack Here are part of my codes: void simXT::SetupGeo(std::string geoFile){ fGeo= new Geometr…

---

## [Problem Installing Garfield](https://root-forum.cern.ch/t/problem-installing-garfield/50199)

<div class="topic-metadata">

**Author:** [@Johann\_Mazzacaro](https://root-forum.cern.ch/u/Johann_Mazzacaro)\
**Replies:** 2\
**Last updated:** [June 1, 2022, 2:02pm UTC](https://root-forum.cern.ch/t/problem-installing-garfield/50199 "2022-06-01T14:02:47Z")

</div>

Im getting the following error when installing Garfield, im kind of a newbie when using Linux and I have tryed fixing this many times. Im trying to install Garfield on my Ubuntu22.04 LTS. I have installed the precompile…

---

## [Why do I use garfield++ to simulate the drift of electrons generated by avalanches very slow?](https://root-forum.cern.ch/t/why-do-i-use-garfield-to-simulate-the-drift-of-electrons-generated-by-avalanches-very-slow/50100)

<div class="topic-metadata">

**Author:** [@yinxiaohao](https://root-forum.cern.ch/u/yinxiaohao)\
**Replies:** 8\
**Last updated:** [May 30, 2022, 1:57pm UTC](https://root-forum.cern.ch/t/why-do-i-use-garfield-to-simulate-the-drift-of-electrons-generated-by-avalanches-very-slow/50100 "2022-05-30T13:57:51Z")

</div>

hello, I am trying to use garfield++ to simulate the drift track of electron ions generated by an electron avalanche amplification, and then draw the induced signal according to the drift track, so as to judge the contr…

---

## [The computer configuration requirements for installing Garfield++ software](https://root-forum.cern.ch/t/the-computer-configuration-requirements-for-installing-garfield-software/50157)

<div class="topic-metadata">

**Author:** [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Replies:** 1\
**Last updated:** [May 30, 2022, 4:56am UTC](https://root-forum.cern.ch/t/the-computer-configuration-requirements-for-installing-garfield-software/50157 "2022-05-30T04:56:30Z")

</div>

Hello I have a question. What are the computer configuration requirements for installing Garfield++ software? For example, the number of cores of the processor and the memory of the computer. Thank you

---

## [Failed to get the current signal](https://root-forum.cern.ch/t/failed-to-get-the-current-signal/49814)

<div class="topic-metadata">

**Author:** [@keino](https://root-forum.cern.ch/u/keino)\
**Replies:** 21\
**Last updated:** [May 26, 2022, 1:51am UTC](https://root-forum.cern.ch/t/failed-to-get-the-current-signal/49814 "2022-05-26T01:51:59Z")

</div>

Hello, I simulated a simple cylindrical ionization chamber model and got the weight potential of each plate through the COMSOL software. The visualization of particle trajectory, electric field and signal are carried ou…

---

## [Question: AvalancheMC class seems not available to simulate Avalanche breakdown](https://root-forum.cern.ch/t/question-avalanchemc-class-seems-not-available-to-simulate-avalanche-breakdown/50112)

<div class="topic-metadata">

**Author:** [@SCplayer1](https://root-forum.cern.ch/u/SCplayer1)\
**Replies:** 3\
**Last updated:** [May 25, 2022, 9:51am UTC](https://root-forum.cern.ch/t/question-avalanchemc-class-seems-not-available-to-simulate-avalanche-breakdown/50112 "2022-05-25T09:51:22Z")

</div>

As everyone know, we have silicon example at garfield example In order to check whether Avalanche MC class can describe avalanche multiplication, I changed voltage parameter to tremendous value to make field strong enou…

---

## [Can Garfield + + simulate the number of electrons or ions absorbed on each electrode?](https://root-forum.cern.ch/t/can-garfield-simulate-the-number-of-electrons-or-ions-absorbed-on-each-electrode/50054)

<div class="topic-metadata">

**Author:** [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 4:49am UTC](https://root-forum.cern.ch/t/can-garfield-simulate-the-number-of-electrons-or-ions-absorbed-on-each-electrode/50054 "2022-05-23T04:49:43Z")

</div>

Hello Can Garfield + + simulate the number of electrons or ions absorbed on each electrode? For example, there are three electrodes on the drift track of electrons in the detector. I want to know the number of electrons…

---

## [Is it possible to simulate a grid ionization chamber](https://root-forum.cern.ch/t/is-it-possible-to-simulate-a-grid-ionization-chamber/49964)

<div class="topic-metadata">

**Author:** [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Replies:** 9\
**Last updated:** [May 19, 2022, 12:00pm UTC](https://root-forum.cern.ch/t/is-it-possible-to-simulate-a-grid-ionization-chamber/49964 "2022-05-19T12:00:42Z")

</div>

Hello I built an ionization chamber containing two plates and a grid. The ionization chamber is divided into a drift zone and an induction zone. I thought that the grid could shield the signals of ions and electrons in …

---

## [Gas file error](https://root-forum.cern.ch/t/gas-file-error/49986)

<div class="topic-metadata">

**Author:** [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Replies:** 3\
**Last updated:** [May 17, 2022, 8:24am UTC](https://root-forum.cern.ch/t/gas-file-error/49986 "2022-05-17T08:24:34Z")

</div>

Hello, when I was calculating the gas file, the program made an error in the figure below. I checked the user’s guide, but I couldn’t find a solution. How to solve this problem. This is my code. const double pressur…

---

## [Garfield++ update error](https://root-forum.cern.ch/t/garfield-update-error/49970)

<div class="topic-metadata">

**Author:** [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Replies:** 2\
**Last updated:** [May 13, 2022, 2:14pm UTC](https://root-forum.cern.ch/t/garfield-update-error/49970 "2022-05-13T14:14:44Z")

</div>

hello Recently I was updating the Garfield++ program. But after following the tutorial, an error occurred. I don’t know the cause of this error. thanks

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

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