# Defining Solid Medium in Garfield++

**URL:** <https://root-forum.cern.ch/t/defining-solid-medium-in-garfield/59763>\
**Category:** Garfield++\
**Created:** [June 24, 2024, 8:13am UTC](https://root-forum.cern.ch/t/defining-solid-medium-in-garfield/59763 "2024-06-24T08:13:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khalil\_Alashy](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/khalil_alashy/32/33464_2.png) [@Khalil\_Alashy](https://root-forum.cern.ch/u/Khalil_Alashy)\
**Post date:** [June 24, 2024, 8:13am UTC](https://root-forum.cern.ch/t/defining-solid-medium-in-garfield/59763/1 "2024-06-24T08:13:11Z")

</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, C5O2H8) plate.  
I want to define the Solid Medium in Garfield++ but I can only find Mediums for Silicon, Galium Arsenide, and Diamond.

Is there a way that I can define the Solid by setting the Composition and density the same way it is done in Geant4?

Thank you.  
Khalil

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [June 24, 2024, 8:31am UTC](https://root-forum.cern.ch/t/defining-solid-medium-in-garfield/59763/2 "2024-06-24T08:31:32Z")

</div>

Hello,

Adding in the loop @hschindl .

Cheers,  
D

---

<div class="post-metadata">

**Author:** ![Piet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/piet/32/12536_2.png) [@Piet](https://root-forum.cern.ch/u/Piet)\
**Post date:** [June 24, 2024, 9:30am UTC](https://root-forum.cern.ch/t/defining-solid-medium-in-garfield/59763/3 "2024-06-24T09:30:21Z")

</div>

Dear @Khalil_Alashy

With a medium in garfield++ we intend an active medium in which free charges can be created and transported (moved through the medium). This is the case for gas and solid state marerials such as Si,Ge,GaAs and Diamond. There will be no drift lines inside the PMMA. Instead you will have to declare a gas medium for the air cylinders in which the electrons will drift.  
Kind regards  
Piet Verwilligen

---

<div class="post-metadata">

**Author:** ![Khalil\_Alashy](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/khalil_alashy/32/33464_2.png) [@Khalil\_Alashy](https://root-forum.cern.ch/u/Khalil_Alashy)\
**Post date:** [June 24, 2024, 10:01am UTC](https://root-forum.cern.ch/t/defining-solid-medium-in-garfield/59763/4 "2024-06-24T10:01:57Z")

</div>

Thank you for the help.  
I have simply defined the air cylinders and left the remaining area blank since there will be no activity in the plexiglass.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [July 8, 2024, 10:02am UTC](https://root-forum.cern.ch/t/defining-solid-medium-in-garfield/59763/5 "2024-07-08T10:02:04Z")

</div>

Closed on July 8, 2024, 10:02am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
