Message: QGSP_BIC_AllHP class problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question QGSP_BIC_AllHP class problem 

Forum: Installation and Configuration
Date: 22 Dec, 2014
From: lalageh <lalageh>

Dear Geant experts,

I have installed Geant4.10.01 and tried to run my program using new classes: G4HadronPhysicsQGSP_BIC_AllHP and G4HadronElasticPhysicsPHP. Here is the code in my physicslist:

    AddPhysicsList("emstandard_opt3");
    hadronPhys.push_back( new G4HadronPhysicsQGSP_BIC_AllHP());
    hadronPhys.push_back( new G4EmExtraPhysics());
    hadronPhys.push_back( new G4HadronElasticPhysicsPHP());
    hadronPhys.push_back( new G4StoppingPhysics());
    hadronPhys.push_back( new G4IonBinaryCascadePhysics());
    hadronPhys.push_back( new G4NeutronTrackingCut());

I do not get errors when compiling. But, I am getting the following error when running: I am not sure if there is a problem in the new class of Geant.10.01!

 *** Break *** segmentation violation
 Generating stack trace...
 0x0000000112b14b9c in G4ParticleHPChannelList::Register(G4ParticleHPFinalState*, G4String const&) (in libG4processes.dylib) + 444
 0x0000000112b3336d in G4ParticleHPInelastic::G4ParticleHPInelastic(G4ParticleDefinition*, char const*) (in libG4processes.dylib) + 2493
 0x000000011219af32 in G4NeutronPHPBuilder::Build(G4NeutronInelasticProcess*) (in libG4physicslists.dylib) + 66
 0x000000011218ea17 in G4NeutronBuilder::Build() (in libG4physicslists.dylib) + 55
 0x00000001121e7a00 in G4HadronPhysicsQGSP_BIC_AllHP::ConstructProcess() (in libG4physicslists.dylib) + 64
 0x000000011197e46a in HadrontherapyPhysicsList::ConstructProcess() (in libmain_Nov29.dylib) + 106
 0x00000001122d60df in G4VUserPhysicsList::Construct() (in libG4run.dylib) + 271
 0x00000001122d420f in G4RunManagerKernel::InitializePhysics() (in libG4run.dylib) + 239
 0x00000001122c5ef9 in G4RunManager::InitializePhysics() (in libG4run.dylib) + 25
 0x00000001122c5cf1 in G4RunManager::Initialize() (in libG4run.dylib) + 65
 0x00000001122de792 in G4RunMessenger::SetNewValue(G4UIcommand*, G4String) (in libG4run.dylib) + 2578
 0x0000000113dc7993 in G4UIcommand::DoIt(G4String) (in libG4intercoms.dylib) + 2995
 0x0000000113de0963 in G4UImanager::ApplyCommand(char const*) (in libG4intercoms.dylib) + 1987
 0x0000000113dbfbf0 in G4UIbatch::ExecCommand(G4String const&) (in libG4intercoms.dylib) + 32
 0x0000000113dbff28 in G4UIbatch::SessionStart() (in libG4intercoms.dylib) + 152
 0x0000000113dddb79 in G4UImanager::ExecuteMacroFile(char const*) (in libG4intercoms.dylib) + 57
 0x0000000113dd9b52 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) (in libG4intercoms.dylib) + 130
 0x0000000113dc7993 in G4UIcommand::DoIt(G4String) (in libG4intercoms.dylib) + 2995
 0x0000000113de0963 in G4UImanager::ApplyCommand(char const*) (in libG4intercoms.dylib) + 1987
 0x000000010e9923e1 in main (in main_Nov29) + 1809
 0x00007fff895c95fd in start (in libdyld.dylib) + 1
Please help me
Thank you

 Add Message Add Message
to: "QGSP_BIC_AllHP class problem"

 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 ]