|Message: Tracking in a UnionSolid||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 users, Happy New 2014 Year! My problem is the following: I have an LH2 target which has a cylindrical form and end-cap part is a half-sphere. I implemented it using G4UnionSolid, and the connection part is shown in the first attachment. During simulation Z vertexes of generated particles "particleGun->SetParticlePosition(x, y, z)" are distributed all over the target length, whereas x and y are 0 (centre). The strange thing to me is that, it seems that particles which were produced inside the cylinder do interact inside the whole target volume, whereas particles (electrons and photons around 1-3 GeV) that are produced in the end-cap part doesn't interact at all with the target material. this is also illustrated in a first attachment, with two vertexes one is in the cylinder part of the target, and one can see points (yellow) where e- and gamma leave the volume of target, whereas particles that are produced inside the spherical part of the target, doesn't show any kind of interaction. The 2nd figure is also favour to this conclusion, where shown generated - reconstructed energy as a, function of z coordinate, where one can see a step-like drop at z=5.5 cm. Energy loss is not completely 0 for z>5.5 because I have another materials that particles pass through. Just in case, I also put the part of the code which creates and places the target G4Tubs *target_LH2_tube = new G4Tubs("target_LH2_tube", 0, target_LH2_radius, target_LH2_tube_length/2., 0, 360.*degree); G4Sphere *target_LH2_endcup = new G4Sphere("target_LH2_endcup", 0, target_LH2_radius, 0., 360.*degree, 0., 90.*degree); G4UnionSolid *target_LH2_solid = new G4UnionSolid("target_LH2_solid", target_LH2_tube, target_LH2_endcup, 0, G4ThreeVector(0, 0, 0.999*(target_LH2_tube_length/2.))); LH2_target_log = new G4LogicalVolume(target_LH2_solid, LH2_mat, "LH2_target_log"); LH2_target_phys = new G4PVPlacement(0, G4ThreeVector(0., 0., target_LH2_tube_center - 0.5*target_LH2_radius), LH2_target_log, "LH2_target_phys", Vac_scat_chamber_log, true, 0, true); Rafo Attachment: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/01/19.27-21647-Target_Endcup.gif http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/01/19.24-87135-dE_vz.gif
|Inline Depth:||Outline Depth:||Add message:|