Message: Reversing microdosimetry example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Reversing microdosimetry example 

Forum: DNA/Very Low Energy
Date: 08 Jul, 2016
From: <anne-catherine.heuskin@unamur.be>

Dear Geant4 Users,

I would like to adapt the microdosimetry example: instead of having standard physics in the world, and DNA in a region, I need to have DNA in the world and Livermore physics in a region.

However, when I try to set Livermore models for my region and deactivate DNA in this region, Livermore gets used everywhere.

Here is what I wrote for proton ionisation:

//For world

ph->RegisterProcess(new G4DNAIonisation("proton_G4DNAIonisation"), particle);

G4hIonisation* hIoni = new G4hIonisation(); hIoni->SetEmModel(new G4DummyModel(),1); hIoni->SetEmModel(new G4DummyModel(), 2); hIoni->SetStepFunction(0.2, 50 * um); ph->RegisterProcess(hIoni, particle);

//For region
mod = new G4DNARuddIonisationModel();
mod->SetActivationLowEnergyLimit(100 * MeV);
em_config->SetExtraEmModel("proton", "proton_G4DNAIonisation",
		mod, reg, 0.0, 0.5*MeV);

mod = new G4DNABornIonisationModel();
mod->SetActivationLowEnergyLimit(100 * MeV);
em_config->SetExtraEmModel("proton", "proton_G4DNAIonisation",
		mod, reg, 0.5*MeV, 100 * MeV);

mod = new G4BraggModel(); em_config->SetExtraEmModel("proton", "hIoni", mod, reg, 0.0, 2 * MeV, new G4IonFluctuations());

mod = new G4BetheBlochModel(); em_config->SetExtraEmModel("proton", "hIoni", mod, reg, 2 * MeV, 10 * TeV, new G4UniversalFluctuation());

I can't figure out why it's not working. Does someone have any idea? Thanks !

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Reversing microdosimetry example   (M. Hahn - 13 Jul, 2016)
(_ More: Re: Reversing microdosimetry example   (anne-catherine.heuskin@unamur.be - 13 Jul, 2016)
(_ None: Re: Reversing microdosimetry example   (M. Hahn - 13 Jul, 2016)
(_ More: Re: Reversing microdosimetry example   (anne-catherine.heuskin@unamur.be - 13 Jul, 2016)
1 None: Re: Reversing microdosimetry example   (M. Hahn - 13 Jul, 2016)
2 None: Re: Reversing microdosimetry example   (M. Hahn - 13 Jul, 2016)
1 More: Re: Reversing microdosimetry example   (anne-catherine.heuskin@unamur.be - 14 Jul, 2016)
... 2 Message(s)
 Add Message Add Message
to: "Reversing microdosimetry example"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews