Message: Re: StepLimiter with predefined physicslist? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: StepLimiter with predefined physicslist? 

Forum: Physics List
Re: Question StepLimiter with predefined physicslist? (Robert Slaughter)
Date: 29 Apr, 2008
From: Vladimir IVANTCHENKO <vnivanch@mail.cern.ch>

On Tue, 29 Apr 2008, Robert Slaughter wrote:

> *** Discussion title: Physics List
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/phys-list/476"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> I am running a simulation off the predefined QBBC physics list.  
> Is there a way to perform a steplimiter as in example N02 for a 
> physics list that is not user defined? If so, how? Thank you for 
> the time it is very appreciated!   
> 
>

Hello,

Any of predefine Physics Lists allows extentions. For example,

QBBC* qbbc = new QBBC();
qbbc->RegisterPhysics( new MyComponent());

here MyComponent should inherit from G4VPhysicsConstructor. It is a way 
how StepLimiter can be added. 

VI

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

 Add Message Add Message
to: "Re: StepLimiter with predefined physicslist?"

 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 ]