|Message: Re: Negative Current Interaction Length with Photonuclear interaction, and other problems||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)|
> >Hello, > >There is little information to make a conclusion but too many things >changed in official processes/particles, so I am not suprised that it >crashes. > >Few obvious advices: > >1) Never modify official code of G4. If you need to change something - >make a copy of G4 class, rename it , introduce your changes and use in >your application.
OK, I've been copying the originals and changing them for a specific program, but I will move them to different names. If I make a new particle on the base of the muon plus will that cause any problems?
>2) Muon example has specific - all secondary particles are killed, because >it intends not for simulation of all processes but only to demonstrate >muon cross sections and energy loss. If one needs simulation of >secondaries, PHysicsList should be extended by including hadron processes.
This is actually good, because I was having trouble with too much memory use because of all the secondaries.
>3) Both ionisation models muIoni and hIoni are not adequate to monopole, >because monopole ionisation is different. However, if one defines mass and >change of heavy particle they have to work, if PhysicsList is written >correctly.
I've just been trying to model it to see how well it does work. If I make a new process based on hIoni then there shouldn't be any reason why it can't work at the same time as the MuPairProduction process I guess. My problem is that each process works fine by itself, but they don't work together. Also I've found that the photonuclear process gives negative interaction length for my heavy particle.
I'll just try renaming and correcting everything and see if that fixes my problems.
Thanks a lot, Giles Reid
|Inline Depth:||Outline Depth:||Add message:|