|Message: hang-up with G4NeutronHPCaptureData||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
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
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!!
//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:||Outline Depth:||Add message:|