KAHIBARO
Discord Login Register

45.3. Creating the Detector

Detector dimensions

In this example project you already created the world volume, so the next step is to define the scintillation detector itself inside that world. The goal here is not to design a full commercial detector, but to build a simple, clearly defined crystal block that you can use to measure gamma energy spectra.

A practical starting choice is a rectangular crystal. In OpenGATE you will typically create it as a box volume and place it at a fixed distance from the gamma source.

First decide on the physical size. For a basic single detector you want a compromise between being large enough to efficiently stop your photons and small enough to keep the geometry and interpretation simple. Typical dimensions for a laboratory style NaI or LYSO block are of the order of a few centimeters along each axis. For instance, you might choose a 5 cm by 5 cm by 2 cm crystal. In GATE you must provide these half dimensions in the box definition, for example 2.5 cm, 2.5 cm, and 1 cm, so that the full size becomes 5 cm by 5 cm by 2 cm.

In GATE box shapes are defined by half sizes. If you want a detector of $L_x$, $L_y$, $L_z$ in size, you must set the box half sizes to $L_x / 2$, $L_y / 2$, $L_z / 2$.

Choose one axis to represent the incoming gamma direction. For a simple spectrum measurement you can align the detector so that the source sits on the central normal to one face of the crystal. For example, if you place the crystal center at $z = 10$ cm and put the source at the origin, then gammas traveling along the positive $z$ direction will enter through the face at smaller $z$. The detector center position should be set in the world coordinate system. Make sure that the whole detector remains inside the world volume with some margin in every direction to avoid overlaps with the world boundary.

It is also important to give your detector volume a clear and unique name, such as "crystal" or "detector_crystal". This name is how you will later attach actors to record energy deposition and how the digitizer will identify where hits occurred. Keeping the geometry simple at this stage makes it easier to debug and to understand the results.

Although more advanced configurations may include multiple crystals, optical coupling layers, or photodetectors, for this first gamma detector example you should restrict the geometry to a single homogeneous scintillator volume. Additional components will be approximated later using the digitizer settings and not with explicit volumes.

Detector material

Once you have defined the detector shape and size, you must assign a material to it. The material determines how the detector interacts with gamma rays, namely how often they are absorbed, how much energy they deposit, and what kind of secondary particles are produced. In a practical scintillation detector used in nuclear medicine or basic gamma spectroscopy, common choices are NaI(Tl) or LYSO.

For a first example, NaI is a convenient option because it has a relatively high detection efficiency for hundreds of keV photons and is widely used in gamma cameras and laboratory spectrometers. In GATE this material is usually available either as a predefined material or can be constructed from the Geant4 material database. You will typically reference it by name when you create the detector volume, for example using a string such as "NaI" or "NaI_Tl" depending on how it is defined in your materials section.

If you are more interested in PET style applications, LYSO is another realistic choice. It has higher density and effective atomic number than NaI, leading to higher stopping power for 511 keV photons in a smaller volume. The choice of material will influence what detector thickness you need to obtain a given detection efficiency. For the purposes of this simple project you should pick one material and keep it fixed so you can focus on understanding spectra and energy resolution.

Always ensure that the material name you assign to the detector volume matches exactly a material that exists in your simulation. A mismatch will cause material errors or a fallback to default materials, which will invalidate your detector response.

After assigning the material, you do not need to model optical properties for this example. The scintillation and light transport will be approximated later by adding energy blurring to the deposited energy. This approach allows you to investigate the gamma interactions in the crystal while keeping the simulation fast and conceptually simple. If you later extend this project to optical photon simulation, you will revisit the detector material to add parameters such as refractive index, absorption length, and scintillation yield.

With a well defined geometry and a realistic scintillator material, your detector is ready to be used with actors that record energy deposition and with a digitizer chain that converts those deposits into an energy spectrum.

Views: 12

Comments

Please login to add a comment.

Don't have an account? Register now!