Message: Problem with physics lists Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problem with physics lists 

Keywords: physics problem hadron
Forum: Physics List
Date: 31 Jan, 2007
From: Justin Dingley <>

Hello all,

I am using a slightly modified version of the extended example "Radioactive decay" from geant 4.8.1p01 
and experiencing problems with the hadron physics. The file was only changed to include LHEP_PRECO_HP:

#include "HadronPhysicsLHEP_PRECO_HP.hh"


void exrdmPhysicsList::SelectPhysicsList(const G4String& name)
  if (verboseLevel>1) {
    G4cout << "exrdmPhysicsList::SelectPhysicsList: <" << name << ">" << G4endl;
  // default  Had physics
  if (name == "Hadron") {
    if (hadPhysicsList) delete hadPhysicsList;
    hadPhysicsList = new exrdmPhysListHadron("hadron");
  } else if (name == "LHEP_PRECO_HP") {
    if (emPhysicsList) delete emPhysicsList;
    emPhysicsList = new exrdmPhysListEmStandard("std-h-em");
    if (hadPhysicsList) delete hadPhysicsList;
    hadPhysicsList = new HadronPhysicsLHEP_PRECO_HP("std-hadron");
The problem is that whenever I try to use any physics besides "Hadron", I get the following error:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208150336 (LWP 16642)]
0x081f4b18 in G4VEnergyLossProcess::GetMeanFreePath ()

The physics libraries have been built, so I'm not really sure what the problem is. Any help would be greatly appreciated.


Justin Dingley
Renesselaer Polytechnic
Nuclear Engineering

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

1 None: RE: Problem with physics lists   (Vladimir Ivanchenko - 31 Jan, 2007)
 Add Message Add Message
to: "Problem with physics lists"

 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 ]