|Message: Issue with Pythia8 tracks and PrimaryVertex generation||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 Geant4 Experts,
I want to generate pp collision events in Pythia8 and then import them in G4. This has been done using the following Geant4 examples:
So, I manage to create a new interface for Pythia8 which use HepMC event class with the help of the example 41 of Pythia8.1, as was explained on one of threads on this forum. But once I tried to use this events in my Geant4 experimental setup I do not see any tracks, in addition there are no response from my SensitiveDetectors. If I will use just HepMC and Pythia6 interfaces as in the HepMCEx01 and HepMCEx02 everything would be fine. What I'm doing wrong?
After playing around with these examples I noticed that SetParticlePosition(G4ThreeVector(x,y,z)) option has no affect on the generation of the PrimaryVertex coordinates, which looks weird. For instance, events for HepMC and Pythia6 examples always generated at (0,0,0) with respect to the world coordinates space. So, I dived a bit more into Geant4 examples and dig out this tutorial:
HEPEvt->SetParticlePosition(G4ThreeVector(x,y,z)); makes affect!
The question arises: What should be adjusted in the HepMCEx01 and HepMCEx02 examples in order to change the coordinates of the PrimaryVertex? Because, currently I have come just to ad hoc solution of this issue, one may shift the whole experimental setup with respect to (0,0,0) along the beam axis(z-axis), but right now I do not know is it an appropriate thing to do.
Thanks in advance, Max