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

Feedback Re: RadioactiveDecay and grdm 

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

Hi Clare,

I agree, coding:

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

is a more 'modern' way of adding physics to your PhysicsList than what is done in:

/examples/extended/radioactivedecay/rdecay02/src/exrdmPhysicsList.cc

In G4.9.5 the example to follow would be:

http://www-geant4.kek.jp/lxr/source/examples/basic/B3/src/B3PhysicsList.cc

The reason, the grdm commands work is because the constructor of the G4VRestDiscreteProcess G4RadioactiveDecay (through the G4VPhysicsConstructor G4RadioactiveDecayPhysics) also constructs the G4UImessenger G4RadioactiveDecaymessenger.

Best regards, Peter

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

1 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 ]