|Message: Re: Physics processes and appearance of primary photons||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)|
Dear Sourav, One simple way to see whether particles are primary or secondaries is to use the 'verbose' capabilities of Geant4. So long as this is a frequent occurrence, you could use /tracking/verbose 2 to enable the printing of the secondaries in the step in which they are generated. I would suggest to use also a simple way to double check your input - e.g. printing all the primaries at the start of the step using a cout in your primary generator action. The more robust way to check whether a secondary is created with an incorrect parent is to create a G4VUserStackingAction. Please look in the Geant4 documentation regarding how to do this. It allows you to filter (or simply check) the secondaries which are created by each track, before they are handed back to the Geant4 kernel for further simulation. Best regards, John =================================================== John Apostolakis, PH Department, CERN > On 27 Mar 2015, at 13:41, Sourav Tarafdar <firstname.lastname@example.org> wrote: > > > *** Discussion title: Physics List > > Dear experts, > > Recently I noticed appearance of primary photons while running Geant4 > for my defined geometry. My geometry consist of a long hollow cylinder > filled with vacuum. The hollow part of the cylinder is filled with > uniform magnetic field in Y direction. Then I transported nuclear > fragments (including protons and neutrons) from Heavy Ion collisions. I > used standalone generator for generating these to be transported nuclear > fragments. While looking at the output of Geant4 the Parent ID of these > nuclear fragments is assigned "0" which is what I expect. However the > output of Geant4 also shows photons with Parent ID as "0" though I > *absolutely did not* transport any photons through my Geant4 geometry. I > used "FTFP_BERT" as physics process while running Geant4. The photons > seems to appear in the magnetic field region. Any idea what could be the > reason of appearance of primary photons ? > > Further is there any way of dumping out what kind of processes are > involved in production of secondaries in Geant4 ? Looking at > https://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch05.html > it seems that there is a way in "G4StepPoint" but somehow I did not > manage to figure out how to do it. If anyone can point to be a working > example it will be really helpful. > > Thanks -Sourav > > ------------------------------------------------------------- > Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: > http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list/877.html