Message: Re: Quick question :turning off particle decays in Example N02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Quick question :turning off particle decays in Example N02 

Keywords: turn off particle decays
Forum: Particles
Re: Question Quick question :turning off particle decays in Example N02 (Simon Holmes)
Date: 19 Mar, 2003
From: Makoto Asai <Makoto Asai>

You can invoke SetPDGStable(G4bool) method of individual
particle. For example, if you want to disable decay of mu-,

  G4MuonMinus::MuonMinusDefinition()->SetPDGStable(true);

Alternatively, you can use UI commands

  /particle/select mu-
  /particle/property/stable true

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

 Add Message Add Message
to: "Re: Quick question :turning off particle decays in Example N02"

 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 ]