# Region specific DNA physics for protons

**URL:** <https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353>\
**Category:** Physics Processes, Models and Cross Sections\
**Created:** [September 4, 2026, 8:12pm UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353 "2026-09-04T20:12:44Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![afish58](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@afish58](https://geant4-forum.web.cern.ch/u/afish58)\
**Post date:** [September 4, 2026, 8:12pm UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/1 "2026-09-04T20:12:45Z")

</div>

\_Geant4 Version:\_11.4.2

Hi all,

I’m trying to write a physics list to use DNA-processes in specific regions similar to the AuNP example.

```auto
examples/extended/medical/dna/AuNP

```

AuNP provided a working example for the electrons, however when I try to extend it to protons I get the following error

```auto
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : glob03
      issued by : G4PhysicsLogVector::G4PhysicsLogVector()
G4PhysicsLogVector with wrong parameters: theNbin= 2 Emin= 1000 Emax= 1000Nbins should be > 1 and Emax > Emin > 0
***Fatal Exception*** core dump ***
 **** Track information is not available at this moment
 **** Step information is not available at this moment
-------- EEEE -------- G4Exception-END --------- EEEE -------
***G4Exception: Aborting execution***
Aborted

```

and I’ve traced it down to attempting to register a DummyModel() to G4hIonisation:

```auto
 // --- --- Global dummy model registration --- ---
  const auto hIoni = new G4hIonisation("proton_G4LivermoreIoni");
  hIoni->SetEmModel(new G4DummyModel(), 1);
  pm->AddDiscreteProcess(hIoni);

```

The corresponding section for electrons (`G4eIonisation`) works fine, and is used in the example. From looking at the source code, my initial guess is the hioni process hardcodes two models and that is causing an issue somewhere, but I cant seem to identify where or why that would cause a crash.

I’m hoping someone can help suggest some ways to either debug or circumvent this. Thank you!

---

<div class="post-metadata">

**Author:** ![ngoc](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/ngoc/32/5329_2.png) [@ngoc](https://geant4-forum.web.cern.ch/u/ngoc)\
**Post date:** [September 9, 2026, 9:09am UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/2 "2026-09-09T09:09:11Z")

</div>

Maybe the example author @dsakata can give some info?

---

<div class="post-metadata">

**Author:** ![afish58](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@afish58](https://geant4-forum.web.cern.ch/u/afish58)\
**Post date:** [September 9, 2026, 1:46pm UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/3 "2026-09-09T13:46:52Z")

</div>

At this time I’ve been able to get around the issue by globally registering the standard em processes and assigning global dummy models to the DNA processes and then inactivating the standard em and activating the DNA models in a specific region (whereas the example does this vice-versa) and initial runs finish uninterrupted and seem to show the correct, region-specific processes. I’d be happy to learn if this is a viable method. Thank you!

---

<div class="post-metadata">

**Author:** ![dsakata](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/d/9fc29f/32.png) [@dsakata](https://geant4-forum.web.cern.ch/u/dsakata)\
**Post date:** [September 9, 2026, 11:53pm UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/4 "2026-09-09T23:53:17Z")

</div>

This scheme is intended for assigning different physics models to different regions. However, I assume that **G4hIonisation** is used in all regions, correct? In that case, there is no need for region-specific registration. You can simply register the model in the usual way in a standard Geant4 physics list.

---

<div class="post-metadata">

**Author:** ![afish58](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@afish58](https://geant4-forum.web.cern.ch/u/afish58)\
**Post date:** [September 10, 2026, 4:01pm UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/5 "2026-09-10T16:01:20Z")

</div>

Hello,

Thank you for taking the time to respond, @dsakata. I am not including G4hIonisation in all regions. My justification comes from looking at G4EMDNAPhysics\_option2 where I believe it is only active for protons above 300MeV (emaxIonDNA from G4EmDNAPhysics\_option2.cc).

I’m trying to extend AuNP to include DNA processes for protons, alphas, and generic ions in the vicinity of a nanoparticle. To speed up computational time, I only want DNA processes active in a thin layer, and standard EM physics elsewhere. This requires region specific models for G4hIonisation and G4hMultipleScattering.

Would you agree with going about it this way?

---

<div class="post-metadata">

**Author:** ![dsakata](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/d/9fc29f/32.png) [@dsakata](https://geant4-forum.web.cern.ch/u/dsakata)\
**Post date:** [September 10, 2026, 11:49pm UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/6 "2026-09-10T23:49:24Z")

</div>

It is a bit hard for me to imagine what you would like to simulate. If you would irradiate the protons from the surface of the NP and just transport inside of the NP, you can define the G4hIonisation everywhere and kill the protons when they are leaving from the NP. You can see how to do it in the SteppingAction class in the example.

---

<div class="post-metadata">

**Author:** ![afish58](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@afish58](https://geant4-forum.web.cern.ch/u/afish58)\
**Post date:** [September 11, 2026, 1:36pm UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/7 "2026-09-11T13:36:14Z")

</div>

Sorry, I should’ve been more specific. I’m trying to build a simulation to provide the dose enhancement in the vicinity of the nanoparticle from various beam types. I wanted to use track structure models for all charged particles near the nanoparticle and standard (livermore) inside the NP, as well as far away from the NP. I was using AuNP for the region specific physics, not necessarily to run the same simulation.

---

<div class="post-metadata">

**Author:** ![dsakata](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/d/9fc29f/32.png) [@dsakata](https://geant4-forum.web.cern.ch/u/dsakata)\
**Post date:** [September 13, 2026, 11:35pm UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/8 "2026-09-13T23:35:03Z")

</div>

OK I understood.  
Could you show more detailed PhysicsList?  
I will try to investigate.

---

<div class="post-metadata">

**Author:** ![afish58](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@afish58](https://geant4-forum.web.cern.ch/u/afish58)\
**Post date:** [September 14, 2026, 6:15pm UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/9 "2026-09-14T18:15:37Z")

</div>

I’ve attached a version that results in the exception (PhysicsList\_hIoniCrash.cc) and one one where I resolved the issue by assigning global dummy models to the dna processes, rather than the standard processes (PhysicsList\_NoCrash.cc).

Thank you for your time with this!

[PhysicsList\_hIoniCrash.cc](https://geant4-forum.web.cern.ch/uploads/short-url/2D6cDRMrPmQ3ZuB6r3ijO4DVHvy.cc) (16.6 KB)  
[PhysicsList\_NoCrash.cc](https://geant4-forum.web.cern.ch/uploads/short-url/9AjD71pMfhOl6v2SDc5MFuj3uY1.cc) (15.2 KB)

---

<div class="post-metadata">

**Author:** ![dsakata](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/d/9fc29f/32.png) [@dsakata](https://geant4-forum.web.cern.ch/u/dsakata)\
**Post date:** [September 15, 2026, 12:45am UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/10 "2026-09-15T00:45:00Z")

</div>

I think you also modified the header file. Could you send it?  
I suggest you, that modify the file little by little. For instance, please try to modify for DNA-elastic and msc only. Otherwise it is hard to find the problem.

---

<div class="post-metadata">

**Author:** ![afish58](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@afish58](https://geant4-forum.web.cern.ch/u/afish58)\
**Post date:** [September 15, 2026, 1:21am UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/11 "2026-09-15T01:21:24Z")

</div>

Apologies, here is an edited version of the existing AuNP/src/PhysicsList.cc. This should be able to be compiled and ran with the existing example. The only change is to the proton processes and include files.

[PhysicsList.cc](https://geant4-forum.web.cern.ch/uploads/short-url/9FjSvlyXFj0uuVF0wPTCdfwBjEZ.cc) (16.7 KB)

Thank you once again!

---

<div class="post-metadata">

**Author:** ![dsakata](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/d/9fc29f/32.png) [@dsakata](https://geant4-forum.web.cern.ch/u/dsakata)\
**Post date:** [September 15, 2026, 3:21am UTC](https://geant4-forum.web.cern.ch/t/region-specific-dna-physics-for-protons/15353/12 "2026-09-15T03:21:03Z")

</div>

I have quickly checked, and it looks fine.  
If you face the additional problem on it, please let us know.  
Thank you!
