Message: Re: Electrons misteriously killed Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Electrons misteriously killed  

Forum: Fields: Magnetic and Otherwise
Re: Question Electrons misteriously killed (Lafont Fabien)
Re: Question Re: Electrons misteriously killed (Lafont Fabien)
Re: None Re: Electrons misteriously killed (John Apostolakis)
Re: None Re: Electrons misteriously killed (Lafont Fabien)
Date: 16 Apr, 2014
From: John Apostolakis <John Apostolakis>

Glad to hear that my suggestions helped. 

There are other ways to get a pointer to the Transportation process - but your solution is the simplest and most effective for simple programs.

In case you are not getting adequate performance, you can try the different steppers I mentioned in my first response.

John Apostolakis,  PH Department, CERN

On Apr 16, 2014, at 3:51 PM, Lafont Fabien wrote:

> *** Discussion title: Fields: Magnetic and Otherwise
> Hi John,
> You were perfectly right. In my answer to Peter I said it did not seem
> to change anything but the problem came from the way I invoked the
> methods was wrong...
> As it is not possible, as far as I know, to return the G4Transportation
> process, the methods (SetThresholdWarningEnergy and so on) have to be
> called in the AddTransportation() method in ConstructProcess() method.
> In my case, I have prefered to write a new method
> AddTransportation(G4double wE, G4double iE, G4 int trials) similar to
> standard AddTransportation() one in which I invoke the three methods
> previously mentionned. And it finally works if I set an "important
> energy threshold" low enough.
> Thanks a lot again for having solved my problem !
> Fabien
> -------------------------------------------------------------
> Visit this GEANT4 at message (to reply or unsubscribe) at: 

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

1 Question: Re: Electrons misteriously killed   (Gumplinger Peter - 16 Apr, 2014)
(_ None: Re: Electrons misteriously killed   (John Apostolakis - 17 Apr, 2014)
 Add Message Add Message
to: "Re: Electrons misteriously killed "

 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 ]