Message: Re: possible to change defaultCutValue in a run ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: possible to change defaultCutValue in a run ? 

Forum: Physics List
Re: None possible to change defaultCutValue in a run ? (Mine)
Date: 10 Apr, 2003
From: michel maire <michel maire>

User Mine wrote:
>> I use novice example 03.
>> defaultCutValue can be changed in ExN03PhysicsList and then 
  the program must be recompiled.

  No. defaultCutValue is a data member of G4VUserPhysicsList which can
  be changed via the command /run/particle/setCut

>> I tried to do it by writing a ExN03PhysicsMessenger. 
>> It works: I print the new value of defaultCutValue just before SetCutValue (defaultCutValue, "gamma") 
>> but the DumpCutValueTable output is not affected. 
>> Is my method correct ?

Yes. But make a /run/initialize before dumping the table

>> 

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

 Add Message Add Message
to: "Re: possible to change defaultCutValue in a run ?"

 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 ]