Message: No Model Found Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None No Model Found 

Keywords: No Model found for Hadronic Interaction using G4EnergyRangeManager
Forum: Hadronic Processes
Re: Question No Model found for Hadronic Interaction using G4EnergyRangeManager (Stephanie Hickford)
Date: 09 Feb, 2007
From: Ryan Romero <ryan3523@safe-mail.net>

HI. I'm running Geant4.8.1 and I'm trying to set up hadronic processes for particles having
energies between .1 and 600 GeV. I occasionally get the following error when I'm running a shower
of several thousand protons.
------------------------------------------------------
G4EnergyRangeManager:GetHadronicInteraction: counter=1, Ek=24.565401, Material = Pure Aluminum, Element = Aluminum
*0* low=0, high=20
In src/G4EnergyRangeManager.cc, line 123:
===> GetHadronicInteraction: No Model found
Unrecoverable error for:
 - Particle energy[GeV] = 0.024565401
 - Material = Pure Aluminum
 - Particle type = neutron

*** G4Exception : 007
      issued by : G4HadronicProcess
ChooseHadronicInteraction failed.
*** Fatal Exception *** core dump ***

*** G4Exception: Aborting execution *** Aborted -------------------------------------------------------------

It seems only neutrons generate this error. I have inelastic and elastic process set forhe a range which includes the energy mentioned above yet there's and error. When I take away upper and lower bounds it says models overlap and it doesn't like this. How can I correc this problem?

Here is my hadronic's list code for neutrons.

------------------------------------

//Elastic model and process for neutron G4HadronElasticProcess* thenElasticProcess= new G4HadronElasticProcess();

thenElasticProcess->AddDataSet(new G4NeutronHPElasticData);

G4LElastic* thenElasticModel=new G4LElastic();

thenElasticModel->SetMinEnergy(10.0*MeV);

G4NeutronHPElastic* theNeutronHPElasticModel=new G4NeutronHPElastic();

theNeutronHPElasticModel->SetMaxEnergy(600.0*GeV);

thenElasticProcess->RegisterMe(thenElasticModel);

thenElasticProcess->RegisterMe(theNeutronHPElasticModel);

//INelastic model and process for neutron

G4HadronInelasticProcess* NeutIneProc=new G4NeutronInelasticProcess();

NeutIneProc->AddDataSet(new G4NeutronHPInelasticData);

G4LENeutronInelastic * NeutInModel=new G4LENeutronInelastic();

NeutInModel->SetMinEnergy(0.0*MeV);

NeutInModel->SetMaxEnergy(550.0*GeV);

NeutIneProc->RegisterMe(NeutInModel);

pmanager-> AddDiscreteProcess(thenElasticProcess);

pmanager->AddDiscreteProcess(NeutIneProc);

pmanager->AddDiscreteProcess(HadCaptProc);

//pmanager->AddDiscreteProcess(neutronFission);

pmanager->AddProcess(new G4UserSpecialCuts(),-1,-1,2);

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

 Add Message Add Message
to: "No Model Found"

 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 ]