Message: hang-up with G4NeutronHPCaptureData Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question hang-up with G4NeutronHPCaptureData 

Forum: Hadronic Processes
Date: 04 Mar, 2009
From: Gregor Simmer <Gregor Simmer>

Hi, There:

I'm simulating a Voxelphantom and have serious trouble with Hadronic Processes. Whenever I shoot protons with Energies above 80 MeV onto my Voxelphantom the run-process doesn't continue after a having calculated a few thousand Events (sometimes earlier, sometimes later).

Running in Debug-Modus the Backtrace-Command tells me that there is a

SIGINT Interupt

and that the G4VDiscreteProcess is waiting for an interaction length which it should receive out of the G4NeutronHPCaptureData library!!

There is no error sign but the calculation seems to go into an infinite-loop.

It took me several days/weeks to find this problem because as you might know, protons in this energy-range need a lot of calculation-time. But I don't know how to solve it. My physics list seems to be okay. Beyond I post my code for the NeutronHPCapture Process.

Please help me as my thesis is heading to a deadline and I really need the proton-data!!

Yours, Gregor

//Capture
	G4HadronCaptureProcess* thenCapture = new G4HadronCaptureProcess();
	//HP-Einfang-Model bis 20 MeV
	G4NeutronHPCapture* thenHPCaptureModel = new G4NeutronHPCapture();
	thenHPCaptureModel->SetMaxEnergy(20.0*MeV);
	//Einfang-Model ab 20 MeV
	G4LCapture* thenCaptureModel = new G4LCapture();
	thenCaptureModel->SetMinEnergy(19.0*MeV);
	//zugehoerige Datensaetze
	G4NeutronHPCaptureData* theNeutronCaptureData = new G4NeutronHPCaptureData();
	thenCapture->AddDataSet(theNeutronCaptureData);
	//Registrierung
	thenCapture->RegisterMe(thenCaptureModel);
	thenCapture->RegisterMe(thenHPCaptureModel);
	//Zum Prozessmanager
	pmanager->AddDiscreteProcess(thenCapture);

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

1 None: Re: hang-up with G4NeutronHPCaptureData   (Koi, Tatsumi - 05 Mar, 2009)
2 None: Re: hang-up with G4NeutronHPCaptureData   (Koi, Tatsumi - 06 Mar, 2009)
1 More: Re: hang-up with G4NeutronHPCaptureData   (Gregor Simmer - 08 Mar, 2009)
(_ Note: Re: hang-up with G4NeutronHPCaptureData   (Gregor Simmer - 10 Mar, 2009)
 Add Message Add Message
to: "hang-up with G4NeutronHPCaptureData"

 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 ]