Message: Macro command for changing process order Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Macro command for changing process order 

Forum: Physics List
Date: 15 Sep, 2011
From: Neil Fazel <Neil Fazel>

Is there a way to change physics process ordering inside a macro file, without having to recompile the code?

For example, the novice example 3 uses ordering 1, 2 , 3 for multiple scatting, ionization, and Bremsstrahlung:

      pmanager->AddProcess(new G4eMultipleScattering,-1, 1, 1);
      pmanager->AddProcess(new G4eIonisation,        -1, 2, 2);
      pmanager->AddProcess(new G4eBremsstrahlung,    -1, 3, 3);      

and I would like to change that inside a .mac file. I'd appreciate any info.

Thanks, Neil

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

1 Idea: Re: Macro command for changing process order   (Vladimir Ivanchenko - 19 Sep, 2011)
 Add Message Add Message
to: "Macro command for changing process order"

 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 ]