|Message: no hits in Sensitive detector with G4VReplica||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)|
I'm trying to create a sensitive detector that that has a 2D pixellated geometry. First I use G4VReplica to create rows (like a strip array) then I attempt to make replica's within these rows to form the pixels.
As far as I know, replicas within replicas should be fine but when I run the simulation there are no hits present in the SD. As far as i can tell this is because the ProcessHits method is never called which I think means no particles cross the logical volume?
In the visualisation, the geometry looks fine and everything compiles and runs correctly with tracks going through the detector. If I run with no pixels enables ie just the rows like a 1D strip array then everything is fine! So there is some problem with the additional layer of replicas but I cannot work out what it is
I have attempted to run:
To check that there are no overlapping volumes, the first executes correctly and reports no errors, the second doesn't seem to work, here is the output:
G4PhysicalVolumeModel::Validate(): A volume of the same name and copy number ("World", copy 0) still exists and is being used. But it is not the same volume you originally specified in /vis/scene/add/. Running geometry overlaps check... Checking overlaps for volume Phantom_1 ... OK! Checking overlaps for volume DeviceUnderTest_pix1 ... OK! Checking overlaps for volume DeviceUnderTest_pix2 ... OK! Geometry overlaps check completed ! ***** COMMAND NOT FOUND </geometry/test/recursive_test> *****
***** Batch is interrupted!! *****
Any help is greatly appreciated, I have attached my DetectorConstruction and SensitiveDetector classes.
Attachment: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/08/01/04.57-13169-DetectorConstruction.cc http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2016/08/01/04.57-31735-SensitiveDetector_pix.cc