Message: Re: HadronElasticProcess Seg fault Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: HadronElasticProcess Seg fault 

Forum: Hadronic Processes
Re: None HadronElasticProcess Seg fault (Manoel Couder)
Re: None Re: HadronElasticProcess Seg fault (Vladimir IVANTCHENKO )
Re: None Re: HadronElasticProcess Seg fault (Manoel Couder)
Re: None Re: HadronElasticProcess Seg fault (Vladimir IVANTCHENKO )
Date: 13 Nov, 2006
From: N.P.M. Brantjes <N.P.M. Brantjes>

I did seem to run into a similar problem myself. After using a debugger, we found out that the problem was caused by not instantiating all the different particles that are associated with the interactions we used. In particular, one has to be sure also to instantiate the particles you are not interested in, but that can play a role in your interactions.

    G4BaryonConstructor p;
    p.ConstructParticle();

Will make sure all the available baryons are instantiated. Similar tricks are available for leptons, mesons etc. I find it generally usefull to be a bit on the safe site, and to instantiate just about everything.

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

 Add Message Add Message
to: "Re: HadronElasticProcess Seg fault"

 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 ]