Message: Re: RadioactiveDecay and grdm Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: RadioactiveDecay and grdm 

Forum: Particles
Re: Question RadioactiveDecay and grdm (Clare Huang)
Re: Feedback Re: RadioactiveDecay and grdm (Gumplinger Peter)
Date: 19 Jan, 2012
From: Clare Huang <Clare Huang>

Hi Peter,

thanks for the information. The lxr website IS very useful. sorry that my question was not clear. I think I was trying to use grdm commands with the example code geant4xxxx/examples/extended/runAndEvent/RE02 with geant4.9.4.p02. When I run the macro using grdm commands, the grdm commands were not recognized. After lots of trials and errors, grdm commands were recognized via UI commands by doing the following:

in the file RE02PhysicsList.cc, add the code shown

RE02PhysicsList::RE02PhysicsList(): G4ModularPhysics() {

. . . RegisterPhysics(new G4DecayPhysics); RegisterPhysics(new G4RadioactiveDecayPhysics);

}

once these lines are added in RE02PhysicsList.cc, grdm commands are recognized and function properly.

Not sure if it's correct, but it works.

let me know if you have any thought. thanks a lot again!

best regards, Clare

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

1 Feedback: Re: RadioactiveDecay and grdm   (Gumplinger Peter - 19 Jan, 2012)
(_ Question: Re: RadioactiveDecay and grdm   (ebrahim - 19 Jul, 2018)
 Add Message Add Message
to: "Re: RadioactiveDecay and grdm"

 Subscribe Subscribe

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


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]