|Message: Potential G4 bug!? Optical Photon not getting stopped||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, I am running a similar G4 project as the underground_physics example. That means a a detector with three metal vacuum cans one in the other. Inside a LXe volume surrounded by teflon and three 1 inch^2 PMTs on top. In order to perform light collection efficiency (LCE) simulations for that detector, I have defined the photo cathodes of the PMTs as SDs. I defined the optical properties like reflectivity etc. for all materials and switch on the scintillation effect for the LXe. In principle it is working now, i.e. in an interactive session I've seen a large number of scint-photons are produced and tracked through the detector, bouncing off the teflon walls etc. As data structure I am using a ROOT TTree. All seems to be working fine in an interactive session as well as for a test run with a small number of events, started from a point source below the bottom of the innermost can. Now after these tests being successful, I started a run of 1 million events (reduction factor about 1000, i.e. 1M events started => ~1k events create a signal in the detector) I run into a problem after >300k events. The process appears to continue running (still using >80% CPU), but no more events are processed and no additional data is written to file. The ROOT file that was created, indicates that until the problem occured everthing was doing fine. The tree is filled with reasonable energies and "No of PMT hit" values and so on. I have tried running it on our Mac G5 Xserve (OSX 10.4, Geant4.7.1, gcc4) as well my Linux64 notebook (AMD64 3200+, Debian Linux64, Geant4.8.0, gcc4.0.3), but I am running into the same problem on both machines. Looking a bit more closely into that matter, i.e. saving the RndmSeeds and re-running that one event with max. verbosity indicates that out the thousands of optical photons created, there is one "going nuts" :) in the detector. That means it is bouncing around for eternity (>3 million steps, tracklength > 7 KILOMETER!!!, until I stopped the run). I have no idea what is going on! Could that be a Geant4 bug??? I have created a tar-ball of my project, that can be downloaded here: www.phys.ufl.edu/~orboeck/UFXe_LCE_033006.tgz Untaring this file will create a folder UFXE_2. In there is a macro "particle_source.mac" that runs the simulation the way I did. (UFXe particle_source.mac test.root) and the "currentEvent.rndm" contains a set of RndmSeeds that should reproduce the problem as described above. Any advice or help offered is highly appreciated. Thanks! Greets Joerg
|Inline Depth:||Outline Depth:||Add message:|