Message: Aborting execution while using G4WilsonAbrasionModel in physicslist.cc Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Aborting execution while using G4WilsonAbrasionModel in physicslist.cc 

Forum: Physics List
Date: 30 Nov, 2011
From: navid hosseini <navid hosseini>

Dear experts,I am accelerating carbon ion to my ECC detector and I want to use the G4WilsonAbrasionModel in my physicsList.cc in ConstructHadronic() part like below:

if (particleName == "GenericIon") {

      theGenericIonInelasticProcess = new G4HadronInelasticProcess
	("IonInelastic", G4GenericIon::GenericIon());

      G4WilsonAbrasionModel* AbrModel = new G4WilsonAbrasionModel();

      theGenericIonInelasticProcess->RegisterMe(AbrModel);
      theGenericIonInelasticProcess->AddDataSet(theTripathiCrossSection);
      theGenericIonInelasticProcess->AddDataSet(theShenCrossSection);

      pmanager->AddDiscreteProcess(theGenericIonInelasticProcess);

    }

I can easily run the code and there is no problem till event number 37,
 I have this message  

G4EnergyRangeManager:GetHadronicInteraction: counter=1, Ek=28.6513, Material = Water, Element = Oxygen *0* low=70, high=10100 In src/G4EnergyRangeManager.cc, line 127: ===> GetHadronicInteraction: No Model found Target element Oxygen Z= 8 A= 16 Unrecoverable error in the method ChooseHadronicInteraction of IonInelastic TrackID= 1 ParentID= 0 C12[0.0] Ekin(GeV)= 0.343815; direction= (0.889098,-0.0940972,0.44794) Position(mm)= (-74.0236,-1.73492,7.91057); material Water PhysicalVolume <Water>

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

*** G4Exception: Aborting execution *** Aborted

how can I solve this error?

thanks alot

sincerely

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

1 Idea: Re: Aborting execution while using G4WilsonAbrasionModel in physicslist.cc   (Vladimir Ivanchenko - 19 Dec, 2011)
 Add Message Add Message
to: "Aborting execution while using G4WilsonAbrasionModel in physicslist.cc"

 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 ]